iconv.h?

Thomas L Roche tlroche@us.ibm.com
Thu Oct 30 09:52:00 GMT 2003


I'm trying to build 'nd'

http://www.gohome.org/nd/

a CLI for WebDAV needed to run a related WebDAV client under Emacs.
I have latest libxml2 (2.5.11-1) from cygwin. But when I try to build,
I get

> tlroche@tlrf204 ~/emacs/eldav-0.7.2/nd-0.7.2
> $ ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking for C compiler default output... a.exe
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... .exe
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for xml2-config... /usr/bin/xml2-config
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking parser.h usability... no
> checking parser.h presence... no
> checking for parser.h... no
> checking for ANSI C header files... (cached) yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for an ANSI C-conforming const... yes
> checking for vprintf... no
> checking for getpass... no
> checking for memset... no
> checking for strchr... no
> checking for strerror... no
> checking for strncasecmp... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: executing depfiles commands 

> tlroche@tlrf204 ~/emacs/eldav-0.7.2/nd-0.7.2
> $ make
> make  all-am
> make[1]: Entering directory `/v/tlroche/emacs/eldav-0.7.2/nd-0.7.2'
> source='nd.c' object='nd.o' libtool=no \
> depfile='.deps/nd.Po' tmpdepfile='.deps/nd.TPo' \
> depmode=gcc3 /bin/bash ./depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/libxml2  -g -O2 -c 
`test -f 'nd.c' || echo './'`nd.c
> In file included from /usr/include/libxml2/libxml/parser.h:655,
>                  from /usr/include/libxml2/libxml/globals.h:16,
>                  from /usr/include/libxml2/libxml/threads.h:31,
>                  from /usr/include/libxml2/libxml/xmlmemory.h:188,
>                  from nd.c:20:
> /usr/include/libxml2/libxml/encoding.h:27:19: iconv.h: No such file or 
directory
> In file included from /usr/include/libxml2/libxml/parser.h:655,
>                  from /usr/include/libxml2/libxml/globals.h:16,
>                  from /usr/include/libxml2/libxml/threads.h:31,
>                  from /usr/include/libxml2/libxml/xmlmemory.h:188,
>                  from nd.c:20:
> /usr/include/libxml2/libxml/encoding.h:132: error: parse error before 
"iconv_t"
> /usr/include/libxml2/libxml/encoding.h:132: warning: no semicolon at end 
of struct or union
> /usr/include/libxml2/libxml/encoding.h:133: warning: data definition has 
no type or storage class
> make[1]: *** [nd.o] Error 1
> make[1]: Leaving directory `/v/tlroche/emacs/eldav-0.7.2/nd-0.7.2'
> make: *** [all] Error 2

Where/how I can get iconv.h? Feel free to post to me directly,
as well as the list.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list