note 35849 deleted from ref.image by betz
| From: | betz@php.net | Date: | Sat, 04 Jun 2005 11:20:24 +0000 |
| Subject: | note 35849 deleted from ref.image by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89906@lists.php.net to get a copy of this message | ||
Note Submitter: daniel @ swn
----
For everyone trying to get jpeg support working:
Since I could not compile jpeg support with the bundled gd library in php 4.3.3, I tried with the
external one and got some reference errors. If you get these errors when make'ing PHP, try to
set the XPM directory when configuring gd2. I noticed that there are some error messages when
compiling php with the default xpm setting in gd2's configure. Maybe there is something similar
concerning freetype support, too...so I activated it however I need it or not.
What I did:
I downloaded and installed jpeg6b, freetype etc.:
./configure
make
make install
downloaded xpm and copied any files and directories to /usr/local
downloaded gd2 and installed it..
./configure --with-jpeg=/usr/local --with-freetype=/usr/local --with-png=/usr/local
--with-xpm=/usr/local
[make clean]
make
make install
and when configuring gd2 told me that it could not compile xpm support. Maybe I did something wrong
but now the php 'make' runs without errors:
./configure [...] --with-gd=/usr/local --with-jpeg-dir=/usr/local
make
make install
and the jpeg functions started to work...