#38126 [Opn->Fbk]: buiding error
| From: | iliaa@php.net | Date: | Tue, 18 Jul 2006 00:06:16 +0000 |
| Subject: | #38126 [Opn->Fbk]: buiding error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99553@lists.php.net to get a copy of this message | ||
ID: 38126
Updated by: iliaa@php.net
Reported By: paac80 at hotmail dot com
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: Fedora core 4
PHP Version: 5.1.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-07-17 21:41:24] paac80 at hotmail dot com
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 this bug report at http://bugs.php.net/?id=38126&edit=1