Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
leo
n00b
n00b


Joined: 25 Feb 2003
Posts: 70
Location: Milano - Italy

PostPosted: Tue Feb 25, 2003 5:37 pm    Post subject: PHP emerge Reply with quote

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
View user's profile Send private message
tanee
n00b
n00b


Joined: 30 May 2002
Posts: 19
Location: Germany

PostPosted: Tue Feb 25, 2003 6:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
tanee
n00b
n00b


Joined: 30 May 2002
Posts: 19
Location: Germany

PostPosted: Tue Feb 25, 2003 6:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
leo
n00b
n00b


Joined: 25 Feb 2003
Posts: 70
Location: Milano - Italy

PostPosted: Tue Feb 25, 2003 6:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Berkz
Apprentice
Apprentice


Joined: 26 Aug 2002
Posts: 205
Location: Iceland

PostPosted: Tue Feb 25, 2003 11:25 pm    Post subject: exact same error Reply with quote

I get the exact same error.
_________________
______________

Regards, Berkz
Back to top
View user's profile Send private message
Berkz
Apprentice
Apprentice


Joined: 26 Aug 2002
Posts: 205
Location: Iceland

PostPosted: Tue Feb 25, 2003 11:30 pm    Post subject: solution Reply with quote

solution here
https://forums.gentoo.org/viewtopic.php?t=36518&highlight=fork
_________________
______________

Regards, Berkz
Back to top
View user's profile Send private message
flybynite
l33t
l33t


Joined: 06 Dec 2002
Posts: 620

PostPosted: Wed Feb 26, 2003 9:43 pm    Post subject: more info Reply with quote

Read

https://bugs.gentoo.org/show_bug.cgi?id=15816#c10

for more info about the fork problem. (not a fork problem but really a configure problem)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum