ID: 32567 Updated by: [EMAIL PROTECTED] Reported By: hipo at design dot bg -Status: Open +Status: Feedback Bug Type: *Compile Issues Operating System: Fedora Core 1 PHP Version: 4.3.11 New Comment:
Which MPM is your Apache2 compiled with? Its a very bad idea to use worker MPM with PHP. Using prefork MPM will produce much more stable system. The error message that you are seeing idicates the php is being compiled in thread safe mode. Previous Comments: ------------------------------------------------------------------------ [2005-04-04 15:23:06] hipo at design dot bg Description: ------------ I'm experiencing problems during compilation time. I've made a little shell script with configure options to the php for our purposes. I succesfully compiled my php every time a new stable version comes out. Mysteriously right now i've downloaded the latest stable version and used my compilation script to compile it. And the compilation failed with ... "/usr/local/src/php-4.3.11/ext/gmp/gmp.c: In function `convert_to_gmp': /usr/local/src/php-4.3.11/ext/gmp/gmp.c:254: error: `tsrm_ls' undeclared (first use in this function) /usr/local/src/php-4.3.11/ext/gmp/gmp.c:254: error: (Each undeclared identifier is reported only once /usr/local/src/php-4.3.11/ext/gmp/gmp.c:254: error: for each function it appears in.) make: *** [ext/gmp/gmp.lo] Error 1" I've googled a little and found a similar bur report for on of the development php versions. It was written that the "--disable-rpath" option caused the failer. I've tried to recompile the php with no success. Configure is okay no problems are reported there but the compilation failes. Below is my configure and the options i pass to it. #! /bin/sh # # Created by configure './configure' \ '--host=i386-redhat-linux' \ '--build=i386-redhat-linux' \ '--target=i386-redhat-linux-gnu' \ '--program-prefix=' \ '--prefix=/usr' \ '--with-dom' \ '--exec-prefix=/usr' \ '--bindir=/usr/bin' \ '--sbindir=/usr/sbin' \ '--sysconfdir=/etc' \ '--datadir=/usr/share' \ '--includedir=/usr/include' \ '--libdir=/usr/lib' \ '--libexecdir=/usr/libexec' \ '--localstatedir=/var' \ '--sharedstatedir=/usr/com' \ '--mandir=/usr/share/man' \ '--infodir=/usr/share/info' \ '--cache-file=../config.cache' \ '--with-apxs2=/usr/local/apache2/sbin/apxs' \ '--disable-static' \ '--enable-dbase' \ '--enable-ctype' \ '--enable-sysvsem' \ '--enable-sysvshm' \ '--with-tsrm-pthreads' \ '--enable-ftp' \ '--with-config-file-path=/etc' \ '--with-config-file-scan-dir=/etc/php.d' \ '--enable-force-cgi-redirect' \ '--disable-debug' \ '--enable-pic' \ '--enable-inline-optimization' \ '--with-curl' \ '--with-dom=/usr' \ '--with-exec-dir=/usr/bin' \ '--with-ttf' \ '--with-gdbm' \ '--with-gettext' \ '--with-ncurses' \ '--with-gmp' \ '--with-iconv=/usr/local/lib' \ '--with-openssl' \ '--with-regex=system' \ '--with-xml' \ '--with-expat-dir=/usr' \ '--with-layout=GNU' \ '--enable-bcmath' \ '--enable-exif' \ '--enable-magic-quotes' \ '--enable-safe-mode' \ '--enable-safe-mode' \ '--enable-sockets' \ '--enable-discard-path' \ '--enable-track-vars' \ '--enable-trans-sid' \ '--enable-wddx' \ '--with-dom' \ '--without-oci8' \ '--with-pear=/usr/share/pear' \ '--with-kerberos=/usr/kerberos' \ '--with-ldap=shared' \ '--with-mysql=/usr/local/mysql' \ '--enable-memory-limit' \ '--enable-shmop' \ '--enable-versioning' \ '--enable-calendar' \ '--enable-dbx' \ '--enable-dio' \ '--enable-mcal' \ '--enable-force-cgi-redirect' \ '--with-gd' \ '--with-zlib' \ '--with-png' \ '--enable-gd-imgstrttf' \ '--enable-gd-native-ttf' \ '--with-freetype-dir=/usr' \ '--enable-xslt' \ '--with-sablot' \ '--with-xslt-sablot' \ '--with-sablot-js=/usr/bin' \ '--disable-rpath' \ "$@" . I've got the same failer on one of our other servers when compiling. With different configure options. Hope someone will find a solution for me. Thank you. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32567&edit=1