RE: [PHP-INST] Re: Compiling PHP4.1.2 with GD - possible or not? Need help!

From: Date: Fri, 07 Jun 2002 23:56:37 +0000
Subject: RE: [PHP-INST] 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-7257@lists.php.net to get a copy of this message
Thanks Andy! The problem was that I had retried to compile it too many times. After a few times the php-install dir simply goes corrupt - even after 'make clean'. A fresh untar did the trick. Too simple! :-) -----Original Message----- From: andy [mailto:news.letters@gmx.de] Sent: Wednesday, June 05, 2002 5:39 PM To: php-install@lists.php.net Subject: [PHP-INST] Re: Compiling PHP4.1.2 with GD - possible or not? Need help! 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 > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#7257) next »