ID: 28162 Updated by: [EMAIL PROTECTED] Reported By: info at rhalff dot com -Status: Open +Status: Feedback -Bug Type: Compile Failure +Bug Type: GD related Operating System: linux PHP Version: 5CVS-2004-04-26 (dev) New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-04-30 23:45:57] info at rhalff dot com 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 ------------------------------------------------------------------------ [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