Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141098 - dev-lang/php seems to depend on apache, but does not require apache to be emerged
Summary: dev-lang/php seems to depend on apache, but does not require apache to be eme...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-19 17:51 UTC by rainer
Modified: 2006-07-20 07:27 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 rainer 2006-07-19 17:51:08 UTC
/usr/portage/eclass/apache-module.eclass: line 241: //usr/sbin/apxs2: No such file or directory
 * The module you are trying to install (php)
 * will only work with one of the following MPMs:
 *    event leader metuxmpm perchild threadpool worker
 * You do not currently have any of these MPMs installed.
 * Please re-install apache with the correct mpm-* USE flag set.

!!! ERROR: dev-lang/php-5.1.4-r4 failed.
Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  php-5.1.4-r4.ebuild, line 64:   Called apache-module_pkg_setup
  apache-module.eclass, line 370:   Called apache2_pkg_setup
  apache-module.eclass, line 253:   Called die

I have no Apache installed, and Apache is no getting emerged before php.

# emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r13 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://ftp.romnet.org/gentoo/ ftp://mirror.icis.pcz.pl/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aim alsa apache apache2 apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts blas bluetooth bzip2 cdparanoia cdr cli crypt cups curl curlwrappers dga dio directfb dlloader doc dri dts dvb dvd dvdr dvdread eds emacs emacs-w3 emboss emul-linux-x86 encode esd ethereal evo examples exif fastcgi fbcon ffmpeg fftw flac foomaticdb fortran ftp ggi gif ginac glut gnome gphoto2 gpm gstreamer gtk gtk2 gtk2html hal icq idn ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java javascript jikes jpeg jpeg2k kde kdeenablefinal lapack lcms ldap leim libedit libwww lirc lm_sensors lzw lzw-tiff mad madwifi mikmod mime mng mnogosearch mono mp3 mpeg mpi msn mule mysql mysqli nas ncurses nls nptl nsplugin nvidia ogg oggvorbis ole openal opengl osc oscar oss pam pcre pdf pdflib perl php plotutils png pppd python qt qt3 qt4 quicktime radius readline reflection samba scanner sdl session sockets socks5 spell spl ssl symlink szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts usb v4l vcd vhosts vorbis wifi xface xine xml xml2 xmlrpc xmms xorg xosd xpm xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-19 23:28:45 UTC
Moving want_apache below the (R)DEPENDs in php ebuilds seems to fix it here.
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2006-07-20 07:27:05 UTC
Yup, moving want_apache is the correct fix, and I just applied it to all the dev-lang/php ebuilds, so: fixed. :)
Best regards, CHTEKK.