Bug #18248: build problem after upgrade to GD2
| From: | nospam at 1111-internet dot com | Date: | Tue, 09 Jul 2002 16:39:52 +0000 |
| Subject: | Bug #18248: build problem after upgrade to GD2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-13624@lists.php.net to get a copy of this message | ||
From: nospam@1111-internet.com
Operating system: FreeBSD 4.0
PHP version: 4.2.1
PHP Bug Type: GD related
Bug description: build problem after upgrade to GD2
I am having a problem with the following php configuration after upgrading
gd from version 1.8.3 to 2.0.1 (on FreeBSD 4.0 w/ PHP 4.2.1):
./configure \
--prefix=/usr/local/php4 \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mysql \
--enable-track-vars \
--with-gd=/usr/local \
--with-zlib-dir=shared \
--with-ttf \
--with-jpeg-dir=shared \
--with-png-dir=/usr/local \
--with-tiff-dir=/usr/local \
--with-mcrypt=/usr/local \
--with-pdflib=/usr/local \
--enable-ftp
Before the gd upgrade this compilation ran fine, but now the output stops
at:
(...)
checking for mcrypt support... yes
checking for mcrypt_module_open in -lmcrypt... no
checking for init_mcrypt in -lmcrypt... no
configure: error: Sorry, I was not able to diagnose which libmcrypt
version you have installed.
At first I took this as an mcrypt problem - which was counterintuitive
since I'd never had such a problem before - but nonetheless I rebuilt
mcrypt and tried again only to get the same error. Then I pulled
--with-mcrypt out of the php configuration and got:
(...)
checking for the location of libpng... yes
checking for png_create_info_struct in -lpng... no
configure: error: libpng not found!
I've also never had a problem with the png library in the past... So I
tried downgrading gd to the original version 1.8.3 and rebuilding php with
the full configuration above - that worked. But it still leaves me without
the newer gd features that I need...
A search through the bug database and research on the web did not give me
a solution (other than trying --with-gd=php using the CVS version of php,
which I'm very reluctant to do on a production server) - so I'm hoping the
php experts here might be able to come up with one...
Thanks,
Chuck Hohn
--
Edit bug report at http://bugs.php.net/?id=18248&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18248&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18248&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18248&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18248&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18248&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18248&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18248&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18248&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18248&r=globals