Erreur installation Apache2 avec Macports

Le
Kevin Campion
Bonjour,

Je suis sous Léopard, j'ai installé :
- Macports 1.6.0 (http://www.macports.org/)
- Xcode 3.0 (gcc 4.0)

Il faut savoir que j'ai bien fait un "sudo port -d selfupdate" pour
avoir la dernière version de macports et mettre à jour les dépots.

Lorsque je fais un "# sudo port install apache2" j'ai une erreur de ce
type :

> Fetching apache2
> Attempting to fetch httpd-2.2.6.tar.bz2 from http://www.apache.org/dis=
t/httpd
> Verifying checksum(s) for apache2
> Extracting apache2
> Applying patches to apache2
> Configuring apache2
> Building apache2 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6" && make all " returned error 2
Command output: Making all in srclib
Making all in os
Making all in unix
/opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/
gcc-4.0 -I/opt/local/include -O2 -DDARWIN -
DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include -
I. -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/os/unix -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/server/mpm/prefork -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/modules/http -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/modules/filters -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/modules/proxy -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/include -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/modules/generators -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/modules/mappers -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/modules/database -I/opt/local/include/apr-1 -I/opt/
local/include -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/server -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/modules/proxy/../generators -I/opt/local/var/macports/
build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/modules/ssl -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2=
/
work/httpd-2.2.6/modules/dav/main -prefer-non-pic -static -c unixd.c
&& touch unixd.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[3]: *** [unixd.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.


D'après ce que l'on peut constater, c'est un problème de compilation.
Est-ce que la version de gcc peut y être pour quelque chose ?
La version d'apache déjà installée de Léopard ne rendrait elle pas l=
es
chose plus compliquées ?

Merci d'avance.

Kevin
Vidéos High-Tech et Jeu Vidéo
Téléchargements
Vos réponses
Gagnez chaque mois un abonnement Premium avec GNT : Inscrivez-vous !
Trier par : date / pertinence
BR
Le #3093891
On Jan 14, 1:19 am, Kevin Campion
Bonjour,

Je suis sous Léopard, j'ai installé :
- Macports 1.6.0 (http://www.macports.org/)
- Xcode 3.0 (gcc 4.0)

Il faut savoir que j'ai bien fait un "sudo port -d selfupdate" pour
avoir la dernière version de macports et mettre à jour les dépots.

Lorsque je fais un "# sudo port install apache2" j'ai une erreur de ce
type :
---------------------------------------------
---> Fetching apache2
---> Attempting to fetch httpd-2.2.6.tar.bz2 fromhttp://www.apache.org/di st/httpd
---> Verifying checksum(s) for apache2
---> Extracting apache2
---> Applying patches to apache2
---> Configuring apache2
---> Building apache2 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6" && make all " returned error 2
Command output: Making all in srclib
Making all in os
Making all in unix
/opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/
gcc-4.0 -I/opt/local/include -O2 -DDARWIN -
DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include -
I. -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/os/unix -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/server/mpm/prefork -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/modules/http -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/modules/filters -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/modules/proxy -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/include -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/modules/generators -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/modules/mappers -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/modules/database -I/opt/local/include/apr-1 -I/opt/
local/include -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/server -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/modules/proxy/../generators -I/opt/local/var/macports/
build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/modules/ssl -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apach e2/
work/httpd-2.2.6/modules/dav/main -prefer-non-pic -static -c unixd.c
&& touch unixd.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[3]: *** [unixd.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.
---------------------------------------------

D'après ce que l'on peut constater, c'est un problème de compilation.
Est-ce que la version de gcc peut y être pour quelque chose ?
La version d'apache déjà installée de Léopard ne rendrait elle pas les
chose plus compliquées ?

Merci d'avance.

Kevin


J'ai exactement le meme probleme. Mais c'est apres un install reussi,
suivi d'un uninstall et d'une tentative de reinstall.

Benjamin

BR
Le #3093881
I'm going to use English cause it's easier.

There is a workaround. Not sure what wasn't working (maybe getting the
wrong libtool or something).

The workaround is to cd to the directory (see below) and
#sudo make clean
#sudo ./configure
#sudo make all
#cd -
# sudo port etc.

Cheers!
Benjamin

_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2 /
work/httpd-2.2.6" && make all

On Jan 18, 9:53 pm, BR
On Jan 14, 1:19 am, Kevin Campion


Bonjour,

Je suis sous Léopard, j'ai installé :
- Macports 1.6.0 (http://www.macports.org/)
- Xcode 3.0 (gcc 4.0)

Il faut savoir que j'ai bien fait un "sudo port -d selfupdate" pour
avoir la dernière version de macports et mettre à jour les dépots.

Lorsque je fais un "# sudo port install apache2" j'ai une erreur de ce
type :
---------------------------------------------
---> Fetching apache2
---> Attempting to fetch httpd-2.2.6.tar.bz2 fromhttp://www.apache.org/ dist/httpd
---> Verifying checksum(s) for apache2
---> Extracting apache2
---> Applying patches to apache2
---> Configuring apache2
---> Building apache2 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6" && make all " returned error 2
Command output: Making all in srclib
Making all in os
Making all in unix
/opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/
gcc-4.0 -I/opt/local/include -O2 -DDARWIN -
DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include -
I. -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/os/unix -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/server/mpm/prefork -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/modules/http -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/modules/filters -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/modules/proxy -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/include -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/modules/generators -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/modules/mappers -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/modules/database -I/opt/local/include/apr-1 -I/opt/
local/include -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/server -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/modules/proxy/../generators -I/opt/local/var/macports/
build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/modules/ssl -I/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apa che2/
work/httpd-2.2.6/modules/dav/main -prefer-non-pic -static -c unixd.c
&& touch unixd.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[3]: *** [unixd.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.
---------------------------------------------

D'après ce que l'on peut constater, c'est un problème de compilation .
Est-ce que la version de gcc peut y être pour quelque chose ?
La version d'apache déjà installée de Léopard ne rendrait elle p as les
chose plus compliquées ?

Merci d'avance.

Kevin


J'ai exactement le meme probleme. Mais c'est apres un install reussi,
suivi d'un uninstall et d'une tentative de reinstall.

Benjamin



Publicité
Poster une réponse
Anonyme