glitch installing xml support in 9.1.beta2 - Mailing list pgsql-general

From Rob Sargent
Subject glitch installing xml support in 9.1.beta2
Date
Msg-id 4E04C7E2.5060805@xmission.com
Whole thread Raw
Responses Re: glitch installing xml support in 9.1.beta2  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgsql-general
OpenSuse 11.4 x86-64

gmake install  builds and places the requisite pieces as expected.

Running
    psql --username postgres -d postgres -f xml2--1.0,sql
results in
psql:xml2--1.0.sql:8: ERROR:  function "xml_valid" already exists with same argument types
psql:xml2--1.0.sql:12: ERROR:  could not access file "MODULE_PATHNAME": No such file or directory
psql:xml2--1.0.sql:16: ERROR:  could not access file "MODULE_PATHNAME": No such file or directory
psql:xml2--1.0.sql:20: ERROR:  could not access file "MODULE_PATHNAME": No such file or directory
psql:xml2--1.0.sql:24: ERROR:  could not access file "MODULE_PATHNAME": No such file or directory
psql:xml2--1.0.sql:28: ERROR:  could not access file "MODULE_PATHNAME": No such file or directory
psql:xml2--1.0.sql:34: ERROR:  could not access file "MODULE_PATHNAME": No such file or directory
(This from second run, so xml_valid worked the first time). 

I see that the xml2.control file defines module_pathname = '$libdir/pgxml', but how is that passed to the psql run? Or am I to manually update the sql scripts?
 .

Here's my configuration of the main build
    ./configure --with-libraries=/usr/local/lib --with-python --with-openssl --with-ldap --with-ossp-uuid --with-libxml --with-libxslt --enable-debug --prefix=/opt/PostgreSQL/9.1

Haven't gone into uuid stuff yet...

Cheers,

pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: pg_dumpall custom format?
Next
From: Tomas Vondra
Date:
Subject: Re: PostgreSQL 8.4.8 bringing my website down every evening