From: Mohamed Yassin Eltabakh <meltabak@cs.purdue.edu>
To: pgsql-admin@postgresql.org
Subject: postgres8.3 and libxml2
Date: Tue, 30 Oct 2007 21:31:52 -0400
Message-ID: <003701c81b5d$d0808050$e9090a80@ad.cs.purdue.edu> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: meltabak@cs.purdue.edu
Subject: Re: postgres8.3 and libxml2
In-Reply-To: <003701c81b5d$d0808050$e9090a80@ad.cs.purdue.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox