Thread: complie error on windows

complie error on windows

From
"Claiborne, Aldemaco Earl (Al)"
Date:
Hi,

I am trying to install postgresql-7.3 on windows and I keep getting the following error despite having downloaded a
compiler.Can anyone tell me what I am not doing right? I am a newbie to postgres and development. My ultimate goal is
tocreate a data driven application utilizing the J2EE architecture.
 


$ ./configure
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking which template to use... win
checking whether to build with 64-bit integer date/time support... no
checking whether to build with recode support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... no
checking for cc... no
configure: error: no acceptable C compiler found in $PATH

Thanks,

Al


Re: complie error on windows

From
Greg Copeland
Date:
If you run, "gcc", at the prompt (preferably  the one you're trying to
run configure from), do you get something like, "gcc: No input files" or
do you get, "gcc: command not found"?  If you get the later (or
something like it), you need to include it in your path, just as it's
telling you to do.  If you get the former, something would appear to be
off.


Greg


On Fri, 2003-01-03 at 09:43, Claiborne, Aldemaco Earl (Al) wrote:
> Hi,
> 
> I am trying to install postgresql-7.3 on windows and I keep getting the following error despite having downloaded a
compiler.Can anyone tell me what I am not doing right? I am a newbie to postgres and development. My ultimate goal is
tocreate a data driven application utilizing the J2EE architecture.
 
> 
> 
> $ ./configure
> checking build system type... i686-pc-cygwin
> checking host system type... i686-pc-cygwin
> checking which template to use... win
> checking whether to build with 64-bit integer date/time support... no
> checking whether to build with recode support... no
> checking whether NLS is wanted... no
> checking for default port number... 5432
> checking for default soft limit on number of connections... 32
> checking for gcc... no
> checking for cc... no
> configure: error: no acceptable C compiler found in $PATH
> 
> Thanks,
> 
> Al
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
-- 
Greg Copeland <greg@copelandconsulting.net>
Copeland Computer Consulting



Re: complie error on windows

From
"Serguei Mokhov"
Date:
----- Original Message ----- 
From: "Greg Copeland" <greg@CopelandConsulting.Net>
Sent: January 03, 2003 10:49 AM

> If you run, "gcc", at the prompt (preferably  the one you're trying to
> run configure from), do you get something like, "gcc: No input files" or
> do you get, "gcc: command not found"?  If you get the later (or
> something like it), you need to include it in your path,

... or install gcc at the first place. By default gcc doesn't
get installed on cygwin, you have to explicitly mark it to intall
next time you run setup.exe.

-s