|
Posted by up on 10/21/59 11:12
FWIW, I installed /usr/ports/graphics/php4-gd and everything appears to be
fine, now.
Strangely, I am not getting any of the posts from this list in my mailbox,
although my posts show up here...I have to look at the archive to see them
and any responses to them.
On Fri, 1 Apr 2005 up@3.am wrote:
>
> A customer needed curl support, so I reconfigured and upgraded from an
> older version of mod_php4 to the latest (4.3.10) and all hell broke loose.
> I installed from FreeBSD ports, using what I thought were a combination of
> the ports default and my old settings. Ports had --disable-all, which
> broke all kinds of functions, but I fixed that, but it still appears that
> alot of gd functions are still undefined.
>
> My last config options were:
>
> './configure' '--enable-versioning' '--enable-memory-limit'
> '--with-layout=PHP' '--with-regex=php' '--with-apxs=/usr/local/sbin/apxs'
> '--prefix=/usr/local' 'i386-portbld-freebsd4.9' '--with-curl'
> '--with-mysql=/usr/local' '--with-pcre' '--with-gd=/usr/local/'
>
> It configures, builds and installs ok, but I have the gd problems I
> described. I also tried to use the built-in gd support by switching to
> just "--with-gd", but then it won't build.
>
> Configure then fails with:
>
> checking for GD support... yes
> checking for the location of libjpeg... no
> checking for the location of libpng... no
> checking for the location of libXpm... no
> checking for FreeType 1.x support... no
> checking for FreeType 2... no
> checking for T1lib support... no
> checking whether to enable truetype string function in GD... no
> checking whether to enable JIS-mapped Japanese font support in GD... no
> checking for fabsf... (cached) yes
> checking for floorf... (cached) yes
> If configure fails try --with-jpeg-dir=<DIR>
> configure: error: PNG support requires ZLIB. Use --with-zlib-dir=<DIR>
>
> No clue why it couldn't find libjpeg, but I then tried adding:
> --with-zlib-dir=/usr/include (AND) --with-jpeg-dir=/usr/local/include/
> (the header files are there)
>
> the configure script then runs through fine, but when I try to run make, I
> get:
>
> eg -lcurl -lz -lm -lcurl -lssl -lcrypto -lz -lcrypt -lcrypt -o
> sapi/cli/php
> ext/gd/gd.lo: In function `zif_imagecreatefromstring':
> /usr/ports/www/mod_php4/work/php-4.3.10/ext/gd/gd.c:1328: undefined
> reference to `gdImageCreateFromJpegCtx'
> ext/gd/gd.lo: In function `zif_imagecreatefromjpeg':
> /usr/ports/www/mod_php4/work/php-4.3.10/ext/gd/gd.c:1507: undefined
> reference to `gdImageCreateFromJpegCtx'
> /usr/ports/www/mod_php4/work/php-4.3.10/ext/gd/gd.c:1507: undefined
> reference to `gdImageCreateFromJpeg'
> ext/gd/gd.lo: In function `zif_imagejpeg':
> /usr/ports/www/mod_php4/work/php-4.3.10/ext/gd/gd.c:1762: undefined
> reference to `gdImageJpegCtx'
> ext/gd/gd.lo: In function `zif_imagecolorat':
> /usr/ports/www/mod_php4/work/php-4.3.10/ext/gd/gd.c:1891: undefined
> reference to `gdImageBoundsSafe'
> ext/gd/gd.lo: In function `_php_image_convert':
> /usr/ports/www/mod_php4/work/php-4.3.10/ext/gd/gd.c:3759: undefined
> reference to `gdImageCreateFromJpeg'
> *** Error code 1
>
> Stop in /usr/ports/www/mod_php4/work/php-4.3.10.
>
> These are all the functions that are breaking. Any help greatly
> appreciated!
>
>
> James Smallacombe PlantageNet, Inc. CEO and Janitor
> up@3.am http://3.am
> =========================================================================
>
>
James Smallacombe PlantageNet, Inc. CEO and Janitor
up@3.am http://3.am
=========================================================================
Navigation:
[Reply to this message]
|