Fwd: [NOVICE] contrib/xml make error on Mac OS X 10.3.4
Thought I'd try this on the pgsql-general list.
Begin forwarded message:
This is what happens :
make
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall
-Wmissing-prototypes -Wmissing-declarations -I. -I../../src/include
-c -o pgxml_dom.o pgxml_dom.c
pgxml_dom.c:11:26: libxml/xpath.h: No such file or directory
pgxml_dom.c:12:25: libxml/tree.h: No such file or directory
pgxml_dom.c:13:30: libxml/xmlmemory.h: No such file or directory... followed by several errors & warnings
Any ideas ? I never had any trouble compiling it on OS X 10.1.5
- Joel
The files do exist, for example:
/usr/include/libxml2/libxml/xpath.h
Cheers,
- Joel
Joel Rodrigues wrote:
The files do exist, for example:
/usr/include/libxml2/libxml/xpath.h
Try
make all CPPFLAGS=-I/usr/include/libxml2
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
Thank you ! that did it. - Joel
On Aug 1, 2004, at 11:15, Peter Eisentraut wrote:
Show quoted text
Joel Rodrigues wrote:
The files do exist, for example:
/usr/include/libxml2/libxml/xpath.hTry
make all CPPFLAGS=-I/usr/include/libxml2
--
Peter Eisentraut
http://developer.postgresql.org/~petere/