Re: [xml] [textXPath.c] unable to find libxml.h
- From: Daniel Veillard <veillard redhat com>
- To: Santosh Mahale <santoshmahale gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] [textXPath.c] unable to find libxml.h
- Date: Mon, 8 Nov 2010 09:55:21 +0100
On Sun, Nov 07, 2010 at 09:52:13AM +0530, Santosh Mahale wrote:
Dear All,
I am just a couple of days old for libxml2 and i am finding difficulty to
compile one of the example code, testXPath.c.
I am trying to use libxml2 v 2.7.8 on my mac os x 10.5.8.
I downloaded libxml2 from ftp://xmlsoft.org/libxml2/ and installed using
./configure, make, sudo make install sequence. post that i am trying to
compile the textXPath.c file from the examples folder using the following
gcc testXPath.c -l libxml2 -I /usr/local/include/libxml2
But it throws an error libxml.h: No such file or directory.
Can you please give me pointers from where i can download the required
libxml.h?
TestXPath .c is part of libxml2 own tests programs, it references
the internal include libxml.h and the code is not supposed to be
compiled outside of the tree without tweaking.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]