View previous topic :: View next topic |
Author |
Message |
NIKOLAY n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_deckard.gif)
Joined: 31 Oct 2003 Posts: 10
|
Posted: Sat Feb 07, 2004 12:19 am Post subject: Problems emerging PHP |
|
|
When I try to emerge PHP 4.3.4-r4 or mod_php 4.3.4-r2 It shows the same following error (in the ./configure step):
This is for PHP:
Code: |
...
...
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/php-4.3.4-r4 failed.
!!! Function econf, Line 339, Exitcode 1
!!! econf failed
|
This is for mod_php:
Code: | ...
...
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.4-r2 failed.
!!! Function econf, Line 339, Exitcode 1
!!! econf failed
|
I've tried to disable all my Cflags and nothing changes. Anybody could tell me what this error message means??
Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hadfield Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 18 Mar 2003 Posts: 308 Location: Vancouver, BC, Canada
|
Posted: Sat Feb 07, 2004 4:43 am Post subject: |
|
|
Are you using distcc or anything? You may want to disable distcc if you are using it. Do you have the program /bin/test? I wonder if it's trying to run a different program called test... if you type 'which test' does it point to /bin/test? Maybe try re-emerging coreutils which contains the 'test' program. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
putzmanjr19 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Jan 2003 Posts: 21
|
Posted: Sat Feb 07, 2004 5:29 am Post subject: |
|
|
Have you built any sort of cross compiler for making windows binaries or anything? Distcc might also be a problem, but I don't think it is called on at all during ./configure. I've never run into this problem and I've run distcc on and off over my time with gentoo. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|rt| n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Aug 2003 Posts: 14
|
Posted: Mon Feb 09, 2004 10:18 pm Post subject: |
|
|
I'm getting a simular error
Code: |
checking for c++... g++
checking whether the C++ compiler (g++ -march=athlon-xp -O2 -pipe -L/usr/lib -ldb-4.0 -Wl,-rpath,/opt/blackdown-jdk-1.4.1/jre/lib/i386/server -L/opt/blackdown-jdk-1.4.1/jre/lib/i386/server -Wl,-rpath,/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads -L/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads -Wl,-rpath,/opt/blackdown-jdk-1.4.1/jre/lib/i386 -L/opt/blackdown-jdk-1.4.1/jre/lib/i386 -Wl,-rpath,/usr/qt/3/lib -L/usr/qt/3/lib) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
!!! ERROR: dev-php/mod_php-4.3.4-r4 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed
|
I emerged the previous version of mod_php to double check that this wasn't due to a slot problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netshade Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_groundskeeper_will.gif)
Joined: 02 Jan 2004 Posts: 90 Location: Sweden
|
Posted: Wed Feb 11, 2004 9:27 am Post subject: mod_php-4.3.4-r4 |
|
|
checking for c++... g++
checking whether the C++ compiler (g++ -march=i686 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -L/usr/lib -ldb-4.0 -Wl,-rpath,/usr/qt/3/lib -L/usr/qt/3/lib) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
!!! ERROR: dev-php/mod_php-4.3.4-r4 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed
Help? My system is running a board, and it was announced as up and running 2 days ago. Now it's not since I can't get php / apache2 up (mod_php can't be loaded anymore.. ) _________________ From where the shadows turn into nightmare, netshade greets you... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|rt| n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Aug 2003 Posts: 14
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netshade Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_groundskeeper_will.gif)
Joined: 02 Jan 2004 Posts: 90 Location: Sweden
|
Posted: Wed Feb 11, 2004 10:46 pm Post subject: |
|
|
Thanks! That took care of my problem, so I'm a happy boardrunner again. _________________ From where the shadows turn into nightmare, netshade greets you... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neilhwatson l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_morbo.gif)
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|