ID: 20484 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: ICONV related Operating System: Linux RH 7.3, gnu libiconv PHP Version: 4CVS-2002-11-18 (dev) New Comment:
Can you please try --with-iconv without "=/usr" and without the "--with-iconv-dir=/usr"? Your Redhat 7.3 should have a glibc 2.2.x, which has iconv builtin, so there's AFAIK no point in installing an extra libiconv. Previous Comments: ------------------------------------------------------------------------ [2002-11-18 11:37:11] [EMAIL PROTECTED] Hello, I used redhat 7.3 and current cvs, iconv installed from sources using version 1.8 (no rpm previously installed). Configure options:./configure --prefix=/usr/local \ --enable-cli \ --enable-exif \ --with-calendar=shared \ --enable-magic-quotes \ --enable-trans-sid \ --enable-wddx \ --enable-ftp \ --with-gd \ --with-zlib \ --enable-gd-native-tt \ --with-t1lib="/usr/local" \ --with-jpeg-dir="/usr" \ --with-png-dir="/usr" \ --with-zlib-dir="/usr" \ --with-ttf \ --with-freetype-dir="/usr" \ --with-mcrypt=/usr \ --with-unixodbc=/usr \ --with-tiff-dir="/usr" \ --with-jpeg-dir="/usr" \ --with-zlib-dir="/usr" \ --with-xmlrpc \ --with-openssl="/usr" \ --with-ming="/usr/local" \ --enable-bcmath \ --with-gettext="/usr" \ --with-mysql=/usr \ --with-pgsql=/usr \ --with-ibm-db2 \ --enable-xslt \ --with-xslt-sablot=/usr \ --with-sablot-js=/usr \ --enable-sockets \ --with-imagick=/usr/local \ --with-dom \ --with-dom-xslt \ --with-dom-exslt \ --with-java=/usr/java/jdk1.3.1_03 \ --with-tokenizer \ --with-iconv=/usr \ --with-iconv-dir=/usr \ make failed on: /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c: In function `zm_startup_miconv': /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:140: `_libiconv_version' undeclared (first use in this function) /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:140: (Each undeclared identifier is reported only once /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:140: for each function it appears in.) /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c: In function `php_iconv_string': /home/paj/projects/phpcvsbuild/php4/ext/iconv/iconv.c:255: warning: assignment makes pointer from integer without a cast make: *** [ext/iconv/iconv.lo] Error 1 It seems the wrong lib are detected: <snip> 136 #if HAVE_LIBICONV 137 { 138 static char buf[16]; 139 snprintf(buf, sizeof(buf), "%d.%d", 140 ((_libiconv_version >> 8) & 0x0f), (_libiconv_version & 0x0f)); 141 version = buf; 142 } 143 #elif HAVE_GLIBC_ICONV 144 version = (char *)gnu_get_libc_version(); 145 #endif <snip> hth pa ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20484&edit=1