#16590: php5 5.2.6 on OSX 10.4.11 build fails (possible fix included) -----------------------------------+---------------------------------------- Reporter: news@braendle-net.de | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: php5 OS X Port: php5 | -----------------------------------+---------------------------------------- Comment(by news@braendle-net.de): Replying to [comment:4 ryandesign@…]:
Replying to [comment:3 news@…]:
Under /usr/local there are a few things installed. What do I have to check there?
Try moving /usr/local aside (rename it), clean php5 and try installing it again.
{{{ sudo mv /usr/local /usr/local-off sudo port clean --work php5 }}}
[[BR]] OK ! But under /usr/local are some critical apps installed. So this is not possible at the moment. If I find some time I'll try it anyway. As I already wrote I got php5 to work fine with some changes in mincludes.h which comes with mhash. {{{ medianet@intermac1:/opt/local/include/mutils$ sudo vi mincludes.h /* #if defined(HAVE_MALLOC_H) #include <malloc.h> #endif */ }}} I think the problem must sit somewhere around this port (sorry for my english, I'm german)[[BR]] So this port or any of the ports included by php5 may have set the <HAVE_MALLOC_H> to <1> But for now I think I live with my workaround. Thanks again for any help Jürgen -- Ticket URL: <http://trac.macports.org/ticket/16590#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS