RE: Getting started on W2K installation of postgreSQL - Mailing list pgsql-cygwin

From Robby Slaughter
Subject RE: Getting started on W2K installation of postgreSQL
Date
Msg-id EPEHLKLEHAHLONFOKNHNMECMDBAA.webmaster@robbyslaughter.com
Whole thread Raw
In response to Re: Getting started on W2K installation of postgreSQL  ("Russell Black" <rblack@iarchives.com>)
List pgsql-cygwin
Solved my own problems.

To the other novices just getting started, you need (1) run initdb
from the command prompt, which creates a database. Then you need to
(2) start up the postmaster, using an environment variable or
just postmaster -D ./ if you're already in the same directory as
the DB. Then, (3) you need to create a database (I know, again!) using
the createdb utility (try "createdb mydb"). Finally, (4) run the psql
utility with the parameter of whatever database name you specified
("psql mydb" in the case above).  Now you can run SQL commands
to your heart's content!

Relieved and now in the world of ODBC,
-Robby



-----Original Message-----
From: pgsql-cygwin-owner@postgresql.org
[mailto:pgsql-cygwin-owner@postgresql.org]On Behalf Of Russell Black
Sent: Monday, June 11, 2001 7:08 PM
To: webmaster@robbyslaughter.com; pgsql-cygwin@postgresql.org
Subject: Re: [CYGWIN] Getting started on W2K installation of postgreSQL


Robby,

If you don't want to compile it, you can just use the binary that comes with
cygwin

look at the postmaster and initdb man pages to get you started.

- make sure you also get cygipc
(http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/cygipc/)

Russell

----- Original Message -----
From: "Robby Slaughter" <webmaster@robbyslaughter.com>
To: <pgsql-cygwin@postgresql.org>
Sent: Monday, June 11, 2001 5:36 PM
Subject: [CYGWIN] Getting started on W2K installation of postgreSQL


> Folks,
>
> I'm just trying to get started on setting up postgreSQL on a Windows 2000
> box, and I'm horribly confused. I've tried both techinqiues: compile
> natively using Visual C++, and install cygwin and run the "Unix" version.
>
> I'm to the point where I'm running a bash shell and am trying to start the
> "easy" installation instrucitons. However, when I type in "./configure"
> I get hte error:
>
>   configure: error: installation or configuration problem: C compiler
cannot
>   create executables.
>
> I tried changing the permissions on the postgresql-7.1.2 directory but
> that didn't seem to help. Any ideas?
>
> Stuck but hopeful,
> Robby
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


pgsql-cygwin by date:

Previous
From: "Russell Black"
Date:
Subject: Re: Getting started on W2K installation of postgreSQL
Next
From: s0lao@netscape.net (S. L.)
Date:
Subject: Re: RE: RE: tourble migrating from linux/Apache/postgresql/perl to win2000/IIS/postgresql/perl