Hi <?$ALL?>, i am working for at least 10 hours on a new php upgrade now. I am using php 4.1.2 on linux , suse 7.0, postgres 7.1.2 and compiled on my own the packages from postgres, ldap+berkeley, ssl, apache , zlib, gdlib incl. libjpg, libmng, libpng, freetype-1.3.1 and freetype-2.0.9 . More details may follow. :-) Everytime, after i tried to build php containing the gdlib with freetype 1 AND 2 , my php gives a mass of warnings. Currently i get the error message "PHP Warning: ô,àþ¿N) @?÷(@Àâ(@¸ in /daten/ep_mp/admin_ep/de/mkimage/mkimage_ep.php4 on line 29" [[ these strange chars are for real , not from my outlook client ]]when I call the php shell version with a file containing a call to "ImageTTFText()" in this particular file.
My php configure is: ./configure --prefix=/daten/php \ --with-config-file-path=/daten/php \ --with-pgsql=/postgres \ --enable-dbase \ --with-ldap \ --without-mysql \ --enable-ftp \ --with-zlib \ --with-bz2 \ --enable-wddx \ --with-xml \ --enable-trans-sid \ --with-pdflib \ --with-gd=/daten/wwwsrc/gd-1.8.4 \ --enable-gd-native-ttf \ --with-png-dir \ --with-jpeg-dir \ --with-freetype-dir=/daten/wwwsrc/freetype-2.0.9 \ --with-ttf Is there a general problem with FT 1 AND 2 in one installation? 2 Questions: 1st: To what directory shall the with-freetype-dir point? The one containing the .h files? I am very newbie to linux system libraries. 2nd: What is behind the functions --with-ttf or --enable-gd-native-ttf ? Is it wise to use these options and what do they mean? I don't understand, if i have to edit the Makefile from gdlib, too, i have done so, but is it used when i only use gd within my php installation ? How can i check that my gd-lib works with the options i wanted? BTW: Without the --with-freetype-dir option ( and after removing all freetype2-relevant entries from the gdlib-Makefile ) my programs work again. But i want to use freetype2 together with ttf for our old projects using functions like "ImageTTFText()" ! I would be glad, if someone could help me. This is not my first php installation, but my worst :-) -- Andre Gellert ElectronicPartner GmbH & Co KG Entwickler Neue Medien fon: +49 211 4156 6735 fax: +49 211 4156 308 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php