#38126 [NEW]: buiding error
| From: | paac80 at hotmail dot com | Date: | Mon, 17 Jul 2006 21:41:24 +0000 |
| Subject: | #38126 [NEW]: buiding error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-99551@lists.php.net to get a copy of this message | ||
From: paac80 at hotmail dot com
Operating system: Fedora core 4
PHP version: 5.1.4
PHP Bug Type: GD related
Bug description: buiding error
Description:
------------
I installed gd-2.0.33 and its libreries then i tried to build php 5.1.4
follow the next steps and I got a error message
./configure --with-mysql--with-apxs2=/usr/local/apache2/bin/apxs
--with-freetype --enable-calendar --with-freetype-dir=/usr
--with-jpeg-dir=/usr --with-gd=/usr --with-png-dir=/usr/local
--with-zlib-dir=/usr/src/libpng-1.2.12
make clean
make
and then show errors messages
Reproduce code:
---------------
some errors after type make
In file included from /usr/src/php-5.1.4/ext/gd/gd.c:68:
/usr/include/gdfontt.h:27: error: syntax error before 'gdFontPtr'
/usr/include/gdfontt.h:28: error: syntax error before 'gdFontGetTiny'
In file included from /usr/src/php-5.1.4/ext/gd/gd.c:69:
/usr/include/gdfonts.h:26: error: syntax error before 'gdFontPtr'
/usr/include/gdfonts.h:27: error: syntax error before 'gdFontGetSmall'
/usr/src/php-5.1.4/ext/gd/libgd/wbmp.h:48: confused by earlier errors,
bailing out
make: *** [ext/gd/gd.lo] Error 1
Expected result:
----------------
It must build succesfull
--
Edit bug report at http://bugs.php.net/?id=38126&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38126&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38126&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38126&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38126&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38126&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38126&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38126&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38126&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38126&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38126&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38126&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38126&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38126&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38126&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38126&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38126&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38126&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38126&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38126&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38126&r=mysqlcfg