pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
postgres8.3 and libxml2
4+ messages / 2 participants
[nested] [flat]

* postgres8.3 and libxml2
@ 2007-10-31 01:31  Mohamed Yassin Eltabakh <meltabak@cs.purdue.edu>
  0 siblings, 1 reply; 4+ messages in thread

From: Mohamed Yassin Eltabakh @ 2007-10-31 01:31 UTC (permalink / raw)
  To: 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






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postgres8.3 and libxml2
@ 2007-11-01 14:36  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Mohamed Yassin Eltabakh <meltabak@cs.purdue.edu>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2007-11-01 14:36 UTC (permalink / raw)
  To: Mohamed Yassin Eltabakh <meltabak@cs.purdue.edu>; +Cc: pgsql-admin

"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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postgres8.3 and libxml2
@ 2007-11-01 15:34  Mohamed Yassin Eltabakh <meltabak@cs.purdue.edu>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Mohamed Yassin Eltabakh @ 2007-11-01 15:34 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin

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
> 




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postgres8.3 and libxml2
@ 2007-11-01 15:37  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Mohamed Yassin Eltabakh <meltabak@cs.purdue.edu>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2007-11-01 15:37 UTC (permalink / raw)
  To: Mohamed Yassin Eltabakh <meltabak@cs.purdue.edu>; +Cc: pgsql-admin

"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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2007-11-01 15:37 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-10-31 01:31 postgres8.3 and libxml2 Mohamed Yassin Eltabakh <meltabak@cs.purdue.edu>
2007-11-01 14:36 ` Tom Lane <tgl@sss.pgh.pa.us>
2007-11-01 15:34   ` Mohamed Yassin Eltabakh <meltabak@cs.purdue.edu>
2007-11-01 15:37     ` Tom Lane <tgl@sss.pgh.pa.us>

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