www-servers/apache-2.2.8 doesn't compile with any of APACHE2_MPMS. I tried prefork, itk and worker on a fresh Gentoo install. In my /etc/make.conf : APACHE2_MPMS="prefork" Making all in srclib make[1]: Entering directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/srclib' make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/srclib' Making all in os make[1]: Entering directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/os' make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/os' Making all in server make[1]: Entering directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/server' Making all in mpm make[2]: Entering directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/server/mpm' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/server/mpm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/server' make: *** [all-recursive] Error 1 * * ERROR: www-servers/apache-2.2.8 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1383: Called apache-2_src_compile * apache-2.eclass, line 447: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed Reproducible: Always
Reopen with: - full emerge.log - config.log - emerge --info - emerge -pv apache
Created attachment 142258 [details] config.log
Created attachment 142259 [details] emerge.log
Portage 2.1.3.19 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo-r4dedibox_r6_final i686) ================================================================= System uname: 2.6.18-gentoo-r4dedibox_r6_final i686 VIA Esther processor 2000MHz Timestamp of tree: Wed, 30 Jan 2008 22:16:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org http://gentoo.modulix.net/gentoo/ " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="apache2 bcmath bitmap-fonts calendar caps cddb cli cracklib crypt dri exif flash fortran ftp gd gdbm gpm hardened hardenedphp hash iconv imap ipv6 isdnlog latin1 maildir mcal memlimit midi mudflap mysql ncurses nls nptl nptlonly openmp openssh pam pcntl pcre pdf pdo ppds pppd readline reflection sasl session simplexml sockets spamassassin spl ssl tcpd tidy tiff tokenizer truetype-fonts type1-fonts unicodex86 xmlreader xmlrpc xmlwriter zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vgavia vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
# emerge -pv apache These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] www-servers/apache-2.2.8 USE="ssl -debug -doc -ldap (-selinux) -sni -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -version" APACHE2_MPMS="prefork* -event -itk -peruser -worker" 0 kB
Comment on attachment 142259 [details] emerge.log Not this one - The emerge.log from apache :)
I'm sorry for my mistakes and to say that : i don't know where i can find that emerge.log file :(
In /var/log/portage unless you've redefined PORT_LOGDIR.
Created attachment 142272 [details] emerge.log That was the PORT_LOGDIR which was undefined. thank you, i hope it's correct this time. sorry again.
Reopen.
does it work with -j1?
(In reply to comment #11) > does it work with -j1? > no, it doesn't help.
I tried with a newer 2.6.23 kernel and I have the same problem.
this is certainly not a kernel problem, but i'm unable to reproduce this ...
(In reply to comment #14) > this is certainly not a kernel problem, but i'm unable to reproduce this ... > Hello all, I'm encountering the same problem, the emerge stops while configuring apache (2.2.6, 2.2.8, or 2.2.8-r1). I have testes compilation from apache website and it worked out well. In emerge configuration, there is this option to the configure script : --enable-layout=Gentoo So the problem is Gentoo like. The default apache make processe does that : > Making all in server > make[1]: Entering directory `/root/manualinstalls/httpd-2.2.8/server' > Making all in mpm > make[2]: Entering directory `/root/manualinstalls/httpd-2.2.8/server/mpm' > Making all in worker > make[3]: Entering directory `/root/manualinstalls/httpd-2.2.8/server/mpm/worker' > make[4]: Entering directory `/root/manualinstalls/httpd-2.2.8/server/mpm/worker' while gentoo make process does that : > Making all in server > make[1]: Entering directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/server' > Making all in mpm > make[2]: Entering directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/server/mpm' > make[2]: *** No rule to make target `all'. Stop. > make[2]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/server/mpm' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/server' > make: *** [all-recursive] Error 1 So there is no Makefile in '/var/tmp/portage/www-servers/apache-2.2.8/work/httpd-2.2.8/server/mpm' The configuration process didn't do the right job. Well I don't know much more. Good luck.
i doubt this is a config-layout problem, since it does not change the way configure generates makefiles ... config.layout contains just installation paths ... anyway, still works here on all machines *shrug*
Same problem on a PPC system. Any news about this problem? with the -r2 release I have the same problem.
/usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -O2 -march=i686 -pipe -Wl,--no-as-needed -L/usr/lib -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lssl -lcrypto -Wl,--no-as-needed -o libos.la -static unixd.lo i686-pc-linux-gnu-ar: unixd.o: No such file or directory make[3]: *** [libos.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8-r3/work/httpd-2.2.8/os/unix' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8-r3/work/httpd-2.2.8/os/unix' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8-r3/work/httpd-2.2.8/os' make: *** [all-recursive] Error 1
sorry, ignore my previous message, after fixing /etc/env.d/02locals apache compiled for me. Apparently libtool did not like my missing locals.
I had a similar problem to this, and it took me quite a while to unravel the problem. I installed a Gentoo server and the CHOST was something like i486-pc-linux-gnu, and I changed this a long time ago to i686-pc-linux-gnu and recompiled what I thought to be necessary. To cut a long story short, I found it necessary to re-emerge dev-libs/apr-1.2.11 and this fixed my problem. For some weird reason the script looks at the CHOST used to compile APR for subsequent compiles of the apache package, rather than using the current CHOST. This might be a complete red-herring, but it worked for me and it might help someone else out there desperately clutching at straws trying to install apache!
Hi all, I have the same problem with apache-2.2.9. Have you found any working solution, I have tried to re-emerge apr / apr-util, then even an emerge -e system but still this error at the end of the ./configure Greg
Same problem again with apache-2.2.9-r1. I tried to recompile apr (and apr-util) as suggested but it didn't help.
same error for me as well - apache-2.2.29-r1 failed. re-emerging apr and apr-util did not help, as well as trying libtool.
please reopen if this is still an issue with 2.2.14-r1