PCNTL on Fedora 4 x86_64

From: Date: Thu, 27 Oct 2005 21:13:10 +0000
Subject: PCNTL on Fedora 4 x86_64
Groups: php.install 
Request: Send a blank email to php-install+get-16779@lists.php.net to get a copy of this message
I have been attempting to get pcntl turned on in php5.0.5 and keep getting the error: checking whether to enable pcntl support... yes checking for fork... (cached) yes checking for waitpid... no configure: error: pcntl: fork() not supported by this platform The config.log states: --------------------------------------------------------- /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status configure: failed program was: #line 74623 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char waitpid(); 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 waitpid(); 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_waitpid) || defined (__stub___waitpid) choke me #else waitpid(); #endif ; return 0; } --------------------------------------------------------- I do have the libtool rpms installed. I have also checked to verify that waitpid and fork and working and they seem to in other applications. The configure line that I am using is: ../configure --enable-bcmath --with-openssl --with-curl --with-dom --enable-soap --enable-simplexml --with-mcrypt --with-mhash --enable-sockets --enable-mailparse --with-gmp --with-gettext --enable-shmop --with-mysqli --enable-ftp --with-zlib --with-png-dir=/usr --with-jpeg-dir=/usr --with-freetype-dir=/usr --with-gd --enable-mbstring=all --enable-pcntl I have gotten everything except the --enable-pcntl to compile and I am running without it. However I really need to be able to fork my application so that I can make use of the multiple processors. any help would be appreciated, Ben

« previous php.install (#16779) next »