I cannot install mod_php. When I try to emerge it I get the following error: ************************* Build complete. (It is safe to ignore warnings about tempnam and tmpnam). >>> Test phase [not enabled]: dev-php/mod_php-5.0.3-r2 >>> Install mod_php-5.0.3-r2 into /usr/src/portage/mod_php-5.0.3-r2/image/ category dev-php Installing PHP SAPI module: apache2handler /usr/lib/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-0/build/libtool' libphp5.la /usr/src/portage/mod_php-5.0.3-r2/image//usr/lib/apache2/modules echo chmod 755 /usr/src/portage/mod_php-5.0.3-r2/image//usr/lib/apache2/modules/libphp5.so chmod: cannot access `/usr/src/portage/mod_php-5.0.3-r2/image//usr/lib/apache2/modules/libphp5.so': No such file or directory apxs:Error: Command failed with rc=65536 . make: *** [install-sapi] Error 1 !!! ERROR: dev-php/mod_php-5.0.3-r2 failed. !!! Function php5-sapi_src_install, Line 444, Exitcode 2 !!! install failed Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge dev-php/mod_php Actual Results: I receieve the error noted above. Expected Results: It should have installed mod_php as normal. Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc3 i686) ================================================================= System uname: 2.6.12-rc3 i686 AMD Athlon(tm) processor Gentoo Base System version 1.6.11 ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.3 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe -funit-at-a-time" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe -funit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks keepwork sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/ http://distfiles.gentoo.org/" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/src" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aalib alsa apache2 bash-completion bcmath berkdb bitmap-fonts bzip2 bzlib chroot cjk crypt ctype cups curl curlwrappers dbx encode exif fbcon ffmpeg flac font-server foomaticdb ftp gd gdbm ggi gif gimpprint gnutls gpm graphviz gtk gtk2 gtkhtml hal iconv imap imlib innodb ipv6 javascript jbig jpeg lcms libcaca mad md5sum mhash mikmod mime mmap mmx mmxext mng mpeg mpm-worker mysql ncurses nls nptl nptlonly oggvorbis opengl openntpd pam parse-clocks pcmcia pcre perl php physfs png pnp posix ppds python readline rtc sdk sdl session sftplogging silc simplexml slang sockets speex spell sqlite ssl svg svga symlink sysvipc tabs tcpd theora threads tidy tiff tokenizer toolbar truetype truetype-fonts type1-fonts unicode vim-pager vorbis wmf xchatdccserver xchattext xforms xgetdefault xml xml2 xpm xprint xsl xv xvid xvmc zlib userland_GNU kernel_linux libc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
try again with -imap in your useflags
Martin, I added "dev-php/mod_php -imap" to my /etc/portage/package.use file and it still does not work. :=( Thanks though.
What version of bash have you got installed ? `emerge -pv bash` will tell you.
I'm running bash 3.0-r11. I just synced today and saw 5.0.4 in the tree so I'll try that now.
mod_php 5.0.4 seems to work just fine. I'm going to mark this as RESOLVED/FIXED. Thanks all.