note 35849 added to ref.image

From: Date: Tue, 16 Sep 2003 23:55:11 +0000
Subject: note 35849 added to ref.image
Groups: php.notes 
Request: Send a blank email to php-notes+get-56592@lists.php.net to get a copy of this message
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... ---- Manual Page -- http://www.php.net/manual/en/ref.image.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35849 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35849&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35849&report=yes

« previous php.notes (#56592) next »