Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26335 - Problem compiling mod_php-4.3.2-mod_php-4.3.2-r5 on several machines.
Summary: Problem compiling mod_php-4.3.2-mod_php-4.3.2-r5 on several machines.
Status: RESOLVED DUPLICATE of bug 23751
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-10 07:53 UTC by Mark Duckworth
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
Config.log from the php build (config.log,27.80 KB, text/plain)
2003-08-10 07:58 UTC, Mark Duckworth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Duckworth 2003-08-10 07:53:31 UTC
Every time I attempt to emerge mod_php-4.3.2 (any of them) I receive:
checking for fopencookie... yes
configure: error: can not run test program while cross compiling

!!! ERROR: dev-php/mod_php-4.3.2-r4 failed.
!!! Function econf, Line 320, Exitcode 1
!!! econf failed

Interesting is that on some of my machines I have a cross compiler but
definately NOT this one.  Anyway, the error was along the lines of "can't find
unix.h".  Okay so I find unix.h in the linux kernel sources and put it in the
include path, then it can't find varargs.h, then ieeefp.h, and the list goes on.
 Tried to solve but it just keeps bombing out.

Lastly, I'm attempting to build against apache2 but at this stage of the
configure script it doesn't seem to play a factor.

Reproducible: Always
Steps to Reproduce:
1.emerge mod_php
2.
3.

Actual Results:  
configure script dies

Expected Results:  
configure script does not die

root@toad include # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Pentium II (Deschutes)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind /opt/tomcat/conf"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode foomaticdb gif jpeg kde libg++
mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib png quicktime sdl
spell svga truetype xmms xv gdbm berkdb slang readline java gpm tcpd pam libwww
perl python esd imlib -X -gtk -gnome -alsa -qt ssl mysql sasl -ldap xml xml2 zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe"
CXXFLAGS="-march=pentium2 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Mark Duckworth 2003-08-10 07:58:09 UTC
Created attachment 15859 [details]
Config.log from the php build
Comment 2 SpanKY gentoo-dev 2003-08-10 12:28:50 UTC

*** This bug has been marked as a duplicate of 23751 ***