Обсуждение: Question about installing PostgreSQL on a Windows machine

Поиск
Список
Период
Сортировка

Question about installing PostgreSQL on a Windows machine

От
"Sean McInerney"
Дата:
Hello.

I am trying to follow your FAQ_MSWIN instructions but am having trouble
immediately.  #1 says to install cygwin, which I have done, but it does not
come with a pre-built version of PostgreSQL.  Did I install the wrong
version of cygwin?

Step 2 tells me to install cygipc.  I have downloaded cygipc-1.11-1.tar.bz2
and the instructions tell me to do the following (I assume from cygwin): $
tar -C / -xjf cygipc-1.11-1.tar.bz2

which produces: tar (child): bzip2: Cannot exec: No such file or directory

I'm assuming I don't have bzip2 installed?  How can I achieve this?  Note
that my file is in the / directory as different tar flags produce proper
errors (such as -zxvf tells me it isn't in gzip format).

Thanks for any help you can provide.

Sean McInerney

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx


Re: Question about installing PostgreSQL on a Windows machine

От
Jason Tishler
Дата:
Sean,

On Tue, Oct 15, 2002 at 06:46:49PM +0000, Sean McInerney wrote:
> I am trying to follow your FAQ_MSWIN instructions but am having trouble
> immediately.

Please read the Cygwin PostgreSQL README:

    /usr/doc/Cygwin/postgresql-7.2.3.README

or

    http://www.tishler.net/jason/software/postgresql/postgresql-7.2.3.README

> #1 says to install cygwin, which I have done, but it does not come
> with a pre-built version of PostgreSQL.

Yes it does -- look under the the Database category.

> Did I install the wrong version of cygwin?

No.

> which produces: tar (child): bzip2: Cannot exec: No such file or directory
>
> I'm assuming I don't have bzip2 installed?

Correct.

> How can I achieve this?

Rerun setup.exe and select it from the Utils category.

Jason

Re: Question about installing PostgreSQL on a Windows machine

От
"Sean McInerney"
Дата:
Thanks for the reply Jason.

I figured that part out and have since installed absolutely everything I can
with cygwin, as well as installing cygipc-1.11.1 and when I run ./configure
for PostgreSQL it errors out at - checking whether the C compiler (gcc -02)
works... no

It says my c compiler cannot create executables.

I downloaded and installed the most recent version of cygwin there was.  I'm
now giving up as I've wasted too much time on this and the instructions are
about as clear as mud.

I sometimes want to venture back into the Unix world, then I try something
like this.  Sorry to say but Windows is just too easy.  I highly encourage
you to make a thorough, accurate readme if you want people to use your
software.

Regards,
Sean


>From: Jason Tishler <jason@tishler.net>
>To: Sean McInerney <sean_mackie@hotmail.com>
>CC: pgsql-cygwin@postgresql.org
>Subject: Re: [CYGWIN] Question about installing PostgreSQL on a Windows
>machine
>Date: Fri, 18 Oct 2002 15:52:44 -0400
>
>Sean,
>
>On Tue, Oct 15, 2002 at 06:46:49PM +0000, Sean McInerney wrote:
> > I am trying to follow your FAQ_MSWIN instructions but am having trouble
> > immediately.
>
>Please read the Cygwin PostgreSQL README:
>
>     /usr/doc/Cygwin/postgresql-7.2.3.README
>
>or
>
>
>http://www.tishler.net/jason/software/postgresql/postgresql-7.2.3.README
>
> > #1 says to install cygwin, which I have done, but it does not come
> > with a pre-built version of PostgreSQL.
>
>Yes it does -- look under the the Database category.
>
> > Did I install the wrong version of cygwin?
>
>No.
>
> > which produces: tar (child): bzip2: Cannot exec: No such file or
>directory
> >
> > I'm assuming I don't have bzip2 installed?
>
>Correct.
>
> > How can I achieve this?
>
>Rerun setup.exe and select it from the Utils category.
>
>Jason


_________________________________________________________________
Surf the Web without missing calls!�Get MSN Broadband.
http://resourcecenter.msn.com/access/plans/freeactivation.asp


Re: Question about installing PostgreSQL on a Windows machine

От
Jason Tishler
Дата:
Sean,

On Fri, Oct 18, 2002 at 09:35:21PM +0000, Sean McInerney wrote:
> Thanks for the reply Jason.

You are welcome.

> I figured that part out and have since installed absolutely everything
> I can with cygwin, as well as installing cygipc-1.11.1

If you really installed everything, then PostgreSQL 7.2.3 is already
installed.  Hence, you do *not* need to build PostgreSQL which obviates
the following...

> and when I run
> ./configure for PostgreSQL it errors out at - checking whether the C
> compiler (gcc -02) works... no
>
> It says my c compiler cannot create executables.

Nevertheless, if you look at the end of config.log, then you will be
able to determine why configure failed.  My WAG is that cygipc was not
installed correctly.

Note if you searched the archives, then you would have seen that this
question has been asked *and* answered many times before.

> I downloaded and installed the most recent version of cygwin there
> was.  I'm now giving up as I've wasted too much time on this and the
> instructions are about as clear as mud.

Pejorative statements such as "clear as mud" is not a good way to ask
for assistance or say thank you.

> I sometimes want to venture back into the Unix world, then I try
> something like this.

If you are experienced with Unix, then installing Cygwin PostgreSQL
should not be too difficult.  Note that my README was written from that
perspective which is my background.

> Sorry to say but Windows is just too easy.

Everyone is entitled to their own opinion.

> I highly encourage you to make a thorough, accurate readme

It is my intention to make my README "a thorough, accurate readme."  Why
not contribute by posting a patch with your proposed changes?

Do you realize that this is free software?  And, that I am volunteer?

> if you want people to use your software.

PostgreSQL is *not* my software -- I'm just the Cygwin maintainer.
Anyway, I'm under the (possibly erroneous) impression that many people
use my Cygwin PostgreSQL distribution and find my README helpful.

Jason