Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34937 - mod_php 4.3.3-r3 won't compile cleanly
Summary: mod_php 4.3.3-r3 won't compile cleanly
Status: RESOLVED DUPLICATE of bug 14397
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-02 16:16 UTC by Joel Parker
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
config.log (config.log,29.48 KB, text/plain)
2003-12-02 16:30 UTC, Joel Parker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Parker 2003-12-02 16:16:23 UTC
When I run `emerge mod_php`, I get the following error message:

!!! ERROR: dev-php/mod_php-4.3.3-r3 failed.
!!! Function econf, Line 338, Exitcode 1
!!! econf failed

I have Apache 1.3.29 and MySQL 3.23.56.

`emerge -pv mod_php` shows:

# emerge -pv mod_php

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

Calculating dependencies ...done!
[ebuild  N    ] dev-php/mod_php-4.3.3-r3  -apache2 +X +crypt -curl -firebird
-flash -freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg +ldap
-mcal -memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png +postgres -qt -snmp
+spell +ssl +tiff +truetype +xml2 +berkdb


Reproducible: Always
Steps to Reproduce:
1. `emerge mod_php`
Actual Results:  
The following is the full output:

--
# emerge mod_php
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/mod_php-4.3.3-r3 to /
>>> md5 src_uri ;-) php-4.3.3.tar.bz2
>>> md5 src_uri ;-) php-4.3.2-fopen-url-secure.patch
>>> Unpacking source...
 * Due to some previous bloopers with PHP and slotting, you may have
 * multiple copies of mod_php installed. Please look at the autoclean
 * output at the end of the emerge and unmerge all but relevant
 * copies.
 * Apache1 only detected
>>> Unpacking php-4.3.3.tar.bz2 to /var/tmp/portage/mod_php-4.3.3-r3/work
>>> Source unpacked.
 * JDK version: 1.4.2_02
 * Enabling NBDM
 * Enabling DB4
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  -Os -march=pentium4 -funroll-loops -pipe
-fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc  -Os -march=pentium4 -funroll-loops -pipe
-fomit-frame-pointer ) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.35 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking flex version... 2.5.4 (ok)
checking for pthreads_cflags...
checking for pthreads_lib...
 
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... yes
checking for member fd in BUFF *... yes
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... no
checking for Caudium support... no
checking for CLI build... yes
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking for Roxen/Pike support... no
checking for Servlet support... no
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for chosen SAPI module... apache
 
Running system checks
checking for missing declarations of reentrant functions... done
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking for socket... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... no
checking for __yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for dlopen... yes
checking for sin in -lm... yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... yes
checking for res_search in -lbind... no
checking for __res_search in -lbind... no
checking for res_search in -lsocket... no
checking for __res_search in -lsocket... no
checking for inet_aton... yes
checking for dn_skipname... no
checking for __dn_skipname... no
checking for dn_skipname in -lresolv... no
checking for __dn_skipname in -lresolv... yes
checking for dn_skipname in -lbind... no
checking for __dn_skipname in -lbind... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fclose declaration... ok
checking for ApplicationServices/ApplicationServices.h... no
checking for sys/param.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for netinet/in.h... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for crypt.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for monetary.h... yes
checking for mach-o/dyld.h... no
checking for netdb.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling
 
!!! ERROR: dev-php/mod_php-4.3.3-r3 failed.
!!! Function econf, Line 338, Exitcode 1
!!! econf failed

#


# emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gaming-r3)
=================================================================
System uname: 2.4.20-gaming-r3 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS=" -Os -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS=" -Os -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm libg++ mad mikmod motif ncurses nls gtkhtml gdbm berkdb slang
readline bonobo java postgres gpm tcpd pam libwww ssl perl python imlib aalib
acpi alsa -arts avi cdr crypt cups directfb dga dvd dvdr encode esd fbcon
foomaticdb gd ggi gif gnome gphoto2 gtk gtk2 guile hbci jikes jpeg -kde ldap mmx
mozaccess mozcalendar mozilla mozp3p mozsvg mozxmlterm mpeg mysql oav ofx
oggvorbis opengl parse-clocks pcmcia pda ppds pdflib png pnp -qt quicktime samba
scanner sdl slp spell sse svga tcltk tiff truetype trusted unicode usb videos
wxwindows X xface xml xml2 xmms xv zlib"

#
Comment 1 SpanKY gentoo-dev 2003-12-02 16:24:46 UTC
please post your config.log file
Comment 2 Joel Parker 2003-12-02 16:30:40 UTC
Created attachment 21602 [details]
config.log

attached config.log
Comment 3 SpanKY gentoo-dev 2003-12-02 16:44:50 UTC
run `revdep-rebuild`

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