Fwd: [NOVICE] contrib/xml make error on Mac OS X 10.3.4

Started by Joel Rodriguesover 21 years ago3 messagesgeneral
Jump to latest
#1Joel Rodrigues
the_case_continues@yahoo.co.uk

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

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Joel Rodrigues (#1)
Re: Fwd: [NOVICE] contrib/xml make error on Mac OS X 10.3.4

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/

#3Joel Rodrigues
the_case_continues@yahoo.co.uk
In reply to: Peter Eisentraut (#2)
Re: Fwd: [NOVICE] contrib/xml make error on Mac OS X 10.3.4

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.h

Try

make all CPPFLAGS=-I/usr/include/libxml2

--
Peter Eisentraut
http://developer.postgresql.org/~petere/