Clean PHP 5.2.12 Build Core Dumping

Polytropon freebsd at edvax.de
Sun Jan 10 10:19:48 UTC 2010


On Sat, 09 Jan 2010 22:47:45 -0500, Michael Powell <nightrecon at hotmail.com> wrote:
> If installing with the ports system you shouldn't need to be editing any 
> Makefiles. make config will give you list of options you may select from. 

That's correct. I forgot to add that there are some few ports
that allow using an additional Makefile, i. e. Makefile.local
in the port's directory, to contain compile time settings.
Something similar can be achieved through the control files
of various port management programs that then apply those
settings if the port is compiled. A good example is mplayer
where you can use this mechanism. As I said, I'm not sure if
this still works.



> Note there is an initial build/install of PHP itself and a second port 
> called php5-extensions which you then install for all the modules. Again, a 
> make config will list all options. No need to mess with Makefiles.

There's the command "make config-recursive" (if I recall it
correctly) to go through the config screens of all dependent
ports at once - this saves you time of unneccessary interaction.



> Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such as GD 
> try and pull in X dependencies; this will short circuit that.

Excellent advice!


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list