On Sat, Jun 01, 2002 at 03:39:46AM -0700, Will Yardley wrote:

> 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]
> ./patchlist.sh < ./PATCHES > patchlist.c
> cd .  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
> creating Makefile
> gcc -DPKGDATADIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/etc\"
> -DBINDIR=\"/usr/local/bin\" -DMUTTLOCALEDIR=\"/usr/local/share/locale\"
> -DHAVE_CONFIG_H=1 -I. -I.  -Iintl  -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: syntax error before `ICONV_CONST'
> *** Error code 1

Make clean, then edit config.h and ensure
#define HAVE_ICONV_H 1
#define HAVE_ICONV 1
#define HAVE_ICONV_T_DEF 1

are set, and all should work (assuming you do have libiconv installed)
for some reason not picked up automagically

Steve

-- 
NetTek Ltd Flat 2, 43 Howitt Road, Belsize Park, London NW3 4LU, UK
tel +44-(0)20 7483 1169  fax +44-(0)20 7483 2455   mob 07775 755503
SMS steve-pager (at) gbnet.net [body] gpg 1024D/468952DB 2001-09-19

Reply via email to