Re: Installation Problem

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: phil campaigne <pcampaigne(at)charter(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Installation Problem
Date: 2005-10-25 08:56:45
Message-ID: 20051025085644.GD22318@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2005-10-25 09:15:17 Re: function DECODE and triggers
Previous Message Andrus 2005-10-25 08:44:54 Re: FoxPro in WINE to Postgresql on LINUX?