ID: 12607 Comment by: blow-extreme849 at hotmail dot com Reported By: mochaexpress at yahoo dot com Status: Bogus Bug Type: *Configuration Issues Operating System: NetBSD/Alpha 1.5W PHP Version: 4.0CVS-2001-08-06 New Comment:
<a href=http://yellow-feet-image-a.da.ru>blow extreme</a> Previous Comments: ------------------------------------------------------------------------ [2001-08-17 01:58:29] mochaexpress at yahoo dot com got the snap, ran configure with my options before.. it did pass that point but stopped at: checking libexpat dir for Sablotron 0.50... yes checking for SablotSetEncoding in -lsablot... yes checking for iconv_open in -lc... no configure: error: iconv not found # tail config.log #line 48473 "configure" #include "confdefs.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 iconv_open(); int main() { iconv_open() ; return 0; } --- then i applied this patch i sent in before, but it looks like it didn't make it to cvs yet: --- iconv/config.m4.orig Mon Jun 25 08:42:44 2001 +++ iconv/config.m4 Mon Jun 25 09:30:37 2001 @@ -29,7 +29,7 @@ if test -e $ICONV_DIR/lib/libconv.a -o -e $ICONV_DIR/lib/libiconv.so ; then PHP_ADD_LIBRARY_WITH_PATH(iconv, $ICONV_DIR/lib, ICONV_SHARED_LIBADD) - AC_CHECK_LIB(iconv, iconv_open, AC_DEFINE(HAVE_ICONV, 1, [ ])) + AC_CHECK_LIB(iconv, libiconv_open, AC_DEFINE(HAVE_LIBICONV, 1, [ ])) else AC_CHECK_LIB(c, iconv_open, AC_DEFINE(HAVE_ICONV, 1, [ ])) fi --- sablot/config.m4.orig Mon Jun 25 10:10:56 2001 +++ sablot/config.m4 Mon Jun 25 10:10:22 2001 @@ -49,7 +49,11 @@ fi found_iconv=no - AC_CHECK_LIB(c, iconv_open, found_iconv=yes) + if test -e $ICONV_DIR/lib/libconv.a -o -e $ICONV_DIR/lib/libiconv.so ; then + AC_CHECK_LIB(iconv, libiconv_open, found_iconv=yes) + else + AC_CHECK_LIB(c, iconv_open, found_iconv=yes) + fi if test "$found_iconv" = "no"; then if test "$PHP_ICONV" = "no"; then for i in /usr /usr/local; do --- xslt/config.m4.orig Mon Jun 25 10:11:57 2001 +++ xslt/config.m4 Mon Jun 25 10:13:13 2001 @@ -65,7 +65,11 @@ fi found_iconv=no - AC_CHECK_LIB(c, iconv_open, found_iconv=yes) + if test -e $ICONV_DIR/lib/libconv.a -o -e $ICONV_DIR/lib/libiconv.so ; then + AC_CHECK_LIB(iconv, libiconv_open, found_iconv=yes) + else + AC_CHECK_LIB(c, iconv_open, found_iconv=yes) + fi if test "$found_iconv" = "no"; then if test "$PHP_ICONV" = "no"; then for i in /usr /usr/local; do --- iconv/iconv.c.orig Mon Jun 25 11:14:39 2001 +++ iconv/iconv.c Mon Jun 25 11:08:40 2001 @@ -25,7 +25,7 @@ #include "php.h" -#if HAVE_ICONV +#if HAVE_ICONV || HAVE_LIBICONV #include <iconv.h> ---- then ran ./buildconf followed by configure... configure finished without any further problems. gmake went pretty smooth as well. it almost even finished 'til this: /bin/sh /home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235/libtool --silent --mode=l ink gcc -I. -I/home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235/ -I/home/staffs/t/t om/work/php/php4-current/snap/php4-200108162235/main -I/home/staffs/t/tom/work/php/php4-current/s nap/php4-200108162235 -I/home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235/Zend -I/u sr/local/include/freetype2/freetype -I/usr/pkg/include -I/usr/local/include/mysql -I/usr/local/in clude -I/usr/local/install/Sablot-0.52/include -I/usr/pkg/include -I/home/staffs/t/tom/work/php/ php4-current/snap/php4-200108162235/TSRM -g -O2 -Wl,-export-dynamic -Wl,-R/usr/lib -L/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/X11R6/li b -L/usr/X11R6/lib -o php -export-dynamic stub.lo libphp4.la ./.libs/libphp4.a(gd.o): In function `php_imagettftext_common': /home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235/ext/gd/gd.c:2748: undefined refer ence to `gdImageStringFT' /home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235/ext/gd/gd.c:2748: undefined refer ence to `gdImageStringFT' collect2: ld returned 1 exit status gmake[1]: *** [php] Error 1 gmake[1]: Leaving directory `/home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235' gmake: *** [all-recursive] Error 1 --- but i think that is a diff problem altoghether. you probably could close this now. we can open a new one for gd :) ------------------------------------------------------------------------ [2001-08-17 01:34:46] [EMAIL PROTECTED] Obviously your cvs checkout isn't clean. Please use the snapshots from http://snaps.php.net/ --Jani ------------------------------------------------------------------------ [2001-08-17 01:30:58] [EMAIL PROTECTED] Oops, should have read more closely :/ But you can give it a try if it doesn't work. - Markus ------------------------------------------------------------------------ [2001-08-17 01:23:47] mochaexpress at yahoo dot com trying an ealier libtool won't help. i did that already -- all the way back to 1.3.5. i'm pretty sure i don't have any cvs conflicts. i've even tried it with a fresh cvs checkout. the line: <<<<<<< config.m4 was in the configure script (preceeded by the other lines). just now i moved the ./ext/iconv directory outside of ./ext and did the configure again. it WORKED (for the configure part anyway). i think one of the file in iconv dir is messed up. ------------------------------------------------------------------------ [2001-08-17 01:13:24] [EMAIL PROTECTED] Oops, should have read more closely :/ But you can give it a try if it doesn't work. - Markus ------------------------------------------------------------------------ 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/12607 -- Edit this bug report at http://bugs.php.net/?id=12607&edit=1
