Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

postgres8.3 and libxml2



Hello,

Sorry for bothering you, but I thought you might help me.

I'm installing Postgres8.3 under windows XP (having Cygwin to simulate unix
environment).

==When I install postgres without libxml2, everything works fine. I use:
./configure --prefix=/cygdrive/c/PostgresInstallation/pgsql --enable-debug --enable-cassert
--enable-depend CFLAGS="-O0"

make; make install

==However, when I include the libxml2-2.6.26  in the configuration, it
compiles and install without erros. I use:

./configure --prefix=/cygdrive/c/PostgresInstallation/pgsql --with-includes=/cygdrive/c/PostgresInstallation/libxml/include/
--with-libraries=/cygdrive/c/PostgresInstallation//libxml/lib --with-libxml
--enable-debug --enable-cassert --enable-depend CFLAGS="-O0"

make ; make install

But when I try to "initdb" it gives me the following error:

The program "postgres" is needed by "initdb" but was not found in the same
directory as "/cygdrive/c/PostgresInstallation/pgsql/bin/initdb" Check your
installation.

== Many people say this problem is a permission problem over
"postgres.exe"!! I checked the permissions, it seems okay. Also it works
without including libxml2 in the installation!!


Do you have any suggestions?
Thanks for your time and help






Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group