View previous topic :: View next topic |
Author |
Message |
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Fri Nov 07, 2003 8:09 pm Post subject: Apache 2.0.48 does not load mod_php 4.3.3-r3 |
|
|
I want Apache 2.0.48 to load mod_php 4.3.3-r3 on my iBook 800 MHz. After I added "-D PHP4" to /etc/conf.d/apache2, Code: | /etc/init.d/apache2 start | does not work.
In my /var/log/apache2/error_log i get Code: | Syntax error on line 5 of /etc/apache2/conf/modules.d/70_mod_php.conf:
Cannot load /etc/apache2/extramodules/libphp4.so into server: /usr/lib/libmcal.s
o: R_PPC_REL24 relocation at 0x0d2de604 for symbol `^_' out of range |
I found 3 bug reports with the same error message:
https://bugs.gentoo.org/show_bug.cgi?id=21870
https://bugs.gentoo.org/show_bug.cgi?id=24125
https://bugs.gentoo.org/show_bug.cgi?id=24862
but neither contains a solution that works for me.
Since there are also 3 other forum threads
https://forums.gentoo.org/viewtopic.php?t=70409
https://forums.gentoo.org/viewtopic.php?t=69610
https://forums.gentoo.org/viewtopic.php?t=66034
with this error message (but without solution for me), i guess that this problem is quite common con PPC.
So if anyone has an Apache2 / mod_php combination running on PPC, please post your use flags, compiler flags and your Apache config files!
Here are mine, it would be great if anyone can help me!
Code: | bash-2.05b# emerge info
Portage 2.0.49-r15 (default-ppc-1.4, gcc-3.2.2, glibc-2.3.1-r4, 2.4.21-ppc-r2)
=================================================================
System uname: 2.4.21-ppc-r2 ppc
Gentoo Base System version 1.4.2.9
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=750 -fsigned-char"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=750 -fsigned-char"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.oregonstate.edu/ http://ibiblio.org/pub/linux/distribution/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="dvd mitshm cups foomaticdb gnome-libs gdbm berkdb arts guile sdl tcpd pam libwww ssl esd aalib alsa apache2 apm dga doc emacs encode gd gif gnome gphoto2 gpm gtk -imap imlib jack -java jpeg kde lcms mcal motif mozilla mpeg mule ncurses nls oggvorbis opengl oss pdflib perl plotutils png python qt quicktime radeon readline samba slang spell tetex tiff truetype usb wmf X xmms xv zlib ppc video_cards_radeon" |
/etc/init.d/apache2: Code: |
APACHE2_OPTS="-D PHP4"
|
_________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
|
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Mon Nov 10, 2003 11:33 am Post subject: |
|
|
I fixed the problem. The solution was to compile mod_php without the qt use flag. _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
|
lu_zero Developer
Joined: 05 Sep 2002 Posts: 49
|
Posted: Fri Jan 23, 2004 6:48 am Post subject: |
|
|
the solution is emerge glibc-2.3.2-r9
be sure to emerge gcc after or remove the headers generated by fixinclude
(grep the /usr/lib/gcc-lib/ dirs for fixinclude and remove the faulty headers)
I'll hopefully add an ebuild with a fix for that |
|
Back to top |
|
|
|