Bug #16203 Updated: Cannot configure with ming

From: Date: Fri, 22 Mar 2002 09:16:29 +0000
Subject: Bug #16203 Updated: Cannot configure with ming
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3129@lists.php.net to get a copy of this message
ID: 16203 Updated by: chassaing@domisys.com Reported By: chassaing@domisys.com -Status: Feedback +Status: Open Bug Type: Ming related Operating System: FreeBSD 4.3-STABLE PHP Version: 4.2.0RC1 New Comment: The problem is exactly the same with the latest snapshot (dated march 22th 2002). Previous Comments: ------------------------------------------------------------------------ [2002-03-21 18:23:09] mfischer@php.net Can you test if it works with current CVS ? ------------------------------------------------------------------------ [2002-03-21 11:44:06] chassaing@domisys.com 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. ------------------------------------------------------------------------ [2002-03-21 11:01:00] sniper@php.net What does config.log has to say about this? ------------------------------------------------------------------------ [2002-03-21 10:39:40] chassaing@domisys.com (edited to put the right PHP version) ------------------------------------------------------------------------ [2002-03-21 10:39:02] chassaing@domisys.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16203&edit=1

« previous php.bugs (#3129) next »