Thread: gmake error.

gmake error.

From
Anil Jangam
Date:
Hi,

1. I am trying to compile the postgreSQL version 7.1.2, where installation
process asks to call "gmake" instead of "make".
The gmake is not available in the standard installation package in the
cygwin download utility. How to get rid of this?
Is there any gmake available for cygwin???

2. According to the prcedure mentioned, we have to run ./configure first and
then call make. Now the problem here is the make command again internally
calls the configure file and then do some checking and linking. After this
it again calls the configure and so on... it goes into the loop and never
compiles the source code.

3. When installed the precompiled version 7.1.3, after doing initdb, it
produces the log as

        Success. You can now start the database server using:

            /usr/bin/postmaster -D /usr/local/pgsql/data/
        or
            /usr/bin/pg_ctl -D /usr/local/pgsql/data/ -l logfile
start

With this one of the command, the postgres process runs in the background.
But when the "psql" is called it gives error, file  'cygreadline5.dll'  not
found...

Is anybody there sailing in the same boat!!

-Anil.

Re: gmake error.

From
"Henshall, Stuart - WCP"
Date:
1) I just used make (I believe cygwin make is gmake)
2) No idea. I just ran ./configure then make then make install when I built
7.1.2
3) There's been a few other postings about that. Jason reported that
readline requires cygncurses5.dll. You can get previous versions by
selecting prev from the cygwin setup when you get the list of packages (you
can also get a full listing of packages by clicking the full/part button).
If you download to a local directory have a look at:
<root>\latest\latest\ncurses
and see if you have a directory called libncurses5 with a file something
like libncurses5-5.2-1.tar.bz2 in it. This should have a suitable dll in it.
- Stuart

> -----Original Message-----
> From:    Anil Jangam [SMTP:anilj@indts.com]
> Sent:    Monday, October 15, 2001 6:06 AM
> To:    'pgsql-cygwin@postgresql.org'
> Subject:    [CYGWIN] gmake error.
>
> Hi,
>
> 1. I am trying to compile the postgreSQL version 7.1.2, where installation
> process asks to call "gmake" instead of "make".
> The gmake is not available in the standard installation package in the
> cygwin download utility. How to get rid of this?
> Is there any gmake available for cygwin???
>
> 2. According to the prcedure mentioned, we have to run ./configure first
> and
> then call make. Now the problem here is the make command again internally
> calls the configure file and then do some checking and linking. After this
> it again calls the configure and so on... it goes into the loop and never
> compiles the source code.
>
> 3. When installed the precompiled version 7.1.3, after doing initdb, it
> produces the log as
>
>         Success. You can now start the database server using:
>
>             /usr/bin/postmaster -D /usr/local/pgsql/data/
>         or
>             /usr/bin/pg_ctl -D /usr/local/pgsql/data/ -l logfile
> start
>
> With this one of the command, the postgres process runs in the background.
> But when the "psql" is called it gives error, file  'cygreadline5.dll'
> not
> found...
>
> Is anybody there sailing in the same boat!!
>
> -Anil.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster