[Bug libgcj/14431] New: "configure --with-libiconv-prefix=" is ignored
artem at bizlink dot ru
gcc-bugzilla@gcc.gnu.org
Thu Mar 4 15:50:00 GMT 2004
FreeBSD (both 4 and 5) have libiconv installed under /usr/local,
yet gcc thinks that there is no libiconv installed,
even when "--with-libiconv-prefix=/usr/local" configure option is present.
Workaround is to:
8<----------------------------->8
cd /usr/include
ln -s /usr/local/include/iconv.h
cd /usr/lib
ln -s /usr/local/lib/libiconv.so
cd /usr/bin
ln -s /usr/local/bin/iconv
8<----------------------------->8
After that "HAVE_ICONV" becomes properly defined
in libjava/include/config.h ...
Although this problem is global for a whole GCC,
I file this bug under libgcj becouse I didn't found a topic for
configure problems, and it seems that libgcj is primary
user of libiconv, and I primarily concerned about libiconv
available in libgcj...
I've encountered the same problem in gcc-3.2.2, so it is not a new one.
--
Summary: "configure --with-libiconv-prefix=" is ignored
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: artem at bizlink dot ru
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-unknown-freebsd5.1
GCC host triplet: i386-unknown-freebsd5.1
GCC target triplet: i386-unknown-freebsd5.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14431
More information about the Gcc-bugs
mailing list