From:             [EMAIL PROTECTED]
Operating system: OS X 10.3.2
PHP version:      5.0.0b4 (beta4)
PHP Bug Type:     *Compile Issues
Bug description:  Freetype not to compile into

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

Reply via email to