[xml] Réf. : Re: libxml on Solaris 2.6

Date view Thread view Subject view Author view

From: Gilles FILIPPINI (Gilles.Filippini@edf.fr)
Date: Fri Oct 22 1999 - 03:49:32 EDT


Daniel.Veillard@w3.org wrote :
> This is really strange could you check that configure detected the same
> set of headers on your machine ?
>
> ~/XML -> grep HAVE_STDLIB_H confih.h
> grep: confih.h: No such file or directory
> ~/XML -> grep HAVE_STDLIB_H config.h
> #define HAVE_STDLIB_H 1
> ~/XML -> grep HAVE_UNISTD_H config.h
> #define HAVE_UNISTD_H 1
> ~/XML -> grep HAVE_SYS_SOCKET_H config.h
> #define HAVE_SYS_SOCKET_H 1
> ~/XML -> grep HAVE_NETINET_IN_H config.h
> #define HAVE_NETINET_IN_H 1
> ~/XML -> grep HAVE_ARPA_INET_H config.h
> #define HAVE_ARPA_INET_H 1
> ~/XML -> grep HAVE_FCNTL_H config.h
> #define HAVE_FCNTL_H 1
> ~/XML -> grep HAVE_SYS_SELECT_H config.h
> #define HAVE_SYS_SELECT_H 1

Well, I've had a closer look at the ./configure step.
It happens that configure doesn't detect <netinet/in.h>, <arpa/inet.h> and <netdb.h> whereas
my machine *does* have those headers (provided by the Sun WorkShop - see below).

~/libxml-1.7.3%find /usr/include -name '*net*.h' -print
/usr/include/sys/ethernet.h
/usr/include/sys/netconfig.h
/usr/include/sys/xti_inet.h
/usr/include/arpa/inet.h
/usr/include/arpa/telnet.h
/usr/include/rpc/nettype.h
/usr/include/monetary.h
/usr/include/netconfig.h
/usr/include/netdb.h
/usr/include/netdir.h
/usr/include/nss_netdir.h

If I hack config.h to toggle on the HAVE_XXX flags related to them, the nanohttp compilation step ends up with
another error...
=> I guess my machine isn't well configured.

Here are the versions of the different tools I use. Please, tell me if I should upgrade or reinstall one of them :

~/libxml-1.7.3%uname -a
SunOS sepgifac 5.6 Generic_105181-14 sun4u sparc SUNW,Ultra-1
~/libxml-1.7.3%gcc --version
2.7.2.f.1
~/libxml-1.7.3%cc -V
cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2 (provides most of the include files)
usage: cc [ options] files. Use 'cc -flags' for details

Thanks in advance.

- Gilles.

> P.S.: BTW the libxml mailing-list is xml@rufus.w3.org :-)
Ooops ! Sorry about that... I switch to this one (hi there ! :)).

----
Message from the list xml@rufus.w3.org
Archived at : http://rufus.w3.org/veillard/XML/messages
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:50 EDT