Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Erreur installation Apache2 avec Macports

2 réponses
Avatar
Kevin Campion
Bonjour,

Je suis sous L=E9opard, j'ai install=E9 :
- 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=E8re version de macports et mettre =E0 jour les d=E9pots.

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=3Dcompile /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=E8s ce que l'on peut constater, c'est un probl=E8me de compilation.
Est-ce que la version de gcc peut y =EAtre pour quelque chose ?
La version d'apache d=E9j=E0 install=E9e de L=E9opard ne rendrait elle pas l=
es
chose plus compliqu=E9es ?

Merci d'avance.

Kevin

2 réponses

Avatar
BR
On Jan 14, 1:19 am, Kevin Campion wrote:
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

Avatar
BR
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 wrote:
On Jan 14, 1:19 am, Kevin Campion wrote:



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