Re: [GENERAL] Compile problems with contrib/xml in 7 series

2007-05-15 Thread 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.








---(end of broadcast)---
TIP 4: Have you searched our list archives?

  http://archives.postgresql.org/


Re: [GENERAL] Compile problems with contrib/xml in 7 series

2007-05-15 Thread Jeff MacDonald

On 5/15/07, Joshua D. Drake [EMAIL PROTECTED] 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.

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


Re: [GENERAL] Compile problems with contrib/xml in 7 series

2007-05-15 Thread Alvaro Herrera
Jeff MacDonald escribió:
 On 5/15/07, Joshua D. Drake [EMAIL PROTECTED] 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 Herrerahttp://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly


Re: [GENERAL] Compile problems with contrib/xml in 7 series

2007-05-15 Thread Jeff MacDonald

On 5/15/07, Alvaro Herrera [EMAIL PROTECTED] wrote:

Jeff MacDonald escribió:
 On 5/15/07, Joshua D. Drake [EMAIL PROTECTED] 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

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [GENERAL] Compile problems with contrib/xml in 7 series

2007-05-15 Thread Nikolay Samokhvalov

On 5/15/07, Jeff MacDonald [EMAIL PROTECTED] wrote:

I even tried

gmake -I/usr/include/libxml2/libxml

no go.


try -I/usr/include/libxml2


--
Best regards,
Nikolay

---(end of broadcast)---
TIP 4: Have you searched our list archives?

  http://archives.postgresql.org/


Re: [GENERAL] Compile problems with contrib/xml in 7 series

2007-05-15 Thread Alvaro Herrera
Jeff MacDonald escribió:
 On 5/15/07, Alvaro Herrera [EMAIL PROTECTED] wrote:
 Jeff MacDonald escribió:
  On 5/15/07, Joshua D. Drake [EMAIL PROTECTED] 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 Herrerahttp://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly