freebsd, php and gd libary

Jez Hancock jez.hancock at munk.nu
Sat Mar 20 12:43:28 PST 2004


On Sat, Mar 20, 2004 at 08:40:53PM +0100, thomas may wrote:
> Thanx for your answer.
> 
> I have installed the mod_php4 port, and need gd library support. So if i try
> the following, i get errors, in the options dialog i enabled gd support.

Uninstall the mod_php4 port:

cd /usr/ports/www/mod_php4
make deinstall

deinstall and clean up the GD port:

cd /usr/ports/www/graphics/gd
make deinstall
make clean

install the GD port without x11:

make -DWITHOUT_X11 install

and then finally go back and reinstall mod_php4:

cd /usr/ports/www/mod_php4
make install

Note however:
> neptun# make FORCE_PKG_REGISTER= -DWITHOUT_X11 install
> ===>  Building for mod_php4-4.3.4_7,1
<snip>
This is an old version of mod_php4 - you probably want to cvsup your
ports tree before doing anything else.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/        - ipfw peruser traffic logging


More information about the freebsd-questions mailing list