From:             toni dot viemero at iki dot fi
Operating system: Solaris 9 i386
PHP version:      4.3.6RC1
PHP Bug Type:     Compile Failure
Bug description:  freetype2 not found

Description:
------------
I'm running Solaris 9 (i386) with OpenPKG packages (www.openpkg.org).
OpenPKG packages install under /openpkg.



I've got libraries and headers installed with freetype-2.1.7 package.



/openpkg/lib/libfreetype.a

/openpkg/lib/libfreetype.la

/openpkg/include/freetype/*



./configure --with-gd=/openpkg --with-freetype-dir=/openpkg/lib
--with-t1lib=/openpkg --with-jpeg-dir=/openpkg --with-png-dir=/openpkg
--with-xpm-dir=/openpkg --with-zlib-dir=/openpkg



Last lines of ./configure output:

checking for GD support... yes

checking for the location of libjpeg... /openpkg

checking for the location of libpng... /openpkg

checking for the location of libXpm... /openpkg

checking for FreeType 1.x support... no

checking for FreeType 2... /openpkg/lib

checking for T1lib support... /openpkg

checking whether to enable truetype string function in GD... no

checking whether to enable JIS-mapped Japanese font support in GD... no

checking for jpeg_read_header in -ljpeg... yes

checking for png_write_image in -lpng... yes

checking for XpmFreeXpmImage in -lXpm... yes

configure: error: freetype2 not found!



config.log doesn't reveal anything useful.

Actual result:
--------------
Last lines of config.log:

configure:29567: checking for GD support

configure:29614: checking for the location of libjpeg

configure:29641: checking for the location of libpng

configure:29694: checking for the location of libXpm

configure:29719: checking for FreeType 1.x support

configure:29744: checking for FreeType 2

configure:29769: checking for T1lib support

configure:29794: checking whether to enable truetype string function in
GD

configure:29819: checking whether to enable JIS-mapped Japanese font
support in GD

configure:31813: checking for jpeg_read_header in -ljpeg

configure:31832: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS
-R/openpkg/lib -L/openpkg/lib  -R/usr/ucblib -L/usr/ucblib
-R/opt/openpkg/bin/../lib/gcc-lib/i386-pc-solaris2.9/3.3.3
-L/opt/openpkg/bin/../lib/gcc-lib/i386-pc-solaris2.9/3.3.3 -R/openpkg/lib
-L/openpkg/lib conftest.c -ljpeg  -lz -lresolv -lm -lsocket  -lgcc 1>&5

configure:32096: checking for png_write_image in -lpng

configure:32115: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS
-R/openpkg/lib -L/openpkg/lib -R/openpkg/lib -L/openpkg/lib  -R/usr/ucblib
-L/usr/ucblib -R/opt/openpkg/bin/../lib/gcc-lib/i386-pc-solaris2.9/3.3.3
-L/opt/openpkg/bin/../lib/gcc-lib/i386-pc-solaris2.9/3.3.3 -R/openpkg/lib
-L/openpkg/lib -lz conftest.c -lpng  -ljpeg -lz -lresolv -lm -lsocket 
-lgcc 1>&5

configure:32476: checking for XpmFreeXpmImage in -lXpm

configure:32495: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS
-R/openpkg/lib -L/openpkg/lib  -R/usr/ucblib -L/usr/ucblib
-R/opt/openpkg/bin/../lib/gcc-lib/i386-pc-solaris2.9/3.3.3
-L/opt/openpkg/bin/../lib/gcc-lib/i386-pc-solaris2.9/3.3.3 -R/openpkg/lib
-L/openpkg/lib -lX11 conftest.c -lXpm  -lpng -lz -ljpeg -lz -lresolv -lm
-lsocket  -lgcc 1>&5

-- 
Edit bug report at http://bugs.php.net/?id=27862&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27862&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27862&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27862&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27862&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27862&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27862&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27862&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27862&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27862&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27862&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27862&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27862&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27862&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27862&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27862&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27862&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27862&r=float

Reply via email to