Обсуждение: Compile problems with contrib/xml in 7 series

Поиск
Список
Период
Сортировка

Compile problems with contrib/xml in 7 series

От
"Jeff MacDonald"
Дата:
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

Re: Compile problems with contrib/xml in 7 series

От
"Joshua D. Drake"
Дата:
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.

>
>
>


Re: Compile problems with contrib/xml in 7 series

От
"Jeff MacDonald"
Дата:
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.

Re: Compile problems with contrib/xml in 7 series

От
Alvaro Herrera
Дата:
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.

Re: Compile problems with contrib/xml in 7 series

От
"Jeff MacDonald"
Дата:
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

Re: Compile problems with contrib/xml in 7 series

От
"Nikolay Samokhvalov"
Дата:
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

Re: Compile problems with contrib/xml in 7 series

От
Alvaro Herrera
Дата:
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.