Udo Schweigert wrote:
> On Sat, Jun 01, 2002 at 03:39:46 -0700, Will Yardley wrote:
[ thanks also to steve for his message ]

> > error on FreeBSD 4.5... 1.3.27 built ok on this system.
> > 
> > no patches or anything... anyone else see an error like this, or should
> > i send a message to mutt-dev?
> > 
> > roland% ./configure --sysconfdir=/etc --enable-exact-address
> > [configure works OK]
 
> iconv is not part of the base system and wont be found. I wonder why your
> configure didn't complain about a missing iconv. I always need 
> --with-libiconv-prefix=/usr/local on FreeBSD.
> 
> Which version are you talking about here? 1.4, 1.5.1, or cvs?

sorry - thought i wrote that.  it was 1.4

i believe libiconv is installed, and i did a second install with
some of the arguments that the port uses:

CC="cc -I/usr/local/include" LDFLAGS=-L/usr/local/lib ./configure
--enable-exact-address --enable-flock --disable-fcntl
--with-libiconv-prefix=/usr/local

and got the same error.

i do get:
checking for iconv... no, consider installing GNU libiconv
configure: warning: Unable to find an iconv function. See INSTALL for help

but configure doesn't fail as it used to.

i just assumed that configure would whine if it couldn't find libiconv
(it usually has) -- shouldn't a lack of libiconv be noticed in the
configure process? 

i believe that GNU libiconv was installed from ports (and FreeBSD
renames the lib and include files to make them start with a 'g' (ie
giconv.h)).  there's also  i'm pretty sure i've just installed libiconv
from source on some of my other FreeBSD machines - i can do that if it's
easier.

looking at the port, i'm pretty sure that it makes changes to deal with
the weird naming of iconv:
roland% grep giconv config.status                           
s%@LIBICONV@%-lgiconv%g
s%@INTLLIBS@%-lintl -lgiconv%g

-- 
Will Yardley
input: william < @ hq . newdream . net . >

Reply via email to