Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2004 20:43:23 +0000
From:      Jez Hancock <jez.hancock@munk.nu>
To:        thomas may <thomas.may@x9media.com>
Cc:        FreeBSD Questions List <freebsd-questions@freebsd.org>
Subject:   Re: freebsd, php and gd libary
Message-ID:  <20040320204323.GA63866@users.munk.nu>

next in thread | raw e-mail | index | archive | help

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



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