#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 ryandesign@macports.org): 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 }}}
Any way to find out what ist filling my HAVE_MALLOC_H ??
I'm not sure at the moment.
I found a lot of malloc.h files in: [snip] Maybe I can delete all of them ?? But is this save ?
You should not delete those files; they are part of your operating system and belong right where they are. :) I have them on my system too -- except for /opt/local/var/macports/software/cgilib/0.5_2/opt/local/include/malloc.h. I don't have the cgilib port installed. You might try uninstalling the cgilib port and see if that helps, though I don't see how: a) it looks like your cgilib port is not active (else `locate` should have found /opt/local/include/malloc.h too) and inactive ports shouldn't affect anything, and b) the error is that malloc.h cannot be found, so it's not even trying to use cgilib's malloc.h.
Or is my last change to clean the harddrive, instal 10.5.x and reinstall all ports and programs again?
Hopefully that won't be necessary but if moving /usr/local doesn't help I'm not sure what to suggest next. Though perhaps if you attach your config.log it will reveal something. -- Ticket URL: <http://trac.macports.org/ticket/16590#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS