Compile problems with contrib/xml in 7 series

Started by Jeff MacDonaldalmost 19 years ago7 messagesgeneral
Jump to latest
#1Jeff MacDonald
bignose@gmail.com

Hi,

I think the subject says it all. I need to install contrib/xml from
the 7 series, not contrib/xml2 from the 8 series.

See below for my attempted build

http://www.suite2101.com/help/pgsql

Please let me know if you have any ideas.

--
Unless otherwise indicated, anything I write is either garnered from
experience or pulled out of my ass, depending on situational needs..

Jeff MacDonald

#2Joshua D. Drake
jd@commandprompt.com
In reply to: Jeff MacDonald (#1)
Re: Compile problems with contrib/xml in 7 series

Jeff MacDonald wrote:

Hi,

I think the subject says it all. I need to install contrib/xml from
the 7 series, not contrib/xml2 from the 8 series.

See below for my attempted build

http://www.suite2101.com/help/pgsql

Please let me know if you have any ideas.

looks like you are missing your -dev packages for xml.

Show quoted text
#3Jeff MacDonald
bignose@gmail.com
In reply to: Joshua D. Drake (#2)
Re: Compile problems with contrib/xml in 7 series

On 5/15/07, Joshua D. Drake <jd@commandprompt.com> wrote:

Jeff MacDonald wrote:

Hi,

I think the subject says it all. I need to install contrib/xml from
the 7 series, not contrib/xml2 from the 8 series.

See below for my attempted build

http://www.suite2101.com/help/pgsql

Please let me know if you have any ideas.

looks like you are missing your -dev packages for xml.

except that they are all in /usr/include/libxml2/libxml

I even tried

gmake -I/usr/include/libxml2/libxml

no go.

#4Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Jeff MacDonald (#3)
Re: Compile problems with contrib/xml in 7 series

Jeff MacDonald escribi�:

On 5/15/07, Joshua D. Drake <jd@commandprompt.com> wrote:

Jeff MacDonald wrote:

Hi,

I think the subject says it all. I need to install contrib/xml from
the 7 series, not contrib/xml2 from the 8 series.

See below for my attempted build

http://www.suite2101.com/help/pgsql

Please let me know if you have any ideas.

looks like you are missing your -dev packages for xml.

except that they are all in /usr/include/libxml2/libxml

configure --with-includes=/foo/bar maybe? Or something along that line.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

#5Jeff MacDonald
bignose@gmail.com
In reply to: Alvaro Herrera (#4)
Re: Compile problems with contrib/xml in 7 series

On 5/15/07, Alvaro Herrera <alvherre@commandprompt.com> wrote:

Jeff MacDonald escribió:

On 5/15/07, Joshua D. Drake <jd@commandprompt.com> wrote:

Jeff MacDonald wrote:

Hi,

I think the subject says it all. I need to install contrib/xml from
the 7 series, not contrib/xml2 from the 8 series.

See below for my attempted build

http://www.suite2101.com/help/pgsql

Please let me know if you have any ideas.

looks like you are missing your -dev packages for xml.

except that they are all in /usr/include/libxml2/libxml

configure --with-includes=/foo/bar maybe? Or something along that line.

There isn't a configure in the contrib/xml directory, i did try

make -I/usr/include/libxml2

and

make -I/usr/include/libxml2/libxml

Jeff.

--
Unless otherwise indicated, anything I write is either garnered from
experience or pulled out of my ass, depending on situational needs..

Jeff MacDonald

#6Nikolay Samokhvalov
samokhvalov@gmail.com
In reply to: Jeff MacDonald (#3)
Re: Compile problems with contrib/xml in 7 series

On 5/15/07, Jeff MacDonald <bignose@gmail.com> wrote:

I even tried

gmake -I/usr/include/libxml2/libxml

no go.

try -I/usr/include/libxml2

--
Best regards,
Nikolay

#7Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Jeff MacDonald (#5)
Re: Compile problems with contrib/xml in 7 series

Jeff MacDonald escribi�:

On 5/15/07, Alvaro Herrera <alvherre@commandprompt.com> wrote:

Jeff MacDonald escribi�:

On 5/15/07, Joshua D. Drake <jd@commandprompt.com> wrote:

Jeff MacDonald wrote:

Hi,

I think the subject says it all. I need to install contrib/xml from
the 7 series, not contrib/xml2 from the 8 series.

See below for my attempted build

http://www.suite2101.com/help/pgsql

Please let me know if you have any ideas.

looks like you are missing your -dev packages for xml.

except that they are all in /usr/include/libxml2/libxml

configure --with-includes=/foo/bar maybe? Or something along that line.

There isn't a configure in the contrib/xml directory, i did try

Of course there isn't. I am talking about the main configure.

make -I/usr/include/libxml2

and

make -I/usr/include/libxml2/libxml

I don't think that works. Failing adding it via the main configure, you
could add them directly into the Makefile. But I think it will be a
bigger hassle unless you already know how to do it.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.