Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109921

Summary: mod_php : error: can not run test program while cross compiling
Product: Gentoo Linux Reporter: gday01 <gday01>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://gday01.free.fr/divers/error_mod_php-config.log
Whiteboard:
Package list:
Runtime testing required: ---

Description gday01 2005-10-20 07:16:18 UTC
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

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/mod_php-4.4.0-r3/work/php-4.4.0/config.log

!!! ERROR: dev-php/mod_php-4.4.0-r3 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.



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




Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-tbird -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-tbird -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://194.117.143.72 http://194.117.143.71
ftp://194.117.143.72/mirrors/gentoo ftp://194.117.143.69/mirrors/gentoo"
LANG="fr_FR@euro"
LINGUAS="fr"
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 3dnowext X acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts
bonobo cdr crypt cups curl divx4linux dvd dvdr dvdread eds emboss encode esd evo
fam ffmpeg flac foomaticdb fortran ftp gd gdbm gif gnome gphoto2 gpm gstreamer
gtk gtk2 gtkhtml httpd imagemagick imlib innodb ipv6 java joystick jpeg kde lcms
libg++ libwww mad matroska mikmod mmx motif mozilla mp3 mpeg msn mysql ncurses
network nls nptl ogg oggvorbis opengl oscar oss pam pdflib perl php png ppds
python qt quicktime readline real samba scanner sdl spell ssl stream svg svga
tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xine xml
xml2 xmms xosd xpm xscreensaver xv xvid zlib linguas_fr userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-20 08:06:36 UTC
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future. Infrastructure
is not the correct addressee.
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2005-10-20 08:30:57 UTC

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