[HACKERS] cygwin gcc problem.

2000-11-11 Thread Gary MacDougall



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 create executables.
 
If anyone has any clues, I'd greatly appreciate the 
assistance.
 
Thanks,
Gary
 
 
//
$ ./configureloading cache 
./config.cachechecking host system type... i686-pc-cygwinchecking echo 
setting...checking setting template to... cygwin32configure: warning: 
*** Include directory /usr/local/include does not exist.checking whether to 
support locale... disabledchecking whether to support cyrillic recode... 
disabledchecking whether to support multibyte... disabledchecking 
setting DEF_PGPORT... 5432checking setting DEF_MAXBACKENDS... 32checking 
setting USE_TCL... disabledchecking setting USE_PERL... disabledchecking 
setting USE_ODBC... disabledchecking setproctitle... disabledchecking 
setting ASSERT CHECKING... disabledchecking for gcc... gccchecking 
whether the C compiler (gcc -O2 ) works... noconfigure: error: installation 
or configuration problem: C compiler cannot create 
executables.


Re: [HACKERS] cygwin gcc problem.

2000-11-11 Thread Alfred Perlstein

* Gary MacDougall <[EMAIL PROTECTED]> [00 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: [HACKERS] cygwin gcc problem.

2000-11-11 Thread Matthew

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: [EMAIL PROTECTED]
Sent: 11/11/00 1:31 PM
Subject: Re: [HACKERS] cygwin gcc  problem.

* Gary MacDougall <[EMAIL PROTECTED]> [00 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: [HACKERS] cygwin gcc problem.

2000-11-12 Thread Gary MacDougall

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" <[EMAIL PROTECTED]>
To: "'Alfred Perlstein '" <[EMAIL PROTECTED]>; "'Gary MacDougall '"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> Sent: 11/11/00 1:31 PM
> Subject: Re: [HACKERS] cygwin gcc  problem.
>
> * Gary MacDougall <[EMAIL PROTECTED]> [00 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: [HACKERS] cygwin gcc problem.

2000-11-12 Thread Joe Conway

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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Matthew" <[EMAIL PROTECTED]>; "'Alfred Perlstein '" <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> To: "'Alfred Perlstein '" <[EMAIL PROTECTED]>; "'Gary MacDougall '"
> <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> > Sent: 11/11/00 1:31 PM
> > Subject: Re: [HACKERS] cygwin gcc  problem.
> >
> > * Gary MacDougall <[EMAIL PROTECTED]> [00 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
>
>