#22973 [Opn->Bgs]: 'make' fails with "--with-freetype-dir=..." config
| From: | sniper@php.net | Date: | Mon, 31 Mar 2003 07:49:57 +0000 |
| Subject: | #22973 [Opn->Bgs]: 'make' fails with "--with-freetype-dir=..." config | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36764@lists.php.net to get a copy of this message | ||
ID: 22973
Updated by: sniper@php.net
Reported By: sprice at wisc dot edu
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: Mac 10.2.4
PHP Version: 4CVS-2003-03-30 (stable)
New Comment:
You need to report this to the Freetype people.
Seems like they just don't export that function at all for Mac..
Previous Comments:
------------------------------------------------------------------------
[2003-03-30 23:24:04] sprice at wisc dot edu
When PHP is compiling I get this error:
[...]
gcc -dynamic -twolevel_namespace -bundle -bundle_loader /usr/sbin/httpd
-g -O2 -L/usr/local/lib ext/zlib/zlib.o [... whole slew of object
files ...] main/internal_functions.o -lfreetype -lpng -lz -ljpeg -lz
-lm -o libs/libphp4.bundle && cp libs/libphp4.bundle libs/libphp4.so
ld: Undefined symbols:
_FT_New_Face
make: *** [libs/libphp4.bundle] Error 1
%
My configure looks like this:
./configure --with-apxs --with-mysql --with-gd --disable-short-tags
--with-zlib-dir=/usr --with-jpeg-dir=/usr/local
--with-png-dir=/usr/local --enable-exif --with-freetype-dir=/usr/local
and it only fails when I use "--with-freetype-dir=/usr/local". I am not
sure if I am building FreeType right, but if I was doing something
wrong, I figure that the PHP configure/build process would throw an
error earlier. (I have no reason to believe that it isn't built right,
I just haven't used it before...)
I am usig freetype v2.1.4rc2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22973&edit=1