Edit report at http://bugs.php.net/bug.php?id=14269&edit=1

 ID:                 14269
 Comment by:         jose dot nobile at gmail dot com
 Reported by:        d dot a dot roozemond at student dot tue dot nl
 Summary:            doesn't compile, reporting: mod_mm.c:35: #error mm
                     is not thread-safe
 Status:             Closed
 Type:               Feature/Change Request
 Package:            Feature/Change Request
 Operating System:   SuSE linux 7.2 kernel 2.4.4
 PHP Version:        4.0CVS-2001-11-28
 Block user comment: N
 Private report:     N

 New Comment:

mm library is not worth it to be as php extension



I'm trying to compile last stable php (5.3.6) with last stable mm
library 1.4.2, 

and ...



php-5.3.6/ext/session/mod_mm.c:37:3: error: #error mm is not
thread-safe



A library for memory handling, but it don't know what is thread safety,
mutex, bla 

bla bla ...


Previous Comments:
------------------------------------------------------------------------
[2004-09-08 18:29:24] danny_milo at yahoo dot com

well, given that when a user gets this error message, he doesnt know
what to do to make it go away, it would be better to either

- #warning and #if 0 the module so that it will just be skipped, or

- add a comment what configure option / chants / prayers to use to make
the #error go away if one happens to have apache2



since this error does happen quite often and easily on gentoo (with php
5), for example.



just my 5 cents :)



Thanks

------------------------------------------------------------------------
[2003-02-06 15:02:43] jsu2 at emory dot edu

Okay, I was able to figured out how to get PHP to use java classes.  I
was able

to get rpm to build all the packages.  Now, I'm trying to enable
servlets.

The only difference is I've added --with-servlet to the list of
arguments to

pass to the configure script.  I get the following compile error, that
wasn't

present when it was just --with-java.



make[3]: Entering directory
`/usr/src/redhat/BUILD/php-4.1.2/ext/session'

/bin/sh /usr/src/redhat/BUILD/php-4.1.2/libtool --silent --mode=compile
/usr/src/redhat/BUILD/php-4.1.2/meta_ccld  -I.

-I/usr/src/redhat/BUILD/php-4.1.2/ext/session
-I/usr/src/redhat/BUILD/php-4.1.2/main
-I/usr/src/redhat/BUILD/php-4.1.2

-I/usr/src/redhat/BUILD/php-4.1.2/Zend -I/usr/include/libxml2
-I/usr/include/freetype2/freetype -I/usr/include/imap
-I/usr/include/mysql

-I/usr/local/include -I/usr/include/pspell -I/usr/include/ucd-snmp 
-D_REENTRANT -I/usr/src/redhat/BUILD/php-4.1.2/TSRM -O2 -march=i386

-mcpu=i686 -fPIC -pthread -DZTS -prefer-pic  -c mod_mm.c

mod_mm.c:37:3: #error mm is not thread-safe

make[3]: *** [mod_mm.lo] Error 1

------------------------------------------------------------------------
[2001-11-28 13:38:28] d dot a dot roozemond at student dot tue dot nl

Sorry, didn't realise that.

Thanx anyway.

------------------------------------------------------------------------
[2001-11-28 12:47:10] der...@php.net

Not a bug, the MM module can't be used in a threading webserver,
including Apache 2.

I'm closing this.



Derick

------------------------------------------------------------------------
[2001-11-28 12:07:47] d dot a dot roozemond at student dot tue dot nl

well, actually, the problem is quite easy: it won't compile



i can't figure out why the problem occurs and how to fix it ;)



------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=14269


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=14269&edit=1

Reply via email to