RE: [PHP] GD, PNG

2001-11-25 Thread Joseph Blythe

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

2001-11-22 Thread Yamin Prabudy

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

2001-11-22 Thread Joseph Blythe

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]