Lars Hecking wrote:
 
> > checking whether this iconv is good enough... no
> > configure: error: Try using libiconv instead
 
>  Strange - everything else looks correct.
 
>  We'll need the relevant parts of your config.log, too.
 
ok.  i'll include what seems to be relevant in an attached text file.
i can send the whole file to anyone masochistic enough to want it.

the end of the file is the end of the config.log as well

-will

-- 
Sintax error in config file! (line 378)
aborted!

PGP Public Key:
http://infinitejazz.net/will/pgp/
; return 0; }
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'
configure: failed program was:
#line 6566 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
int main() {
iconv_t cd = iconv_open("","");
       iconv(cd,NULL,NULL,NULL,NULL);
       iconv_close(cd);
; return 0; }
configure:6598: 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:6619: checking for iconv declaration
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'
configure: failed program was:
#line 6625 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>
extern
#ifdef __cplusplus
"C"
#endif
#if defined(__STDC__) || defined(__cplusplus)
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t 
*outbytesleft);
#else
size_t iconv();
#endif

int main() {

; return 0; }
configure:6673: checking for nl_langinfo and CODESET
configure:6685: 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
configure: In function `main':
configure:6681: `CODESET' undeclared (first use this function)
configure:6681: (Each undeclared identifier is reported only once
configure:6681: for each function it appears in.)
configure:6681: warning: unused variable `cs'
configure: failed program was:
#line 6678 "configure"
#include "confdefs.h"
#include <langinfo.h>
int main() {
char* cs = nl_langinfo(CODESET);
; return 0; }
configure:6708: checking for LC_MESSAGES
configure:6720: 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
configure:6741: checking whether NLS is requested
configure:6763: checking whether included gettext is requested
configure:6783: checking for libintl.h
configure:6793: gcc -E  -I/home/will//include -I/home/will/include conftest.c 
>/dev/null 2>conftest.out
configure:6810: checking for GNU gettext in libc
configure:6824: 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/cca150081.o: In function `main':
/home/will/mutt-1.3.22.1/configure:6819: undefined reference to `bindtextdomain'
/home/will/mutt-1.3.22.1/configure:6820: undefined reference to `gettext'
/home/will/mutt-1.3.22.1/configure:6820: undefined reference to `_nl_msg_cat_cntr'
configure: failed program was:
#line 6815 "configure"
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
int main() {
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr
; return 0; }
configure:6840: checking for GNU gettext in libintl
configure:6856: 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  -lintl -liconv 
1>&5
configure:6889: checking for dcgettext
configure:6917: 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  -lintl -liconv 
1>&5
configure:6946: checking for msgfmt
configure:6980: checking for gmsgfmt
configure:7018: checking for xgettext
configure:7200: checking for bison
configure:7233: checking version of bison
configure:7281: checking for catalogs to be installed
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:
#line 7336 "configure"
#include "confdefs.h"

#include <iconv.h>
int main()
{
  iconv_t cd;
  char buf[4];
  char *ob;
  size_t obl;
  ob = buf, obl = sizeof(buf);
  return ((cd = iconv_open("UTF-8", "UTF-8")) != (iconv_t)(-1) &&
          (iconv(cd, 0, 0, &ob, &obl) ||
           !(ob == buf && obl == sizeof(buf)) ||
           iconv_close(cd)));
}
                

Reply via email to