Re: Installation Problem - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Installation Problem
Date
Msg-id 20051025085644.GD22318@svana.org
Whole thread Raw
In response to Installation Problem  (phil campaigne <pcampaigne@charter.net>)
List pgsql-general
On Mon, Oct 24, 2005 at 08:59:17PM -0400, phil campaigne wrote:
> I can run ./configure but when I try to run make, the program cannot
> find a usable c compiler.
> I tried
> ./configure CC=/usr/lib/gcc-lib/i586-suse-linux/3.3.3/cc1
>
> but get the error: cannot run c compiled programs.

I think you need to point "gcc" not "cc1". The latter (AFAIK) won't
link things, it's just the compiler and so won't produce executables.

Maybe: /configure CC=/usr/lib/gcc-lib/i586-suse-linux/3.3.3/gcc

Incidently, on my Debian machine I have several compilers and they are
referred to as:

gcc-3.3
gcc-3.4
etc

Maybe that would work for you?

Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: Re: Select all invalid e-mail addresses
Next
From: Oliver Elphick
Date:
Subject: Re: function DECODE and triggers