Thread: configure using libxml

configure using libxml

From
"König, Monika"
Date:
Hey,

I try to configure postgresql 8.3beta with libxml by the comand:


LDFLAGS=-lstdc++ ./configure --with-tcl --without-zlib --with-libxml
-prefix=/usr/local/postgresql-8.3beta

It works fine, but after make and make install I can't use the
xml-functions.

The error message is:

ERROR:  unsupported XML feature
DETAIL:  This functionality requires libxml support.
HINT:  You need to re-compile PostgreSQL using --with-libxml.

the running configuration is:


BINDIR = /usr/local/postgresql-8.3beta/bin DOCDIR =
/usr/local/postgresql-8.3beta/doc INCLUDEDIR =
/usr/local/postgresql-8.3beta/include
PKGINCLUDEDIR = /usr/local/postgresql-8.3beta/include
INCLUDEDIR-SERVER = /usr/local/postgresql-8.3beta/include/server
LIBDIR = /usr/local/postgresql-8.3beta/lib PKGLIBDIR =
/usr/local/postgresql-8.3beta/lib LOCALEDIR = MANDIR =
/usr/local/postgresql-8.3beta/man SHAREDIR =
/usr/local/postgresql-8.3beta/share
SYSCONFDIR = /usr/local/postgresql-8.3beta/etc PGXS =
/usr/local/postgresql-8.3beta/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '=' '--with-tcl' '--enable-odbc' '--without-zlib'
'-prefix=/usr/local/postgresql-8.3beta2' 'LDFLAGS=-lstdc++'
CC = gcc
CPPFLAGS = -D_GNU_SOURCE
CFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wendif-labels -fno-strict-aliasing CFLAGS_SL = -fpic LDFLAGS = -lstdc++
-Wl,-rpath,'/usr/local/postgresql-8.3beta2/lib'
LDFLAGS_SL =
LIBS = -lpgport -lreadline -lcrypt -ldl -lm VERSION = PostgreSQL 8.3beta2

does anybody knows what goes wrong??


thanks

Monika

Re: configure using libxml

From
"Pavel Stehule"
Date:
Hello

have you libxml2 on your computer?

Send full configure output, please

Regards
Pavel Stehule

On 09/11/2007, "König, Monika" <monika.koenig@bonn.de> wrote:
> Hey,
>
> I try to configure postgresql 8.3beta with libxml by the comand:
>
>
> LDFLAGS=-lstdc++ ./configure --with-tcl --without-zlib --with-libxml
> -prefix=/usr/local/postgresql-8.3beta
>
> It works fine, but after make and make install I can't use the
> xml-functions.
>
> The error message is:
>
> ERROR:  unsupported XML feature
> DETAIL:  This functionality requires libxml support.
> HINT:  You need to re-compile PostgreSQL using --with-libxml.
>
> the running configuration is:
>
>
> BINDIR = /usr/local/postgresql-8.3beta/bin DOCDIR =
> /usr/local/postgresql-8.3beta/doc INCLUDEDIR =
> /usr/local/postgresql-8.3beta/include
> PKGINCLUDEDIR = /usr/local/postgresql-8.3beta/include
> INCLUDEDIR-SERVER = /usr/local/postgresql-8.3beta/include/server
> LIBDIR = /usr/local/postgresql-8.3beta/lib PKGLIBDIR =
> /usr/local/postgresql-8.3beta/lib LOCALEDIR = MANDIR =
> /usr/local/postgresql-8.3beta/man SHAREDIR =
> /usr/local/postgresql-8.3beta/share
> SYSCONFDIR = /usr/local/postgresql-8.3beta/etc PGXS =
> /usr/local/postgresql-8.3beta/lib/pgxs/src/makefiles/pgxs.mk
> CONFIGURE = '=' '--with-tcl' '--enable-odbc' '--without-zlib'
> '-prefix=/usr/local/postgresql-8.3beta2' 'LDFLAGS=-lstdc++'
> CC = gcc
> CPPFLAGS = -D_GNU_SOURCE
> CFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
> -Wendif-labels -fno-strict-aliasing CFLAGS_SL = -fpic LDFLAGS = -lstdc++
> -Wl,-rpath,'/usr/local/postgresql-8.3beta2/lib'
> LDFLAGS_SL =
> LIBS = -lpgport -lreadline -lcrypt -ldl -lm VERSION = PostgreSQL 8.3beta2
>
> does anybody knows what goes wrong??
>
>
> thanks
>
> Monika
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
>

Re: configure using libxml

From
"Albe Laurenz"
Date:
Monika König wrote:
> I try to configure postgresql 8.3beta with libxml by the comand:
>
> LDFLAGS=-lstdc++ ./configure --with-tcl --without-zlib --with-libxml
> -prefix=/usr/local/postgresql-8.3beta
>
> It works fine, but after make and make install I can't use the
> xml-functions.
>
> The error message is:
>
> ERROR:  unsupported XML feature
> DETAIL:  This functionality requires libxml support.
> HINT:  You need to re-compile PostgreSQL using --with-libxml.
>
> the running configuration is:
>
[...]
> CONFIGURE = '=' '--with-tcl' '--enable-odbc' '--without-zlib'
> '-prefix=/usr/local/postgresql-8.3beta2' 'LDFLAGS=-lstdc++'
[...]

That is strange. On my 8.3, which was configured --with-libxml,
the CONFIGURE output contains '--with-libxml'.

Are you sure you are using the correct binary? Maybe your
PATH points somewhere wrong.

Yours,
Laurenz Albe