first of all untar a new tarball and go into the new phpdir. Then run your configure command and pipe it into a textfile :
> ./configure --with-mysql=/usr/local/mysql > --with-apxs=/usr/local/apache/bin/apxs --with-jpeg-dir=/usr/local/lib > --with-zlib-dir=/usr/local/lib --with-gd=/usr/local > mathias.txt open the text file and do a search on gd to figure out whats going on. If everything is ok. do a make and check if it still throuws an error. Hope this helps, Andy ---------------------------------------------- http://www.globosapiens.net Global Travellers Network "Mathias Haas" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 000701c20bed$32b8ed10$f7ffa8c0@p42k">news:000701c20bed$32b8ed10$f7ffa8c0@p42k... > I can't seem to install PHP v4.1.2 and GD v.1.8.4 *or* v2.0.1. I keep > getting the same Make error all the time. I'm completely out of ideas, > and the only answer I could find searching the web was that it is a > bug... > > I run FreeBSD 4.5 and I've installed GD through the ports (and by hand) > with all the libraries that it needs. Then I want to re-compile PHP4.1.2 > with the following compile string: > > ./configure --with-mysql=/usr/local/mysql > --with-apxs=/usr/local/apache/bin/apxs --with-jpeg-dir=/usr/local/lib > --with-zlib-dir=/usr/local/lib --with-gd=/usr/local > > That works really fine, and then I run make, which runs for a while and > then I get this error: > > In file included from gd.c:36: > php_gd.h:69: warning: static declaration for `gdImageColorResolve' > follows non-static > gd.c:92: conflicting types for `gdIOCtx' > /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx' > > What am I supposed to do? > > I'd *really* appreciate any help. Thanks in advance. > > /mathias > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php