#21533 [Opn]: Trouble building PHP w/ GD and including ImageTTFxxx functions
| From: | iliaa@php.net | Date: | Tue, 21 Jan 2003 20:20:13 +0000 |
| Subject: | #21533 [Opn]: Trouble building PHP w/ GD and including ImageTTFxxx functions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30861@lists.php.net to get a copy of this message | ||
ID: 21533
Updated by: iliaa@php.net
Reported By: jeffabruce@hotmail.com
Status: Open
Bug Type: GD related
Operating System: RH 7.2
PHP Version: 4.3.0
New Comment:
The ifdef is correct, because no matter what the value will be assigned
to error. There is another ifdef surrounding this code which has an
else condition that is used to set a value to error. So the crash you
are seeing comes from elsewhere.
Previous Comments:
------------------------------------------------------------------------
[2003-01-21 09:28:38] jeffabruce@hotmail.com
PHP build:
configure --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --enable-track-vars
--with-imap=/usr/local/imap --with-gd --enable-ftp --enable-sysvsem
--enable-sysvshm --enable-sockets --with-gettext
--with-mm=/usr/local/lib/mm --with-jpeg-dir=/usr/lib
--with-zlib-dir=/usr/local --with-openssl=/usr/local/ssl --with-ttf
--enable-gd-native-ttf --enable-gd-imgstrttf
--with-freetype-dir=/usr/local --with-dom
FreeType:
freetype-1.3.1.tar.gz was untarred and built and installed with:
configure
make
make install
------------------------------------------------------------------------
[2003-01-20 17:11:22] sniper@php.net
What was the configure line ? And exactly what freetype 1.x
version was installed? And how?
------------------------------------------------------------------------
[2003-01-20 16:48:08] jeffabruce@hotmail.com
I'm really not a Linux developer, and although what you are asking for
sounds easy enough, I don't know how to give you what you want.
I would like to reiterate that there are 2 issues here:
1. Configure incorrectly reporting my support for FreeType2
2. gd.c has code that given certain #if conditions, leaves the variable
'error' undefined. The crash is occuring because of the reference to
this floating pointer. I assume you want a backtrace to determine the
line of code that is crashing, but I'm *giving* you the line of code
that is crashing.
------------------------------------------------------------------------
[2003-01-09 19:44:35] iliaa@php.net
Can you generate a backtrace from the core file and please provide the
shortest possible version of the script that can be used to duplicate
the crash.
------------------------------------------------------------------------
[2003-01-09 09:24:09] jeffabruce@hotmail.com
I am using the bundled GD library.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21533
--
Edit this bug report at http://bugs.php.net/?id=21533&edit=1