#17243 [Fbk->Csd]: When trying to compile --with-mm, build failed
| From: | sniper@php.net | Date: | Wed, 11 Sep 2002 16:07:53 +0000 |
| Subject: | #17243 [Fbk->Csd]: When trying to compile --with-mm, build failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19088@lists.php.net to get a copy of this message | ||
ID: 17243
Updated by: sniper@php.net
Reported By: bugtracker@pech.cz
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux (RH 7.3)
PHP Version: 4.2.1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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