Joel Rodrigues | 1 Aug 2004 10:42
Picon
Favicon

Fwd: 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

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match
(Continue reading)

Peter Eisentraut | 1 Aug 2004 12:15
Picon
Gravatar

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/

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Joel Rodrigues | 2 Aug 2004 11:04
Picon
Favicon

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:

> 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/
>

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo <at> postgresql.org)


Gmane