View previous topic :: View next topic |
Author |
Message |
leo n00b
Joined: 25 Feb 2003 Posts: 70 Location: Milano - Italy
|
Posted: Tue Feb 25, 2003 5:37 pm Post subject: PHP emerge |
|
|
I have the following problem emerging PHP: the compilation stops and shows this error message
[...]
checking whether to enable pcntl support... yes
checking for fork... no
configure: error: pcntl: fork() not supported by this platform
!!! ERROR: dev-php/php-4.3.1 failed.
!!! Function src_compile, Line 183, Exitcode 1
!!! bad ./configure
what's the problem?
Thank you
Leo |
|
Back to top |
|
|
tanee n00b
Joined: 30 May 2002 Posts: 19 Location: Germany
|
Posted: Tue Feb 25, 2003 6:25 pm Post subject: |
|
|
same ebuild, different error:
Code: |
checking for Java support... yes
checking Java Jar location... configure: error: Unable to locate /bin
!!! ERROR: dev-php/php-4.3.1 failed.
!!! Function src_compile, Line 183, Exitcode 1
!!! bad ./configure
tanee anime # java -version
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.1-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.1-FCS, mixed mode)
|
anyone else? =)
i had no problems building php-4.3.0 btw. |
|
Back to top |
|
|
tanee n00b
Joined: 30 May 2002 Posts: 19 Location: Germany
|
Posted: Tue Feb 25, 2003 6:36 pm Post subject: |
|
|
since fork() is used to create threads in programs (not quite sure - correct me, if i'm wrong) it could be possible that your problem is linked with this:
https://forums.gentoo.org/viewtopic.php?t=29283 |
|
Back to top |
|
|
leo n00b
Joined: 25 Feb 2003 Posts: 70 Location: Milano - Italy
|
Posted: Tue Feb 25, 2003 6:46 pm Post subject: |
|
|
The fork() syscall is used to create processes (and not threads) and its code is part of the kernel; it does surely work (I tested it with a small C program). I do not understand what's the meaning of "not supported by this platform"...
Perhas the fork() call is that of PHP (I do not know if there is one in it)?
Leo |
|
Back to top |
|
|
Berkz Apprentice
Joined: 26 Aug 2002 Posts: 205 Location: Iceland
|
Posted: Tue Feb 25, 2003 11:25 pm Post subject: exact same error |
|
|
I get the exact same error. _________________ ______________
Regards, Berkz |
|
Back to top |
|
|
Berkz Apprentice
Joined: 26 Aug 2002 Posts: 205 Location: Iceland
|
|
Back to top |
|
|
flybynite l33t
Joined: 06 Dec 2002 Posts: 620
|
|
Back to top |
|
|
|