This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/14431] New: "configure --with-libiconv-prefix=" is ignored


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]