> configure:6558: checking for iconv
> configure:6576: gcc -o conftest -Wall -pedantic -g -O2  -I/home/will//include 
>-I/home/will/include -L/home/will//lib  -L/home/will/lib conftest.c  1>&5
> /tmp/cca149331.o: In function `main':
> /home/will/mutt-1.3.22.1/configure:6570: undefined reference to `libiconv_open'
> /home/will/mutt-1.3.22.1/configure:6571: undefined reference to `libiconv'
> /home/will/mutt-1.3.22.1/configure:6572: undefined reference to `libiconv_close'

 Ok. You probably need to run configure as

$ LDFLAGS=-R/home/will/lib ./configure ...

 (or LDFLAGS="-rpath /home/will/lib" ..., I don't know which syntax your
  ld uses.)

> configure:6644: gcc -c -Wall -pedantic -g -O2  -I/home/will//include 
>-I/home/will/include conftest.c 1>&5
> configure:6634: conflicting types for `libiconv'
> /home/will//include/iconv.h:82: previous declaration of `libiconv'

 Very strange. I have no explanation for this.

> configure:7326: checking whether this iconv is good enough
> configure:7354: gcc -o conftest -Wall -pedantic -g -O2  -I/home/will//include 
>-I/home/will/include -L/home/will//lib  -L/home/will/lib conftest.c  -liconv 1>&5
> configure: failed program was:

 Possibly also fixed with that LDFLAGS trick.

 Mutt 1.3.22.1i did build fine for me with libiconv-1.7 on NetBSD.

Reply via email to