Thread: cygwin gcc problem.

cygwin gcc problem.

From
"Gary MacDougall"
Date:
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.
 
Thanks,
Gary
 
 
//////////////////////////////////////
$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking echo setting...
checking setting template to... cygwin32
configure: warning: *** Include directory /usr/local/include does not exist.
checking whether to support locale... disabled
checking whether to support cyrillic recode... disabled
checking whether to support multibyte... disabled
checking setting DEF_PGPORT... 5432
checking setting DEF_MAXBACKENDS... 32
checking setting USE_TCL... disabled
checking setting USE_PERL... disabled
checking setting USE_ODBC... disabled
checking setproctitle... disabled
checking setting ASSERT CHECKING... disabled
checking for gcc... gcc
checking whether the C compiler (gcc -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.

Re: cygwin gcc problem.

From
Alfred Perlstein
Date:
* 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


RE: cygwin gcc problem.

From
Matthew
Date:
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


Re: cygwin gcc problem.

From
"Gary MacDougall"
Date:
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




Re: cygwin gcc problem.

From
"Joe Conway"
Date:
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
>
>