Salut.
Incerc sa compilez un php cu suport gd2 built-in. Atm sunt aproape sigur
ca php-ul nu vrea sa aiba libgd2 link-at static in sinea lui.
php 4.3.10 ( don't ask ), libgd2, gcc 3.5, Debian Sarge
build-ul il fac asa:
# CFLAGS="-O2" INCLUDES="-I/tmp/gd2/include" LIBS="/tmp/gd2/lib/libgd.a
/tmp/freetype2/lib/libfreetype.a /tmp/t1lib/lib/libt1.a" ./configure
--prefix=/tmp/phpbuild --with-apache=../apache_1.3.33
--with-config-file-path=/var/apasa/conf --with-mysql
--enable-magic-quotes --enable-track-vars --with-mcrypt --with-zlib
--with-xml --enable-sysvshm --enable-sysvsem --disable-display-source
--enable-memory-limit --with-gdbm --disable-debug --with-gd=/tmp/gd2/
--with-secure=../openssl-0.9.7e --with-freetype-dir=/tmp/freetype2/
--with-t1lib=/tmp/t1lib/
# make; make install
#ldd /tmp/phpbuild/bin/php
...
libgd.so.2 => /tmp/gd2/lib/libgd.so.2 (0x00168000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x001b7000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x001d6000)
libt1.so.5 => /tmp/t1lib/lib/libt1.so.5 (0x00202000)
libfreetype.so.6 => /tmp/freetype2/lib/libfreetype.so.6 (0x00257000)
...
Exista vreo smecherie ca sa fac din php-ul ala un binar mare si valoros sau imi
ascut apt-get upgrade-ul ?
Multam,
--
+ Lorin
+ BOFH excuse #5: static from plastic slide rules
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug