php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17243 When trying to compile --with-mm, build failed
Submitted: 2002-05-15 07:09 UTC Modified: 2002-09-16 06:19 UTC
From: bugtracker at pech dot cz Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Linux (RH 7.3)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugtracker at pech dot cz
New email:
PHP Version: OS:

 

 [2002-05-15 07:09 UTC] bugtracker at pech dot 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]')

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-15 14:39 UTC] sander@php.net
What is your full configure line and your version of MM?
 [2002-05-16 07:24 UTC] bugtracker at pech dot 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-09-11 11:07 UTC] 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-09-16 06:19 UTC] bugtracker at pech dot cz
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Mar 14 20:01:29 2025 UTC