#17243 [Csd]: When trying to compile --with-mm, build failed

From: Date: Mon, 16 Sep 2002 11:19:16 +0000
Subject: #17243 [Csd]: When trying to compile --with-mm, build failed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19435@lists.php.net to get a copy of this message
ID: 17243 User updated by: bugtracker@pech.cz Reported By: bugtracker@pech.cz Status: Closed Bug Type: Compile Failure Operating System: Linux (RH 7.3) PHP Version: 4.2.1 New Comment: Maybe this issue is fixed, but I've got another error on same system with "--with-mm" in version 4.2.3. I'll make another bugreport. Previous Comments: ------------------------------------------------------------------------ [2002-09-11 11:07:53] sniper@php.net Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php ------------------------------------------------------------------------ [2002-05-16 07:24:26] bugtracker@pech.cz mm version is 1.1.3-4 (RH 7.3 default) and full configure line is: sh ./configure --with-mod_charset --with-openssl --enable-inline-optimization --enable-memory-limit --enable-track-vars --enable-sigchild --enable-magic-quotes --enable-gd-native-ttf --enable-discard-path --enable-trans-sid --enable-versioning --enable-sockets --enable-ftp --enable-bcmath --enable-dba --with-unixODBC --enable-safe-mode --with-config-file-path=/usr/local/etc --with-wddx --with-mysql=/usr --with-gd=/usr --enable-mbstring --with-jpeg-dir=/usr --with-zlib-dir=/usr --enable-shmop --enable-sysvsem --with-freetype --enable-dbase --with-bz2 --enable-calendar --with-pspell --with-qtdom --enable-tokenizer --with-mm This is configure line for CGI. For apache module, I have many things shared (openssl, mysql, bz2, etc.), but when configured with this line, it doesn't work. It works without "--with-mm". It doesn't care if it's shared or not. If it compiles without "--with-mm" and with "--with-bz2=shared", it writes Warning to error_log when starting apache: PHP Warning: Invalid library (maybe not a PHP library) 'bz2.so' in Unknown on line 0 It was OK, on same system with PHP<=4.1.2. Do you know what it means? I don't. If openssl support is configured as shared, no openssl.so file is created after build, but when I added "--with-oci8=shared" and "--with-oracle=shared", it was OK, the file openssl.so was created. Those are very strange errors. ------------------------------------------------------------------------ [2002-05-15 14:39:08] sander@php.net What is your full configure line and your version of MM? ------------------------------------------------------------------------ [2002-05-15 07:09:08] bugtracker@pech.cz Build ends with this error: internal_functions.c:57: `phpext_ps_mm_ptr' undeclared here (not in a function) internal_functions.c:57: initializer element is not constant internal_functions.c:57: (near initialization for `php_builtin_extensions[11]') ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17243&edit=1

« previous php.bugs (#19435) next »