Re: Compiling PHP4.1.2 with GD - possible or not? Need help!

From: Date: Wed, 05 Jun 2002 15:39:17 +0000
Subject: Re: Compiling PHP4.1.2 with GD - possible or not? Need help!
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-7227@lists.php.net to get a copy of this message
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" <mathias.haas@bredband.net> schrieb im Newsbeitrag 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 > >

« previous php.install (#7227) next »