|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-03-21 10:39 UTC] chassaing at domisys dot com
With PHP 4.2.0RC1, it is not possible to compile with the ming module anymore. The configure script fails saying : checking for MING support... yes checking for Ming_useSWFVersion in -lming... no configure: error: Ming library 0.2a or greater required. Eventhough the ming library used REALLY is 0.2a and there's no problem using it with PHP 4.1.2 with the exact same configure options. Detail of configure options : ./configure \ --prefix=/usr/home/xxxx/local \ --enable-bcmath \ --with-zlib \ --with-png-dir=/usr/local \ --with-jpeg-dir=/usr/local \ --with-tiff-dir=/usr/home/xxxx/local \ --with-t1lib=/usr/home/xxxx/local \ --with-freetype-dir=/usr/home/xxxx/local \ --enable-gd-native-ttf \ --with-gd=/usr/home/xxxx/local \ --enable-exif \ --with-mysql=/usr/local \ --with-ming=/usr/home/xxxx/local \ --disable-pear \ --with-config-file-path=/usr/home/xxxx/local/etc \ --enable-debug=no \ --enable-force-cgi-redirect=yes \ --with-openssl=/usr/local/ssl \ --with-curl=/usr/home/xxxx/src/curl-7.9 \ --with-dom=/usr/home/xxxx/local PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 02:00:01 2025 UTC |
Part that seems to cover the problem (please specify if something else is needed - that file is looong) : configure:37608: checking for mhash support configure:37648: result: no configure:37988: checking for MING support configure:38028: result: yes configure:38049: checking for Ming_useSWFVersion in -lming configure:38076: gcc -o conftest -g -O2 -L/usr/home/xxxx/local/lib -lm -ldl -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 -lt1 -lfreetype -lpng -lz -ljpeg -lz -lm -lz -lxml2 -lcurl -lcrypto -lssl -lcurl -lz -lcrypt -lssl -lcrypto -lm -lcrypt >&5 /usr/libexec/elf/ld: cannot find -ldl configure:38079: $? = 1 configure: failed program was: #line 38057 "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:38096: result: no configure:38110: error: Ming library 0.2a or greater required.Here goes the part about opendl : configure:7515: checking for dlopen in -ldl configure:7542: gcc -o conftest -g -O2 conftest.c -ldl >&5 /usr/libexec/elf/ld: cannot find -ldl configure:7545: $? = 1 configure: failed program was: #line 7523 "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 dlopen (); int main () { dlopen (); ; return 0; } configure:7562: result: no Also way below : ac_cv_header_arpa_inet_h='yes' ac_cv_lib_dl_dlopen='no' php_cv_cc_dashr='yes'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.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.