Gentoo Archives: gentoo-admin

From: banjax <banjax@××××××××××××××××.uk>
To: gentoo-admin@l.g.o
Subject: [gentoo-admin] Problem with mod_php-4.4.0-r9 emerge
Date: Mon, 20 Feb 2006 15:11:17
Message-Id: 43F9DBAC.3040203@spegnet.demon.co.uk
Hi,
I'm having a slight issue with the emerge of mod_php-4.4.0-r9. I have in 
the past had this installed but now it's failing. During the configure 
stage, the compiler is detected as a cross compiler, although it isnt. I 
am compiling for my platform, which is alpha-unknown-linux-gnu.

During the emerge I see..

checking whether the C compiler (gcc -O3 -mieee -pipe 
-fomit-frame-pointer -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  -L/usr/X11R6/lib 
-ltiff -L/usr/lib) is a cross-compiler... yes

and then..

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-r9/work/php-4.4.0/config.log

I thought this may of been due to my USE flags which are normally

CFLAGS="-O3 -mcpu=ev6 -mtune=ev6 -mieee -mno-soft-float -mfp-regs -pipe 
-fomit-
frame-pointer"

I then tried

CFLAGS="-O3 -mieee -pipe -fomit-frame-pointer"

But still the same error. Any ideas why configure thinks my gcc 3.3.2 is 
cross compiling?

TIA.
Marc Tipping.

-- 
gentoo-admin@g.o mailing list