#18672 [NEW]: configure fails to report correct problem

From: Date: Wed, 31 Jul 2002 15:10:31 +0000
Subject: #18672 [NEW]: configure fails to report correct problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15690@lists.php.net to get a copy of this message
From: niklas.fondberg@i3micro.com Operating system: debian unstable PHP version: 4.2.2 PHP Bug Type: ICONV related Bug description: configure fails to report correct problem When configuring --with-iconv or --with-xslt-sablot the following error is resieved: ----- checking for iconv... no checking for libiconv... no checking for libiconv in -liconv... no checking for iconv in -liconv... no configure: error: iconv not found, in order to build sablotron you need the iconv library ----- config.log shows this: configure:66574: checking for libiconv configure:66602: gcc -o conftest -g -O2 -Wl,-rpath,/lib -L/lib conftest.c -lexpat -lmm -lcrypt -lgd -lexslt -lxsltbreakpoint -lxml 2 -lxslt -lz -lxml2 -lcurl -ldl -lcrypto -lssl -lcurl -lbz2 -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lg ssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5 /usr/bin/ld: cannot find -lgssapi_krb5 collect2: ld returned 1 exit status configure: failed program was: #line 66579 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char libiconv(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char libiconv(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_libiconv) || defined (__stub___libiconv) choke me #else libiconv(); #endif ; return 0; } -- Edit bug report at http://bugs.php.net/?id=18672&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18672&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18672&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18672&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18672&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18672&r=support Expected behavior: http://bugs.php.net/fix.php?id=18672&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18672&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18672&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18672&r=globals

« previous php.bugs (#15690) next »