RE: [PHP] GD, PNG
thats right just untar somewhere, when you do the make install it should create the directory /usr/local/freetype2 for you, it is a bit of a strange one they also made it to use jam which is another make file system, I don't know whats wrong with the old ./configure, make, make install at least it is a standard :) Good luck with the install. Regards, Joseph -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, 26 November 2001 9:11 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] GD, PNG Interesting. Thanks So after untar, I will use that sequence you typed I presume I can untar and do that or need to rename folder to freetype 2 go in, and then the process you stated? It's funny how freetype throws me off but I am confident in installing gd and everything else. It's like the sun , without it, everything else falls apart Thanks Joel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] GD, PNG
Hmm, don't know much about raq3 but if it has GNU Make (ver 3.78.1 or newer) it should compile with any Unix C compiler. make setup CFG="--prefix=/usr/local/freetype2" make make install Hope this helps, from memory it is a little fiddly sometimes hard to get GD to see the freetype2 libs/includes, but if you get it compiled you should have no problems. Regards, Joseph -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, 23 November 2001 5:04 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] GD, PNG Hello, and thanks for your time, which I respect. I was reading your reply on php list and I have one question if I may *how* did you get freetype on your linux? I am on raq 3 nobody can confirm if a untar ./configure make make install will do it just wondering if a linux guy can confirm this works without freetype, I can't run php/gd library as I intend to and their list support is pathetic Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] GD, PNG
Two things come to mind when compiling under redhat 6.x 1) Delete all headers and libs relating to gd in /usr/lib and /usr/include these are old and will cause conflicts. 2) Use --with-..-dir=.. Here is my successful configure command assuming you have successfully installed freetype2 and gd with frretype2 support. redhat comes with compatible zlib, png and jpeg libs ./configure \ --prefix=/usr/local/Zend \ --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/Zend/etc \ --with-mysql=../../mysql \ --with-gd=/usr/local/gd \ --with-freetype-dir=/usr/local/freetype2 \ --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-zlib-dir=/usr \ --with-xml \ --with-pdf \ --enable-wddx \ --enable-sockets \ --enable-track-vars \ --disable-debug Hope this helps some as I too had major troubles geeting gd support under php seems to work really well now though. Regards, Joseph -Original Message- From: Yamin Prabudy [mailto:[EMAIL PROTECTED]] Sent: Saturday, 24 November 2001 4:46 AM To: Michael A. Peters; PHP Subject: Re: [PHP] GD, PNG I try to compile againts PNG and JPEG and for web inteface i had install zlib and png and jpeg then gd but still have no sucess on it On Thursday 22 November 2001 09:03, you wrote: > The operating system you are using would be nice to know- and wether its > for apache, cgi-bin, or whatever. > > Most unixes (and it looks like you got a unix) have zlib in /usr not > /usr/local. > Quite a few already have gd and libpng in /usr as well. > > That's why it would be nice to know what your build environment is. > > Anyway, I'm pretty sure that you need to make sure gd is compiled against > png. > > On my system, for example, my gd library is compiled with png, jpeg, and > FreeType2 support. > Secondly- if your system is darwin, you need to fix a few things. > > First, run ranlib on /usr/local/lib/libpng.a > > Then you can build gd against it. > Then, though, you need to do the same to libgd > > ranlib /usr/local/lib/libgd.a > > note that the above is only needed on Darwin. > That is properly done on most other unixes for you (in fact, most unixes > compile those as shared libraries) > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] GD, PNG
I try to compile againts PNG and JPEG and for web inteface i had install zlib and png and jpeg then gd but still have no sucess on it On Thursday 22 November 2001 09:03, you wrote: > The operating system you are using would be nice to know- and wether its > for apache, cgi-bin, or whatever. > > Most unixes (and it looks like you got a unix) have zlib in /usr not > /usr/local. > Quite a few already have gd and libpng in /usr as well. > > That's why it would be nice to know what your build environment is. > > Anyway, I'm pretty sure that you need to make sure gd is compiled against > png. > > On my system, for example, my gd library is compiled with png, jpeg, and > FreeType2 support. > Secondly- if your system is darwin, you need to fix a few things. > > First, run ranlib on /usr/local/lib/libpng.a > > Then you can build gd against it. > Then, though, you need to do the same to libgd > > ranlib /usr/local/lib/libgd.a > > note that the above is only needed on Darwin. > That is properly done on most other unixes for you (in fact, most unixes > compile those as shared libraries) > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] GD, PNG
The operating system you are using would be nice to know- and wether its for apache, cgi-bin, or whatever. Most unixes (and it looks like you got a unix) have zlib in /usr not /usr/local. Quite a few already have gd and libpng in /usr as well. That's why it would be nice to know what your build environment is. Anyway, I'm pretty sure that you need to make sure gd is compiled against png. On my system, for example, my gd library is compiled with png, jpeg, and FreeType2 support. Secondly- if your system is darwin, you need to fix a few things. First, run ranlib on /usr/local/lib/libpng.a Then you can build gd against it. Then, though, you need to do the same to libgd ranlib /usr/local/lib/libgd.a note that the above is only needed on Darwin. That is properly done on most other unixes for you (in fact, most unixes compile those as shared libraries) If you are compiling for an apache module, try this- tar -zxf php-4.0.6.tar.gz cd php-4.0.6 ./configure --with-apxs=/usr/sbin/apxs --with-zlib=/usr --with-gd=/usr/local --with-png-dir=/usr/local On Thu, 22 Nov 2001 16:55:37 -0500 Yamin Prabudy <[EMAIL PROTECTED]> mentioned: > Hi there > I try to setup GD and PNG and Zlib to work with my PHP 4.06 > > but still no sucess > > can anyone point me out how to do that, or a website that contain step by > step instruction > in the configure line i used this options --with-gd=/usr/local > --with-png-dir=/usr/local/png --with-zlib=/usr/local > > installing those three items i just used make and make install so everthing > must go to /usr/local > > > thanks for the help > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- -=-=-=-=-=-=-=-=-=-=-=-=- Michael A. Peters http://24.5.29.77:10080/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]