Re: cygwin gcc problem.

Started by Alfred Perlsteinabout 25 years ago4 messages
#1Alfred Perlstein
bright@wintelcom.net

* 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

#2Matthew
matt@ctlno.com
In reply to: Alfred Perlstein (#1)
RE: 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

#3Joe Conway
joe@conway-family.com
In reply to: Matthew (#2)

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

Show quoted text

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

#4Gary MacDougall
gary@freeportweb.com
In reply to: Matthew (#2)

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

Show quoted text

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