#27625 [Opn->Fbk]: Freetype not to compile into
| From: | iliaa@php.net | Date: | Wed, 17 Mar 2004 14:24:17 +0000 |
| Subject: | #27625 [Opn->Fbk]: Freetype not to compile into | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56585@lists.php.net to get a copy of this message | ||
ID: 27625
Updated by: iliaa@php.net
Reported By: urs@php.net
-Status: Open
+Status: Feedback
Bug Type: *Compile Issues
Operating System: OS X 10.3.2
PHP Version: 5.0.0b4 (beta4)
New Comment:
What does your config.log say in regard to freetype2?
Previous Comments:
------------------------------------------------------------------------
[2004-03-17 07:12:55] urs@php.net
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