ID:               16203
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Ming related
 Operating System: FreeBSD 4.3-STABLE
 PHP Version:      4.2.0RC4
 New Comment:

Is your GD library compiled with freetype support?
Please try PHP 4.2.0 and send me the full config.log
to [EMAIL PROTECTED] and I'll check what fails there.

The configure should fail while checking the GD library..

--Jani



Previous Comments:
------------------------------------------------------------------------

[2002-04-23 11:57:39] [EMAIL PROTECTED]

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

------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

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

Reply via email to