-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Subject: compilation problems with libiconv
Hi,
configure: warning: Unable to find an iconv function.
See INSTALL for help.
I always get this warning even if I already installed
libiconv-1.8. libiconv installed on /usr/local. In
installing mutt, I do a configure
--with-iconv=/usr/local because configure alone would
consider that my iconv (which is the old one and
resides in /usr) to be not enough.
I tried the advise on /mutt-xx/contrib/iconv/README
about removing the *.rc's and doing a make.sh
/libiconv-1.8/libcharset/tools. It works fine up to
that point. In running configure (as I've said above)
that warning shows up, but still configure continues
to run with no other errors and exits 0.
On make install, it stops and says this error about
iconv:
make[2]: Entering directory `/build/mutt-1.4'
gcc -DPKGDATADIR=\"/usr/local/share/mutt\"
-DSYSCONFDIR=\"/usr/local/etc\" -
DBINDIR=\"/usr/local/bin\"
-DMUTTLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_C
ONFIG_H=1 -I. -I. -Iintl -I/usr/include/ncurses
-I/usr/local/include -I./intl
- -I/usr/local/include -Wall -pedantic -g -O2 -c
patchlist.c
In file included from mutt.h:51,
from patchlist.c:5:
charset.h:39: parse error before `ICONV_CONST'
make[2]: *** [patchlist.o] Error 1
make[2]: Leaving directory `/build/mutt-1.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/mutt-1.4'
make: *** [all-recursive-am] Error 2
Can you help me with this problem? I really like mutt
and have been using it on an old machine and would
like to compile a new one for a new box. I got an rpm
from an old RedHat CD but it didn't have support for
PGP.
Thanks much and more power to your endeavors.
- - Jed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.1.90 (GNU/Linux)
Comment: <http://pr0wler.scripterz.org/pubkey.html>
iD8DBQE9aOF2luOtB0iIhFgRA5YcAJ4zn2Zi3Njf7up9W5eDOkV3efowlQCeOLNE
CGzn8NWPEBCwX39RkddFmHI=
=Q+LK
-----END PGP SIGNATURE-----
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com