postgres8.3 and libxml2 - Mailing list pgsql-admin

From Mohamed Yassin Eltabakh
Subject postgres8.3 and libxml2
Date
Msg-id 003701c81b5d$d0808050$e9090a80@ad.cs.purdue.edu
Whole thread Raw
Responses Re: postgres8.3 and libxml2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
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




pgsql-admin by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Installing PostgreSQL as Admin
Next
From: "Scott Marlowe"
Date:
Subject: Re: Find who is connected to a database