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

postgres8.3 and libxml2

From: "Mohamed Yassin Eltabakh" <meltabak(at)cs(dot)purdue(dot)edu>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: postgres8.3 and libxml2
Date: 2007-10-31 01:31:52
Message-ID: 003701c81b5d$d0808050$e9090a80@ad.cs.purdue.edu (view raw or flat)
Thread:
Lists: 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




Responses

pgsql-admin by date

Next:From: yogeshDate: 2007-10-31 11:29:34
Subject: PL/JAVA issues
Previous:From: Alvaro HerreraDate: 2007-10-30 21:05:03
Subject: Re: Installing PostgreSQL as Admin

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group