Bruno Haible wrote:

> > No, I do have iconv installed.  It's the one from libiconv 1.6.
> 
> It's a feature of *BSD to hide GNU libraries that you have installed,
> so the compiler doesn't find them. The gettext-0.10.36/INSTALL file
> gives a workaround; search for FreeBSD in there.

Do you mean this part:

-------------
   On FreeBSD, NetBSD, and OpenBSD, the compiler doesn't search include
files in /usr/local/include, and the linker doesn't search libraries in
/usr/local/lib.  Therefore some packages won't find other packages
installed earlier.  To overcome this problem, it is recommended to use
the following options:

     env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
-------------

Ehm, I think it's very wrong for a compiler to use files and libraries in
/usr/local if the user didn't explicitly ask for this.  That the compiler only
uses the header files and libraries that came with it is the normal behavior.

Why would the compiler look in /usr/local?  He might as well look in
/opt/share, /usr/share/local, or whatever.  Compilers should not be that
smart.

At the same time, I realise that this is just my opinion.  Others may want it
differently.  Depending on these opinions different systems have been
developed.

"configure" was made to find the right things on the system.  This is where
portability problems are to be solved.  Thus the problem is with the configure
script, not with FreeBSD or the compiler.

Basic statement: FreeBSD, or any other *BSD system is as it is.  These systems
have been installed and people all around the world use them.  Someone who
writes portable source code will have to accept that.  Autoconf was created to
inspect the system and adjust to it, without requireing the user to edit the
Makefile or give options to tell what kind of system he is using.  And that is
what it should do.  Only when there are choices that can't be made
automatically would the user have to specify what needs to be done.

-- 
hundred-and-one symptoms of being an internet addict:
18. Your wife drapes a blond wig over your monitor to remind you of what she
    looks like.

 ///  Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.moolenaar.net  \\\
(((   Creator of Vim - http://www.vim.org -- ftp://ftp.vim.org/pub/vim   )))
 \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to