Re: Installation problems with GD :(
| From: | Hans-Martin Frey | Date: | Fri, 15 Nov 2002 17:21:28 +0000 |
| Subject: | Re: Installation problems with GD :( | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9159@lists.php.net to get a copy of this message | ||
Hello,
i have the same problem on solaris. Any help would be great
thanxx
Hans-Martin
David Uzzell wrote:
> I have been able to solve most of my install problems with all the ext's
> I need to have install.
>
> ./configure --prefix=/usr --with-config-file-path=/etc --disable-debug
> --enable-pic --enable-shared --enable-inline-optimization
> --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/bin --with-regex=system
> --with-mnogosearch=/usr/local/mnogosearch --with-jpeg-dir=/usr
> --with-png --with-zlib --with-db2 --with-db3 --with-gdbm
> --enable-debugger --enable-magic-quotes --enable-sockets
> --enable-track-vars --enable-yp --enable-ftp --enable-wddx
> --with-mysql=/usr --without-oracle --without-oci8 --with-xml
> --with-imap=/usr/sbin --with-kerberos --with-imap-ssl -with-gd
>
> Is the current configure script which does not fail it finds them all
> and goes through OK
>
> Then you go to make and that's a different challenge.
>
> make[3]: Entering directory `/usr/src/download/php-4.2.3/ext/gd'
> /bin/sh /usr/src/download/php-4.2.3/libtool --silent --mode=compile gcc
> -I. -I/ usr/src/download/php-4.2.3/ext/gd
> -I/usr/src/download/php-4.2.3/main -I/usr/src/ download/php-4.2.3
> -I/usr/include/apache -I/usr/src/download/php-4.2.3/Zend -I/u
> sr/include/imap -I/usr/local/mnogosearch/include -I/usr/include/mysql
> -I/usr/src /download/php-4.2.3/ext/xml/expat -DLINUX=22 -DEAPI
> -DEAPI_MM -DEAPI_MM_CORE_PA TH=/var/run/httpd.mm
> -I/usr/src/download/php-4.2.3/TSRM -g -O2 -prefer-pic -c g d.c In file
> included from gd.c:83:
> gd_ctx.c: In function `_php_image_output_ctx':
> gd_ctx.c:70: structure has no member named `free'
> gd_ctx.c:98: structure has no member named `free'
> gd.c: In function `_php_image_type':
> gd.c:1014: structure has no member named `free'
> gd.c:1017: structure has no member named `free'
> gd.c: In function `_php_image_create_from':
> gd.c:1209: structure has no member named `free'
> make[3]: *** [gd.lo] Error 1
> make[3]: Leaving directory `/usr/src/download/php-4.2.3/ext/gd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/download/php-4.2.3/ext/gd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/download/php-4.2.3/ext'
> make: *** [all-recursive] Error 1
>
> That's were we get to.
>
> I have installed to get this all working so far and confirmed that these
> are the ONLY versions I have of these. freetype-2.1.2 gd-2.0.4
> libpng-1.2.5 zlib-1.1.3-25.7 libjpeg-6b-19
>
> And this is Redhat 7.3 and I am doing the Apache and PHP compile
> manually to get the latest stable relases.
>
> Any help you could provide would be great as I ahev spent 2 days on this
> already and I am going round the twist with this one problem.
>
> Thanks in advance
>
> David Uzzell