ID: 16203 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Ming related Operating System: FreeBSD 4.3-STABLE PHP Version: 4.2.0RC4 New Comment:
Indeed I changed the config options (because GD 2.0.1 doesn't compile anymore either) and freetype had been removed. I made more test : - it compiles fine without GD and freetype (so freetype is not required for ming ?) - it breaks if I add GD (1.8 series) without freetype or another graphic extensions Previous Comments: ------------------------------------------------------------------------ [2002-04-20 13:18:19] [EMAIL PROTECTED] Was the configure line same as before? (ie. same as in your first note) It looks like for some reason, the -lfreetype is not added to the LIBS. Could you send me the whole config.log, please? ------------------------------------------------------------------------ [2002-04-20 12:30:47] [EMAIL PROTECTED] Here's what config.log says : configure:37687: checking for Ming_useSWFVersion in -lming configure:37714: gcc -o conftest -g -O2 -L/usr/home/xxxx/local/lib -R/usr/local/ssl/lib -L/usr/local/ssl/lib -R/usr/local/lib -L/usr/local/lib -R/usr/home/xxxx/src/curl-7.9/lib -L/usr/home/xxxx/src/curl-7.9/lib -R/usr/home/xxxx/local/lib -L/usr/home/xxxx/local/lib -R/lib -L/lib conftest.c -lming -lgd -lpng -lz -ljpeg -lz -lm -lz -lxml2 -lcurl -lcrypto -lssl -lcurl -lz -lcrypt -lssl -lcrypto -lm -lcrypt >&5 /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Init_FreeType' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Load_Glyph' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Done_Face' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Get_Kerning' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Get_Char_Index' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Get_Glyph' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Glyph_To_Bitmap' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Set_Char_Size' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Done_Glyph' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Glyph_Get_CBox' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_New_Face' /usr/home/xxxx/local/lib/libgd.so: undefined reference to `FT_Glyph_Transform' configure:37717: $? = 1 configure: failed program was: #line 37695 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char Ming_useSWFVersion (); int main () { Ming_useSWFVersion (); ; return 0; } configure:37734: result: no configure:37748: error: Ming library 0.2a or greater required. ------------------------------------------------------------------------ [2002-04-19 11:32:00] [EMAIL PROTECTED] What does config.log has to say about this? ------------------------------------------------------------------------ [2002-04-19 11:14:04] [EMAIL PROTECTED] Just tested with 4.2.0 RC4 and the bug is still there. ------------------------------------------------------------------------ [2002-03-27 22:01:08] [EMAIL PROTECTED] tested with php4-200203271800 and erro exists again. configure:37658: checking for Ming_useSWFVersion in -lming configure:37685: gcc -o conftest -g -O2 -DMOD_SSL=208106 -DEAPI -DEAPI_MM -DUSE_EXPAT -L/usr/lib -R/usr/local/ssl/lib -L/usr/local/ssl/lib -R/usr/local/lib -L/usr/local/lib -R/usr/X11R6/lib -L/usr/X11R6/lib conftest.$ /usr/local/lib/libc-client4.so: undefined reference to `mm_expunged' /usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror' /usr/local/lib/libc-client4.so: undefined reference to `mm_lsub' /usr/local/lib/libc-client4.so: undefined reference to `mm_flags' /usr/local/lib/libc-client4.so: undefined reference to `mm_fatal' /usr/local/lib/libc-client4.so: undefined reference to `mm_nocritical' /usr/local/lib/libc-client4.so: undefined reference to `mm_notify' /usr/local/lib/libc-client4.so: undefined reference to `mm_searched' /usr/local/lib/libc-client4.so: undefined reference to `mm_status' /usr/local/lib/libc-client4.so: undefined reference to `mm_login' /usr/local/lib/libc-client4.so: undefined reference to `mm_list' /usr/local/lib/libc-client4.so: undefined reference to `mm_critical' /usr/local/lib/libc-client4.so: undefined reference to `mm_exists' /usr/local/lib/libc-client4.so: undefined reference to `mm_log' /usr/local/lib/libc-client4.so: undefined reference to `mm_dlog' configure:37688: $? = 1 configure: failed program was: #line 37666 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char Ming_useSWFVersion (); int main () { Ming_useSWFVersion (); ; return 0; } configure:37705: result: no configure:37719: error: Ming library 0.2a or greater required. ------------------------------------------------------------------------ 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/16203 -- Edit this bug report at http://bugs.php.net/?id=16203&edit=1