php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24407 configure: error: pcntl: fork() not supported by this platform
Submitted: 2003-06-30 08:48 UTC Modified: 2003-08-04 13:24 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: sonny at sun dot com Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 5.0.0b1 (beta1) OS: Solaris 9
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sonny at sun dot com
New email:
PHP Version: OS:

 

 [2003-06-30 08:48 UTC] sonny at sun dot com
Description:
------------
Due configure of php5.0beta comes following error:
checking for fork... no
configure: error: pcntl: fork() not supported by this platform

On php4.3.2 was it all fine.

I'm using it on Solaris 9 && SPARC Platform.

Reproduce code:
---------------
Run an configure on an sparc plattform.

Expected result:
----------------
pcntl extension should work.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-24 15:27 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

And check config.log for possible more information about the error.

 [2003-07-30 22:09 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2003-08-04 13:24 UTC] sonny at sun dot com
configure with pcntl works
 [2004-04-22 12:31 UTC] willydee at gmx dot net
configure 5.0.0RC1 failed here too on Linux Kernel 2.4, but I found the solution in the config.log file. The test compilation for the fork() function called by configure links against -liodbc.
Workaround: install the libodbc header files and configure acts as expected.
 [2004-08-03 13:28 UTC] nomail at nomail dot org
configure: error: pcntl: fork() not supported by this platform

same problem on HP-UX 11.00 with lastest release ( php5-200408030630 ) and with official release of php 5 ...

First time i try to include this module with php...
 [2004-08-03 13:38 UTC] nomail at nomail dot org
my config.log:

configure:66083: checking for fork
configure:66111: gcc -o conftest -g -O2   -L/opt/oracle/product/9i_client/lib -L/opt/oracle/product/9i_client/lib conftest.c -lm -lnsl  -l:libcl.sl -l:librt.sl -l:libnss_dns.1 -l:libdld.sl -lclntsh 1>&5
/var/tmp//ccBi6ulb.s: Assembler messages:
/var/tmp//ccBi6ulb.s:41: Warning: .stabs: description field '10231' too big, try a different debug format
/var/tmp//ccBi6ulb.s:45: Warning: .stabn: description field '10231' too big, try a different debug format
/var/tmp//ccBi6ulb.s:51: Warning: .stabn: description field '10239' too big, try a different debug format
/var/tmp//ccBi6ulb.s:56: Warning: .stabn: description field '1023c' too big, try a different debug format
/usr/ccs/bin/ld: /opt/oracle/product/9i_client/lib/libclntsh.sl: Mismatched ABI. 64-bit PA shared library found in 32-bit link.
collect2: ld returned 1 exit status
configure: failed program was:
#line 66088 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fork(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char fork();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_fork) || defined (__stub___fork)
choke me
#else
fork();
#endif

; return 0; }
 [2004-08-03 13:38 UTC] nomail at nomail dot org
my config.log:

configure:66083: checking for fork
configure:66111: gcc -o conftest -g -O2   -L/opt/oracle/product/9i_client/lib -L/opt/oracle/product/9i_client/lib conftest.c -lm -lnsl  -l:libcl.sl -l:librt.sl -l:libnss_dns.1 -l:libdld.sl -lclntsh 1>&5
/var/tmp//ccBi6ulb.s: Assembler messages:
/var/tmp//ccBi6ulb.s:41: Warning: .stabs: description field '10231' too big, try a different debug format
/var/tmp//ccBi6ulb.s:45: Warning: .stabn: description field '10231' too big, try a different debug format
/var/tmp//ccBi6ulb.s:51: Warning: .stabn: description field '10239' too big, try a different debug format
/var/tmp//ccBi6ulb.s:56: Warning: .stabn: description field '1023c' too big, try a different debug format
/usr/ccs/bin/ld: /opt/oracle/product/9i_client/lib/libclntsh.sl: Mismatched ABI. 64-bit PA shared library found in 32-bit link.
collect2: ld returned 1 exit status
configure: failed program was:
#line 66088 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fork(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char fork();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_fork) || defined (__stub___fork)
choke me
#else
fork();
#endif

; return 0; }
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC