Обсуждение: Re: Postgres 7.1.3
Michael,
In the future, please post to pgsql-cygwin@postgresql.org instead of
sending private email, so others can benefit too.
On Mon, Aug 27, 2001 at 11:07:06PM -0500, Michael Sherman wrote:
> I tried to install the package on Win2k with cygwin and got an
> unresolved reference to filename_completion_function (in tab-complete),
> the installation of course failed. Any idea where is it defined? Another
> error message: "collect2: ld returned 1 exit status" (apparently
> make[4]), then make[3] - psql error 1, make[2] and [1] - error 2.
>
> Am I doing something wrong?
The official PostgreSQL 7.1.3 source needs to be patched to build under
the current Cygwin distribution (i.e., readline-4.2-3). If you really
want to build PostgreSQL yourself, then you will have to patch the
source yourself:
http://www.ca.postgresql.org/mhonarc/pgsql-cygwin/2001-08/msg00066.html
Why don't you just use the pre-built PostgreSQL 7.1.3 that I contributed
to Cygwin? It is automatically installed when you run Cygwin's setup.exe.
Jason
Where can I get a copy of cygwin with pre-built PostgreSQL 7.1.3? Thanks Frederic Jason Tishler wrote: > Michael, > > In the future, please post to pgsql-cygwin@postgresql.org instead of > sending private email, so others can benefit too. > > On Mon, Aug 27, 2001 at 11:07:06PM -0500, Michael Sherman wrote: > > I tried to install the package on Win2k with cygwin and got an > > unresolved reference to filename_completion_function (in tab-complete), > > the installation of course failed. Any idea where is it defined? Another > > error message: "collect2: ld returned 1 exit status" (apparently > > make[4]), then make[3] - psql error 1, make[2] and [1] - error 2. > > > > Am I doing something wrong? > > The official PostgreSQL 7.1.3 source needs to be patched to build under > the current Cygwin distribution (i.e., readline-4.2-3). If you really > want to build PostgreSQL yourself, then you will have to patch the > source yourself: > > http://www.ca.postgresql.org/mhonarc/pgsql-cygwin/2001-08/msg00066.html > > Why don't you just use the pre-built PostgreSQL 7.1.3 that I contributed > to Cygwin? It is automatically installed when you run Cygwin's setup.exe. > > Jason > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster -- / \__ Frederic Valone ( @\___ Senior ColdFusion Developer / O American Kennel Club / (_____ / /_____/ U
Frederic,
On Tue, Aug 28, 2001 at 08:42:03AM -0400, freddy wrote:
> Where can I get a copy of cygwin with pre-built PostgreSQL 7.1.3?
Cygwin PostgreSQL 7.1.3-1 is available from the Cygwin mirrors:
http://www.cygwin.com/mirrors.html
I usually use the RCN mirror because it syncs often and is very fast:
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ [1]
http://mirrors.rcn.net/pub/sourceware/cygwin/
[1] Appears to offline at the time of this writing.
Cygwin PostgreSQL 7.1.3-1 is available on the RCN mirror at:
http://mirrors.rcn.net/pub/sourceware/cygwin/contrib/postgresql/postgresql-7.1.3-1.tar.bz2
Please use Cygwin's setup.exe because it will automatic install/update
PostgreSQL for you.
Thanks,
Jason