#31224 [Opn->Fbk]: iconv path is locked to /usr/local

From: Date: Tue, 21 Dec 2004 08:54:28 +0000
Subject: #31224 [Opn->Fbk]: iconv path is locked to /usr/local
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70807@lists.php.net to get a copy of this message
ID: 31224 Updated by: derick@php.net Reported By: js at enradia dot com -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: gentoo 2.6.9 PHP Version: 5.0.3 New Comment: What does config.log say, perhaps you're missing headers? Also... as you're running linux you should not have to use any paths/external libraries in the first place, as glibc already contains a iconv implementation. Previous Comments: ------------------------------------------------------------------------ [2004-12-21 09:23:47] js at enradia dot com Description: ------------ I cannot override the iconv path with either: --with-iconv-dir=/new/path or --with-iconv=/new/path (the configure file seem to either accept both or are unclear as to which is needed) Reproduce code: --------------- my configure statement is like this: --prefix="/new/path" \ --with-config-file-path="/new/path/etc" \ --with-zlib-dir="/new/path/include" \ --with-libxml-dir="/new/path" \ --enable-sockets \ --enable-wddx \ --with-iconv-dir=/stuff/code/php-module \ --with-iconv="/new/path" \ --with-xsl="/new/path" \ --with-expat-dir="/new/path" \ --with-gd \ --with-gd-native-ttf \ --with-jpeg-dir="/new/path" \ --with-png-dir=/new/path \ --with-xmlrpc="/new/path" \ --with-zlib \ --enable-discard-path Expected result: ---------------- Actual result: -------------- My config breaks with: checking libexpat install dir... no checking whether libxml build works... (cached) yes checking for XMLRPC-EPI support... yes checking libexpat dir for XMLRPC-EPI... /new/path checking iconv dir for XMLRPC-EPI... /usr/local configure: error: iconv not found, in order to build xmlrpc you need the iconv library ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31224&edit=1

« previous php.bugs (#70807) next »