configure using libxml

configure using libxml

am 09.11.2007 11:20:23 von monika.koenig

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 2: Don't 'kill -9' the postmaster

Re: configure using libxml

am 09.11.2007 12:23:29 von Peter Eisentraut

Am Freitag, 9. November 2007 schrieb König, Monika:
> I try to configure postgresql 8.3beta with libxml by the comand:
>
> LDFLAGS=3D-lstdc++ ./configure --with-tcl --without-zlib --with-libxml
> -prefix=3D/usr/local/postgresql-8.3beta
>
> It works fine, but after make and make install I can't use the
> xml-functions.

> the running configuration is:

Note that the configuration doesn't mention the libxml switch, so you for=
got=20
something somewhere. Did you do a make distclean before rebuilding, and =
did=20
you install the new build?

--=20
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(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