Unix Technical Forum

postgres8.3 and libxml2

This is a discussion on postgres8.3 and libxml2 within the pgsql Admins forums, part of the PostgreSQL category; --> Hello, Sorry for bothering you, but I thought you might help me. I'm installing Postgres8.3 under windows XP (having ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 09:17 AM
Mohamed Yassin Eltabakh
 
Posts: n/a
Default 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




---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 09:17 AM
Tom Lane
 
Posts: n/a
Default Re: postgres8.3 and libxml2

"Mohamed Yassin Eltabakh" <meltabak@cs.purdue.edu> writes:
> 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.


What happens if you try "postgres -V" by hand?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 09:17 AM
Tom Lane
 
Posts: n/a
Default Re: postgres8.3 and libxml2

"Mohamed Yassin Eltabakh" <meltabak@cs.purdue.edu> writes:
>> What happens if you try "postgres -V" by hand?


> The response is nothing (empty). No version number appears.


Well, that's why initdb is not happy, but the next question is why
linking in libxml2 breaks postgres that thoroughly. No idea on
that one, I'm afraid you'll have to try to get some cygwin experts
involved ...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-10-2008, 09:17 AM
Mohamed Yassin Eltabakh
 
Posts: n/a
Default Re: postgres8.3 and libxml2

The response is nothing (empty). No version number appears.

Thanks
----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Mohamed Yassin Eltabakh" <meltabak@cs.purdue.edu>
Cc: <pgsql-admin@postgresql.org>
Sent: Thursday, November 01, 2007 10:36 AM
Subject: Re: [ADMIN] postgres8.3 and libxml2


> "Mohamed Yassin Eltabakh" <meltabak@cs.purdue.edu> writes:
>> 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.

>
> What happens if you try "postgres -V" by hand?
>
> regards, tom lane
>



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:06 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com