Toon posts:

PHP + GD geeft fouten bij install

Pagina: 1
Acties:

Verwijderd

Topicstarter
IK heb versie PHP-4.1.2, PHP-4.2.2 en PHP-4.2.3 geprobeerd.
Zowel GD-1.8.4 als GD-2.0.1.

Ik heb gezocht maar kan echt niets vinden en wat ik ook probeer die error blijft.

ik draai redhat7.2

Config opties:

./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-mysql=/usr/local/mysql --with-gettext --with-imap=../imap-2002.RC8 --with-zlib --with-openssl --enable-sockets --enable-ftp --enable-xml --enable-track-vars --enable-magic-quotes --with-curl=../curl-7.10 --enable-bcmatch --with-pdflib --with-sablot --with-mcrypt --with-mhash --enable-mbstring --with-pspell --with-gd --with-png-dir=/usr/src/libpng-1.2.5rc3 --with-jpeg-dir=/usr/src/jpeg-6b --with-freetype-dir=/usr

Kan iemand mij helpen?

ik krijg deze fout:

make[3]: Entering directory `/usr/src/php-4.2.3/ext/gd'
/bin/sh /usr/src/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/usr/src/php-4.2.3/ext/gd -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3 -I/usr/local/apache/include -I/usr/src/php-4.2.3/Zend -I/usr/src/curl-7.10/include -I/usr/include/freetype2/freetype -I/usr/src/imap-2002.RC8/c-client -I/usr/local/include -I/usr/local/mysql/include -I/usr/local/include/pspell -I/usr/src/php-4.2.3/ext/xml/expat -DLINUX=22 -DMOD_SSL=208111 -DUSE_HSREGEX -DEAPI -DEAPI_MM -I/usr/src/php-4.2.3/TSRM -g -O2 -prefer-pic -c gd.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 `zif_imagecreatefromstring':
gd.c:1093: `gdImageCreateFromGifCtx' undeclared (first use in this function)
gd.c:1093: (Each undeclared identifier is reported only once
gd.c:1093: for each function it appears in.)
gd.c: In function `_php_image_create_from':
gd.c:1209: structure has no member named `free'
gd.c: In function `zif_imagecreatefromgif':
gd.c:1236: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1236: `gdImageCreateFromGifCtx' undeclared (first use in this function)
gd.c: In function `zif_imagegif':
gd.c:1463: `gdImageGifCtx' undeclared (first use in this function)
gd.c: In function `_php_image_convert':
gd.c:3530: `gdImageCreateFromGif' used prior to declaration
gd.c:3530: warning: assignment makes pointer from integer without a cast
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.2.3/ext'
make: *** [all-recursive] Error 1

  • moto-moi
  • Registratie: Juli 2001
  • Laatst online: 09-06-2011

moto-moi

Ja, ik haat jou ook :w

Deze rpm depend op libgd.. Waarom zou je hem dan zelf willen compileren :?

God, root, what is difference? | Talga Vassternich | IBM zuigt


Verwijderd

Topicstarter
maybe domme vraag maar hoe kan ik dan mijn config opties meegeven?

./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-mysql=/usr/local/mysql --with-gettext --with-imap=../imap-2002.RC8 --with-zlib --with-openssl --enable-sockets --enable-ftp --enable-xml --enable-track-vars --enable-magic-quotes --with-curl=../curl-7.10 --enable-bcmatch --with-pdflib --with-sablot --with-mcrypt --with-mhash --enable-mbstring --with-pspell --with-gd --with-png-dir=/usr/src/libpng-1.2.5rc3 --with-jpeg-dir=/usr/src/jpeg-6b --with-freetype-dir=/usr

  • Kees
  • Registratie: Juni 1999
  • Laatst online: 15:28

Kees

Serveradmin / BOFH / DoC
http://www.php.net/~rasmus/gd.html

Die kun je het beste volgen als je GD2 wilt instaleren. En hoogstwaarschijnlijk is je systeem nu al zo fucked up door allerlei gd.lib bestanden overal dat je die eerst mag opzoeken en verwijderen :)

"Een serveradmin, voluit een serveradministrator, is dan weer een slavenbeheerder oftewel een slavendrijver" - Rataplan


Verwijderd

Topicstarter
die rpm werkt wel geinig ja, alleen werd me hele mysql vern***kt en ik zoek GD2