#37359 [NEW]: with-freetype-dir not used for libt1 test

From: Date: Mon, 08 May 2006 05:08:51 +0000
Subject: #37359 [NEW]: with-freetype-dir not used for libt1 test
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96792@lists.php.net to get a copy of this message
From: john at jcoppens dot com Operating system: Linux PHP version: 5.1.4 PHP Bug Type: *Configuration Issues Bug description: with-freetype-dir not used for libt1 test Description: ------------ I (tried) to run configure with --with-freetype-dir=/usr/X11 (among other options, of course). This works fine for libfreetype itself, but the config process stops on (failing) to detect libt1: If configure fails try --with-xpm-dir=<DIR> checking for FreeType 1 support... no - FreeType 2.x is to be used instead checking for T1_StrError in -lt1... no configure: error: Problem with libt1.(a|so). Please check config.log for more information. It says 'no' here, not because t1 doesn't exist, but because it cannot find freetype. From the config.log: configure:35897: checking for T1_StrError in -lt1 configure:35916: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/opt/gnome/lib -L/opt/gnome/lib conftest.c -lt1 -lfreetype -lpng -lz -lbz2 -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfreetype Probably because the /usr/X11 path is not included. Expected result: ---------------- I'd expect the path from --with-freetype-dir to be included in all places where it is needed. Sorry if I'm incorrect here... I'm not an expert programmer. -- Edit bug report at http://bugs.php.net/?id=37359&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37359&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37359&r=trysnapshot51 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37359&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37359&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37359&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37359&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37359&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37359&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37359&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37359&r=support Expected behavior: http://bugs.php.net/fix.php?id=37359&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37359&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37359&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37359&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37359&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37359&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37359&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37359&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37359&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37359&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37359&r=mysqlcfg

« previous php.bugs (#96792) next »