okay ik probeer php met GD2 te installeren op mijn RH7.3.
Ik begruik deze regel
./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-gd=/usr/local/gd-2.0.12 --with-jpeg-dir=/usr/lib --with-png-dir=/usr/local/libpng --with-zlib
dat gaat allemaal goed, maar als ik dan make doe krijg ik op het einde de volgende melding:
ook als ik --with-gd gebruik zonder path werkt het niet, iemand dit wel eens gehad?
Ik begruik deze regel
./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-gd=/usr/local/gd-2.0.12 --with-jpeg-dir=/usr/lib --with-png-dir=/usr/local/libpng --with-zlib
dat gaat allemaal goed, maar als ik dan make doe krijg ik op het einde de volgende melding:
code:
1
2
3
4
5
6
7
| ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam': /usr/local/src/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam' is dangerous, better use `mkstemp' /usr/bin/ld: warning: libpng.so.2, needed by /usr/local/gd-2.0.12/lib/libgd.so, may conflict with libpng.so.3 ext/gd/gd.lo: In function `zm_deactivate_gd': /usr/local/src/php-4.3.2/ext/gd/gd.c:382: undefined reference to `gdFreeFontCache' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 |
ook als ik --with-gd gebruik zonder path werkt het niet, iemand dit wel eens gehad?