Обсуждение: configure using libxml

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

configure using libxml

От
"König, Monika"
Дата:

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

От
Peter Eisentraut
Дата:
Am Freitag, 9. November 2007 schrieb König, Monika:
> 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 running configuration is:

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

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