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

Lists: pgsql-generalpgsql-novice
From: Joel Rodrigues <the_case_continues(at)yahoo(dot)co(dot)uk>
To: pgsql-novice(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Fwd: [NOVICE] contrib/xml make error on Mac OS X 10.3.4
Date: 2004-08-01 08:42:16
Message-ID: B13F646F-E396-11D8-8E70-000A95C01746@yahoo.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-novice

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


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Joel Rodrigues <the_case_continues(at)yahoo(dot)co(dot)uk>, pgsql-novice(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Fwd: [NOVICE] contrib/xml make error on Mac OS X 10.3.4
Date: 2004-08-01 10:15:55
Message-ID: 200408011215.55940.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-novice

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/


From: Joel Rodrigues <the_case_continues(at)yahoo(dot)co(dot)uk>
To: pgsql-novice(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Fwd: [NOVICE] contrib/xml make error on Mac OS X 10.3.4
Date: 2004-08-02 09:04:49
Message-ID: 01C995FD-E463-11D8-A973-000A95C01746@yahoo.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-novice

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