#28162 [Opn]: compile error in gdft.c
| From: | info at rhalff dot com | Date: | Fri, 30 Apr 2004 21:45:58 +0000 |
| Subject: | #28162 [Opn]: compile error in gdft.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59081@lists.php.net to get a copy of this message | ||
ID: 28162
User updated by: info at rhalff dot com
Reported By: info at rhalff dot com
Status: Open
Bug Type: Compile Failure
Operating System: linux
PHP Version: 5CVS-2004-04-26 (dev)
New Comment:
I compiled it again without the --with-freetype-dir=/usr configure
option. And the compile is succesfull.
Since freetype is bundeled with php5 maybe the configure option should
be removed/ignored, so it will not look for an external freetype
library
Previous Comments:
------------------------------------------------------------------------
[2004-04-26 18:06:01] info at rhalff dot com
Description:
------------
php5 fails to compile, occures both in current snap as in RC2. I had no
problem compiling previous versions of php5.
Reproduce code:
---------------
Compile options:
--prefix=/usr \
--enable-discard-path \
--with-config-file-path=/etc/apache2/php5 \
--enable-safe-mode \
--enable-bcmath \
--with-bz2 \
--with-pic \
--enable-calendar \
--enable-ctype \
--with-gdbm \
--with-imap=/usr/local/imap-2002e\
--enable-dbase=shared \
--enable-dba=shared \
--enable-ftp \
--with-gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-freetype-dir=/usr \
--with-gmp=shared \
--with-mysql=shared,/usr \
--with-xml=/usr/local \
--enable-trans-sid \
--enable-shmop \
--enable-sockets \
--with-regex=php \
--enable-sysvsem \
--enable-sysvshm \
--enable-yp \
--enable-memory-limit \
--with-tsrm-pthreads \
--enable-shared \
--enable-debug \
--with-zlib=/usr \
--with-pspell=shared,/usr \
--with-gettext=shared,/usr \
--enable-inline-optimization \
--disable-static \
--with-mime-magic \
--with-mhash=/usr/local \
--enable-xslt \
--with-xslt-sablot \
--with-dom \
--with-xml-rpc \
--enable-wddx \
--enable-cli \
--with-readline \
--without-pear
Expected result:
----------------
succesfull build
Actual result:
--------------
/php5_source/php5-200404261430/ext/gd/libgd/gdft.c -fPIC -DPIC -o
ext/gd/libgd/gdft.lo
/php5_source/php5-200404261430/ext/gd/libgd/gdft.c: In function
`fontFetch':
/php5_source/php5-200404261430/ext/gd/libgd/gdft.c:439:
`FT_ENCODING_MS_SYMBOL' undeclared (first use in this function)
/php5_source/php5-200404261430/ext/gd/libgd/gdft.c:439: (Each
undeclared identifier is reported only once
/php5_source/php5-200404261430/ext/gd/libgd/gdft.c:439: for each
function it appears in.)
/php5_source/php5-200404261430/ext/gd/libgd/gdft.c:440:
`FT_ENCODING_ADOBE_CUSTOM' undeclared (first use in this function)
/php5_source/php5-200404261430/ext/gd/libgd/gdft.c:440:
`FT_ENCODING_ADOBE_STANDARD' undeclared (first use in this function)
/php5_source/php5-200404261430/ext/gd/libgd/gdft.c: In function
`gdImageStringFTEx':
/php5_source/php5-200404261430/ext/gd/libgd/gdft.c:904:
`FT_ENCODING_MS_SYMBOL' undeclared (first use in this function)
make[1]: *** [ext/gd/libgd/gdft.lo] Error 1
make[1]: Leaving directory `/php5_source/php5-200404261430'
make: *** [build] Error 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28162&edit=1