So what's the fix? I have iconv.h. This is my system:
Intel:
/usr/include/sys/iconv.h
/usr/local/include/giconv.h
/usr/local/include/iconv.h
And the Alpha:
/usr/include/sys/iconv.h
Chris
> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: Friday, 21 December 2001 11:55 AM
> To: Christopher Kings-Lynne
> Cc: Hackers
> Subject: Re: [HACKERS] The dbase conrtib doesn't compile
>
>
> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> > In HEAD contrib/dbase:
> > gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../src/
> > interf
> > aces/libpq -I. -I../../src/include -c -o dbf2pg.o dbf2pg.c
> > dbf2pg.c:19: iconv.h: No such file or directory
>
> Looks like someone took a shortcut in dealing with <iconv.h>.
> What the heck is that, anyway, and do we need the ifdef'd code at all?
>
> (FWIW, the code compiles fine if you do have <iconv.h>)
>
> regards, tom lane
>