ID: 27625 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Closed Bug Type: *Compile Issues Operating System: OS X 10.3.2 PHP Version: 5.0.0b4 (beta4) New Comment:
The problem has been solved. By specifically pointing to --with-freetype-dir=/sw/lib/freetype2/ PHP5 compiled without any problem. Previous Comments: ------------------------------------------------------------------------ [2004-03-17 09:24:16] [EMAIL PROTECTED] What does your config.log say in regard to freetype2? ------------------------------------------------------------------------ [2004-03-17 07:12:55] [EMAIL PROTECTED] Description: ------------ PHP 5 compiles and installs properly on OSX; but with adding the "--with-freetype-dir=/sw/" it finally states, that the freetype library could not be found even though they have been installed priorly with "sudo apt-get install freetype2-dev freetype2". The configure statement looks like this: ./configure \ --disable-cgi \ --disable-pdo \ --prefix=/usr/local/php5 \ --with-zlib \ --with-iconv=/sw/ \ --without-bundle-libxml \ --with-dom=/sw/ \ --with-libxml-dir=/sw/ \ --with-xsl=/sw/ \ --disable-pear \ --with-gd \ --with-freetype-dir=/sw/ \ --with-jpeg-dir=/sw/ \ --with-png-dir=/sw/ \ --enable-sockets \ --enable-pcntl \ --enable-shmop \ --enable-sysvshm \ --enable-sysvsem \ --with-mysql=/usr/local/mysql/ \ --enable-debug \ --with-apxs2=/usr/local/apache2/bin/apxs Reproduce code: --------------- Here the relevant configure results: checking whether to enable FTP support... no checking for GD support... yes checking for the location of libjpeg... /sw/ checking for the location of libpng... /sw/ checking for the location of libXpm... no checking for FreeType 1.x support... no checking for FreeType 2... /sw/ checking for T1lib support... no checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... yes checking for floorf... yes checking for jpeg_read_header in -ljpeg... yes checking for png_write_image in -lpng... yes If configure fails try --with-xpm-dir=<DIR> configure: error: freetype2 not found! blaze:~/Desktop/tmp/php-5.0.0b4 me$ Expected result: ---------------- It was expected, that PHP 5 would compile properly without an error, since the libs are there. Actual result: -------------- If configure fails try --with-xpm-dir=<DIR> configure: error: freetype2 not found! blaze:~/Desktop/tmp/php-5.0.0b4 me$ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27625&edit=1
