pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martijn van Oosterhout <kleptog@svana.org>
To: phil campaigne <pcampaigne@charter.net>
Cc: pgsql-general@postgresql.org
Subject: Re: Installation Problem
Date: Tue, 25 Oct 2005 10:56:45 +0200
Message-ID: <20051025085644.GD22318@svana.org> (raw)
In-Reply-To: <435D8365.50705@charter.net>
References: <435D8365.50705@charter.net>

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.

view thread (20+ messages)  latest in thread

Message-ID: <20051025085644.GD22318@svana.org>
Permalink:  ../20051025085644.GD22318@svana.org/
Also on:    postgresql.org/message-id/20051025085644.GD22318@svana.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: kleptog@svana.org, pcampaigne@charter.net
  Subject: Re: Installation Problem
  In-Reply-To: <20051025085644.GD22318@svana.org>
  References: <435D8365.50705@charter.net> <20051025085644.GD22318@svana.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox