Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106680 - New apache-1.3.33-r12 config layout doesn't supported by mod_php-4.4.0-r3
Summary: New apache-1.3.33-r12 config layout doesn't supported by mod_php-4.4.0-r3
Status: RESOLVED DUPLICATE of bug 106557
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-20 07:46 UTC by Pavel Shirov
Modified: 2005-09-20 08:12 UTC (History)
1 user (show)

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


Attachments
Proposed simple /etc/apache/modules.d/mod_php.conf (mod_php.conf,305 bytes, text/plain)
2005-09-20 07:55 UTC, Pavel Shirov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Shirov 2005-09-20 07:46:56 UTC
Latest stable mod_php doesn't auto configures for latest apache-1.3.33-r12 due 
to changed apache config layout.

storm ~ # ebuild /usr/portage/dev-php/mod_php/mod_php-4.4.0-r3.ebuild config
 * Due to some previous bloopers with PHP and slotting, you may have
 * multiple instances of mod_php installed. Please look at the autoclean
 * output at the end of the emerge and unmerge all but relevant
 * instances.
/usr/portage/dev-php/mod_php/mod_php-4.4.0-r3.ebuild: line 224: //usr/sbin/
apacheaddmod: No such file or directory

storm ~ # emerge -pv apache mod_php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-www/apache-1.3.33-r12  -apache2 -doc -lingerd -no-suexec 
+pam (-selinux) +ssl -static-modules 0 kB
[ebuild   R   ] dev-php/mod_php-4.4.0-r3  +X -apache2 +berkdb +crypt +curl -
debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm -gmp -
hardenedphp -imap -informix -ipv6 +java* +jpeg -kerberos -ldap -mcal -memlimit -
mssql +mysql +nls -oci8 -odbc +pam +png -postgres -snmp +spell +ssl +tiff 
+truetype +xml2 -yaz 0 kB

Reproducible: Always
Steps to Reproduce:
1. emerge =apache-1.3.33-r12 mod_php
2.
3.



Expected Results:  
mod_php ebuild correctly places correct conf file (with LoadModule apache 
directive) in /etc/apache/modules.d

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.
12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
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.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -
mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /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="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -
mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm arts avi bash-completion berkdb bitmap-fonts bzip2 cdr 
crypt cups curl dvd dvdr eds emboss encode fam foomaticdb fortran gd gdbm geoip 
gif gpm gstreamer gtk2 guile iconv icq imlib java jpeg kde kdexdeltas libg++ 
libwww mad mikmod mmx motif mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl 
oss pam pdflib perl php png python qt quicktime readline sdl slang spell sse ssl 
tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv 
xvid zlib linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-20 07:50:30 UTC

*** This bug has been marked as a duplicate of 106557 ***
Comment 2 Pavel Shirov 2005-09-20 07:55:43 UTC
Created attachment 68857 [details]
Proposed simple /etc/apache/modules.d/mod_php.conf

Modification to mod_php.conf to add LoadModule and DirectoryIndex apache
directives.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-09-20 08:01:40 UTC
(In reply to comment #2)
> Created an attachment (id=68857) [edit]
> Proposed simple /etc/apache/modules.d/mod_php.conf
> 
> Modification to mod_php.conf to add LoadModule and DirectoryIndex apache
> directives.

Uhm, you misunderstood the issue, it's missing /usr/sbin/apacheaddmod that
breaks the ebuild config phase (see the other bug). 
Comment 4 Pavel Shirov 2005-09-20 08:12:01 UTC
(In reply to comment #3)
> Uhm, you misunderstood the issue, it's missing /usr/sbin/apacheaddmod that
> breaks the ebuild config phase (see the other bug). 

Yes, thanks, I'm new to gentoo and portage system, but this worked for me as 
temporary hack-fix :P