[Slackware8.1] GD2 + php4.2.2 `make` error

Pagina: 1
Acties:

  • razor-x
  • Registratie: Februari 2001
  • Laatst online: 05-06 07:37
Hoi,
Ik ben bezig om gd2 te installeeren , maar hij werkt niet :( (zie error onderaan)

Ik gebruik dit bij ./configure
code:
1
./configure --with-apxs --with-xml --enable-ftp --with-gd --with-jpeg-dir --with-png-dir --with-mysql --enable-safe-mode --enable- track-vars --with-ttf --enable-versioning --with-zlib

nou dat werkt..
maar dan typ ik `make` : gaat int begin allemaal goed, en dan krijg ik een error!
Making all in gd
make[2]: Entering directory `/emiel/php-4.2.2/ext/gd'
make[3]: Entering directory `/emiel/php-4.2.2/ext/gd'
/bin/sh /emiel/php-4.2.2/libtool --silent --mode=compile gcc -I. -I/emiel/php-4.2.2/ext/gd -I/emiel/php-4.2.2/main -I/emiel/php-4.2.2 -I/usr/include/apache -I/emiel/php-4.2.2/Zend -I/usr/local/include/freetype -I/emiel/php-4.2.2/ext/mysql/libmysql -I/emiel/php-4.2.2/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/emiel/php-4.2.2/TSRM -g -O2 -prefer-pic -c gd.c
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/emiel/php-4.2.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/emiel/php-4.2.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/emiel/php-4.2.2/ext'
make: *** [all-recursive] Error 1
root@host:/emiel/php-4.2.2#
Dit is voormij niet echt een duidelijke error, en ik heb ook geen idee wat ik er tegen moet doen?

(php4.2.2 en gd2 dus :) )

  • razor-x
  • Registratie: Februari 2001
  • Laatst online: 05-06 07:37
Bedankt voor jullie hulp, jullie waren geweldig :+

[rml][ make] static declaration follows non-static e.a.[/rml]

de oplossing