Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91072 - mod_php 5.0.3-r2 fails to merge (no libphp5.so)
Summary: mod_php 5.0.3-r2 fails to merge (no libphp5.so)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-01 10:47 UTC by Peter Gordon (RETIRED)
Modified: 2005-05-05 22:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gordon (RETIRED) gentoo-dev 2005-05-01 10:47:00 UTC
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
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2005-05-02 09:01:20 UTC
try again with -imap in your useflags
Comment 2 Peter Gordon (RETIRED) gentoo-dev 2005-05-02 18:55:43 UTC
Martin,

I added "dev-php/mod_php -imap" to my /etc/portage/package.use file and it still does not work. :=(

Thanks though. 
Comment 3 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-05-05 08:26:33 UTC
What version of bash have you got installed ?  `emerge -pv bash` will tell you.
Comment 4 Peter Gordon (RETIRED) gentoo-dev 2005-05-05 22:02:44 UTC
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.
Comment 5 Peter Gordon (RETIRED) gentoo-dev 2005-05-05 22:37:14 UTC
mod_php 5.0.4 seems to work just fine. I'm going to mark this as RESOLVED/FIXED. Thanks all.