I sucessfully compiled 7.0.2 on Win 2000 recently.  I had  a lot of problems
when I first installed cygwin and I select default text type of DOS.  When i
removed cygwin, and changed that option during install it all worked (I'm
not sure if I swited it from DOS to Unix, or from Unix to DOS).  I'm not
sure that's the problem you are having but it helped me. 

-----Original Message-----
From: Alfred Perlstein
To: Gary MacDougall
Cc: pgsql-hackers@postgresql.org
Sent: 11/11/00 1:31 PM
Subject: Re: [HACKERS] cygwin gcc  problem.

* Gary MacDougall <gary@freeportweb.com> [001111 11:28] wrote:
> I'm trying to compile postgresql on Windows 2000.  I've followed the
directions accordingly.
> 
> When I run the "configure" script, and I get the following error
message:
> 
> 
> configure: error  installation or configuration problem: C compiler
cannot creat
> e executables.
> 
> If anyone has any clues, I'd greatly appreciate the assistance.

I think you need to ask on the cygwin lists.  If you're compiling
this on Windows 2000 you already need a compiler to compile it.

I would just find the binary distribution and install that.

-Alfred

Sat, 11 Nov 2000 15:29:08 -0600
Matthew <matt@ctlno.com>
RE: cygwin gcc  problem.
I can't remember now where I found this, but I followed the instructions
here --
http://people.freebsd.org/~kevlo/postgres/portNT.html -- to the letter just
last night and was successful in getting PostgreSQL running on my W2K
laptop. As mentioned below, I selected Unix file type for the CYGWIN
installation. I haven't played too much with it yet, but I was able to
create a new database and load a database dump from a RedHat machine.

Hope this helps,

Joe

----- Original Message -----
From: "Gary MacDougall" <gary@freeportweb.com>
To: <pgsql-hackers@postgresql.org>
Cc: "Matthew" <matt@ctlno.com>; "'Alfred Perlstein '" <bright@wintelcom.net>
Sent: Sunday, November 12, 2000 12:22 PM
Subject: Re: [HACKERS] cygwin gcc problem.


> Still no luck with this.   I'm at a loss.
>
> Has ANYONE been able to compile PostgreSQL on Windows 2000
> with the CYGWIN package? If so, I'd be glad to know what steps
> were taken to accomplish this.
> I tried Matthew's suggestions, but that didn't seem to make a difference.
> I'm starting to wonder now if I've got a buggy CYGWIN...
>
> My goal here is to have a decent PostgresSQL distribution for W2K, which
> of course I'll make available in Installation form.  However, if I can't
get
> this sucker going, its not going to happen.
>
> Thanks in advance,
> Gary
>
> ----- Original Message -----
> From: "Matthew" <matt@ctlno.com>
> To: "'Alfred Perlstein '" <bright@wintelcom.net>; "'Gary MacDougall '"
> <gary@freeportweb.com>
> Cc: <pgsql-hackers@postgresql.org>
> Sent: Saturday, November 11, 2000 1:29 PM
> Subject: RE: [HACKERS] cygwin gcc problem.
>
>
> > I sucessfully compiled 7.0.2 on Win 2000 recently.  I had  a lot of
> problems
> > when I first installed cygwin and I select default text type of DOS.
When
> i
> > removed cygwin, and changed that option during install it all worked
(I'm
> > not sure if I swited it from DOS to Unix, or from Unix to DOS).  I'm not
> > sure that's the problem you are having but it helped me.
> >
> > -----Original Message-----
> > From: Alfred Perlstein
> > To: Gary MacDougall
> > Cc: pgsql-hackers@postgresql.org
> > Sent: 11/11/00 1:31 PM
> > Subject: Re: [HACKERS] cygwin gcc  problem.
> >
> > * Gary MacDougall <gary@freeportweb.com> [001111 11:28] wrote:
> > > I'm trying to compile postgresql on Windows 2000.  I've followed the
> > directions accordingly.
> > >
> > > When I run the "configure" script, and I get the following error
> > message:
> > >
> > >
> > > configure: error  installation or configuration problem: C compiler
> > cannot creat
> > > e executables.
> > >
> > > If anyone has any clues, I'd greatly appreciate the assistance.
> >
> > I think you need to ask on the cygwin lists.  If you're compiling
> > this on Windows 2000 you already need a compiler to compile it.
> >
> > I would just find the binary distribution and install that.
> >
> > -Alfred
>
>


Sun, 12 Nov 2000 10:22:30 -0800
"Joe Conway" <joe@conway-family.com>
Re: cygwin gcc  problem.
Still no luck with this.   I'm at a loss.

Has ANYONE been able to compile PostgreSQL on Windows 2000
with the CYGWIN package? If so, I'd be glad to know what steps
were taken to accomplish this.
I tried Matthew's suggestions, but that didn't seem to make a difference.
I'm starting to wonder now if I've got a buggy CYGWIN...

My goal here is to have a decent PostgresSQL distribution for W2K, which
of course I'll make available in Installation form.  However, if I can't get
this sucker going, its not going to happen.

Thanks in advance,
Gary

----- Original Message -----
From: "Matthew" <matt@ctlno.com>
To: "'Alfred Perlstein '" <bright@wintelcom.net>; "'Gary MacDougall '"
<gary@freeportweb.com>
Cc: <pgsql-hackers@postgresql.org>
Sent: Saturday, November 11, 2000 1:29 PM
Subject: RE: [HACKERS] cygwin gcc problem.


> I sucessfully compiled 7.0.2 on Win 2000 recently.  I had  a lot of
problems
> when I first installed cygwin and I select default text type of DOS.  When
i
> removed cygwin, and changed that option during install it all worked (I'm
> not sure if I swited it from DOS to Unix, or from Unix to DOS).  I'm not
> sure that's the problem you are having but it helped me.
>
> -----Original Message-----
> From: Alfred Perlstein
> To: Gary MacDougall
> Cc: pgsql-hackers@postgresql.org
> Sent: 11/11/00 1:31 PM
> Subject: Re: [HACKERS] cygwin gcc  problem.
>
> * Gary MacDougall <gary@freeportweb.com> [001111 11:28] wrote:
> > I'm trying to compile postgresql on Windows 2000.  I've followed the
> directions accordingly.
> >
> > When I run the "configure" script, and I get the following error
> message:
> >
> >
> > configure: error  installation or configuration problem: C compiler
> cannot creat
> > e executables.
> >
> > If anyone has any clues, I'd greatly appreciate the assistance.
>
> I think you need to ask on the cygwin lists.  If you're compiling
> this on Windows 2000 you already need a compiler to compile it.
>
> I would just find the binary distribution and install that.
>
> -Alfred



Sun, 12 Nov 2000 12:22:42 -0800
"Gary MacDougall" <gary@freeportweb.com>
Re: cygwin gcc  problem.