php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17520 PHP-4.2.1 doesn't compile with libmm
Submitted: 2002-05-30 04:25 UTC Modified: 2002-06-12 10:23 UTC
From: fanny dot manon at netcelo dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: redhat 6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
33 + 30 = ?
Subscribe to this entry?

 
 [2002-05-30 04:25 UTC] fanny dot manon at netcelo dot com
./configure --with-mm=shared,/usr/local

causes the following error to be generated

/bin/sh /vobs/delivery/rpm/BUILD/php-4.2.1/libtool --silent --mode=compile gcc  -I. -I/vobs/delivery/rpm/BUILD/php-4.2.1/main -I/vobs/delivery/rpm/BUILD/php-4.2.1/main -I/vobs/delivery/rpm/BUILD/php-4.2.1 -I/usr/include/apache -I/vobs/delivery/rpm/BUILD/php-4.2.1/Zend -I/usr/local/include -I/usr/include/ucd-snmp -I/vobs/delivery/rpm/BUILD/php-4.2.1/ext/xml/expat  -DLINUX=22 -DUSE_HSREGEX -DEAPI -I/vobs/delivery/rpm/BUILD/php-4.2.1/TSRM -g -O2 -prefer-pic  -c internal_functions.c
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]')
make[2]: *** [internal_functions.lo] Error 1

apxs -q CFLAGS generates
-DLINUX=22 -I/usr/include/db1 -DUSE_HSREGEX -DEAPI

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-12 10:23 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu May 26 11:05:45 2022 UTC