Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2010 11:19:45 +0100
From:      Polytropon <freebsd@edvax.de>
To:        nightrecon@hotmail.com
Cc:        php-general@lists.php.net, freebsd-questions@freebsd.org
Subject:   Re: Clean PHP 5.2.12 Build Core Dumping
Message-ID:  <20100110111945.98208e9f.freebsd@edvax.de>
In-Reply-To: <hibil4$6bh$2@ger.gmane.org>
References:  <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> <hibil4$6bh$2@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 09 Jan 2010 22:47:45 -0500, Michael Powell <nightrecon@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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100110111945.98208e9f.freebsd>