RE: Real compilation error - Mailing list pgsql-cygwin

From Riaan Labuschagne
Subject RE: Real compilation error
Date
Msg-id 414CD5955458D711B51A00A0C9FB16182A3790@PRI-SERVER
Whole thread Raw
In response to Real compilation error  (Erwin van den Berg <evdberg@visualdomain.net>)
List pgsql-cygwin
These are the installation steps for a minimum Prostgresql on Cygwin. Pleas
enote that I still cant run the initdb command with this minimum
installation, can someone please advise.

I installed the following packages to build and/or execute
Cygwin PostgreSQL:

    crypt 1.0.1
    cygipc 1.09
    readline 4.1
    zlib 1.1.3
    cygwin 1.3.1



--------------- Installation detail----------------------------------------

$Id: README,v 1.12 2001/05/24 17:24:42 jt Exp $

Abstract:

This is the README for the Cygwin PostgreSQL distribution.

Requirements:

The following packages or later are required to build and/or execute
Cygwin PostgreSQL:

    crypt 1.0.1
    cygipc 1.09
    readline 4.1
    zlib 1.1.3
    cygwin 1.3.1

Install:

The following is the Cygwin PostgreSQL installation procedure:

1. Install the latest cygipc from:


http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/cygipc/index.html

2. Install the cygipc ipc-daemon as a service, if appropriate for your
platform
   (NT/2000 only):

    $ ipc-daemon --install-as-service

3. Start the cygipc ipc-daemon, as appropriate for your platform:

    $ net start ipc-daemon # NT/2000 or
    $ ipc-daemon &         # 9X/Me

4. Define the following environment variable:

    export PGDATA=/usr/share/postgresql/data

5. Initialize PostgreSQL:

    $ initdb

6. Start the PostgreSQL postmaster:

    $ postmaster &

7. Connect to PostgreSQL:

    $ psql template1

Riaan Labuschagne
e-mail: riaan@radioretail.co.za
+27 82 567 9063
+27 21 982 2223
+27 21 982 2225 (fax)
Visit http://www.radioretail.co.za



-----Original Message-----
From: Riaan Labuschagne [mailto:Riaan@radioretail.co.za]
Sent: 07 August 2001 11:42
To: Erwin van den Berg; Henshall, Stuart - WCP
Cc: pgsql-cygwin@postgresql.org
Subject: RE: [CYGWIN] Real compilation error


Is there any reply on this?

I went through the manual but the minimum install as laid out in the manual
does not support the initdb command for postgresql.


Riaan Labuschagne
e-mail: riaan@radioretail.co.za
+27 82 567 9063
+27 21 982 2223
+27 21 982 2225 (fax)
Visit http://www.radioretail.co.za



-----Original Message-----
From: Erwin van den Berg [mailto:evdberg@visualdomain.net]
Sent: 07 August 2001 10:15
To: Henshall, Stuart - WCP
Cc: pgsql-cygwin@postgresql.org
Subject: Re: [CYGWIN] Real compilation error


Hi Stuart,

Yes, it was the problem with the readline 4.2, thanks for the help! Now I
could succesfully compile everything. Unfortunately it did not solve the
problem. I still do not have port 5432 open ... :-(

Erwin


"Henshall, Stuart - WCP" wrote:

> Is that the problem with readline-4.2?
> Try 4.1.
> I think there's a patch hanging around some where that lets you use 4.2 on
> cygwin but don't have the foggiest where.
> FYI: you do know that a version of postgresql comes precompiled now with
> cygwin? You just need to add cygipc and then initdb (IIRC).
> - Stuart
>
> > -----Original Message-----
> > From: Erwin van den Berg [SMTP:evdberg@visualdomain.net]
> > Sent: Monday, August 06, 2001 2:09 PM
> > To:   pgsql-cygwin@postgresql.org
> > Subject:      [CYGWIN] Real compilation error
> >
> > I got the following error (while linking):
> > tab-complete.o(.text+0x2a36):tab-complete.c: undefined reference to
> > 'filename_completion_function'.
> >
> > Best regards,
> > Erwin van den Berg
> >
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://www.postgresql.org/search.mpl


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

pgsql-cygwin by date:

Previous
From: Riaan Labuschagne
Date:
Subject: RE: Real compilation error
Next
From: Erwin van den Berg
Date:
Subject: Minimal install Cygwin for PostgreSQL