RE: Getting started on W2K installation of postgreSQL

From: "Robby Slaughter" <webmaster(at)robbyslaughter(dot)com>
To: "Russell Black" <rblack(at)iarchives(dot)com>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: RE: Getting started on W2K installation of postgreSQL
Date: 2001-06-12 00:52:27
Message-ID: EPEHLKLEHAHLONFOKNHNMECMDBAA.webmaster@robbyslaughter.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org
[mailto:pgsql-cygwin-owner(at)postgresql(dot)org]On Behalf Of Russell Black
Sent: Monday, June 11, 2001 7:08 PM
To: webmaster(at)robbyslaughter(dot)com; pgsql-cygwin(at)postgresql(dot)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(at)robbyslaughter(dot)com>
To: <pgsql-cygwin(at)postgresql(dot)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

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message S. L. 2001-06-12 05:29:19 Re: RE: RE: tourble migrating from linux/Apache/postgresql/perl to win2000/IIS/postgresql/perl
Previous Message Russell Black 2001-06-12 00:41:40 Re: Getting started on W2K installation of postgreSQL