#28162 [NEW]: compile error in gdft.c
| From: | info at rhalff dot com | Date: | Mon, 26 Apr 2004 16:06:03 +0000 |
| Subject: | #28162 [NEW]: compile error in gdft.c | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-58796@lists.php.net to get a copy of this message | ||
From: info at rhalff dot com
Operating system: linux
PHP version: 5CVS-2004-04-26 (dev)
PHP Bug Type: Compile Failure
Bug description: compile error in gdft.c
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 bug report at http://bugs.php.net/?id=28162&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28162&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28162&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28162&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28162&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28162&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28162&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28162&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28162&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28162&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28162&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28162&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28162&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28162&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28162&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28162&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28162&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28162&r=float