pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: admin@noksfishes.com.ua
Cc: pgsql-bugs@postgresql.org
Subject: Re: WTF
Date: Mon, 3 Feb 2014 17:07:42 -0300
Message-ID: <20140203200741.GI10723@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <16662.1391457388@sss.pgh.pa.us>
References: <3fa501f.61a9272c0c03fae9aa6b5c3778438074@mail.noksfishes.com.ua>
	<16662.1391457388@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Tom Lane wrote:
> admin@noksfishes.com.ua writes:
> > configure:3161: checking for gcc
> > configure:3191: result: no
> > configure:3161: checking for cc
> > configure:3191: result: no
> > configure:3213: error: in `/home/rootparser/install/postgresql-9.2.6':
> > configure:3216: error: no acceptable C compiler found in SPATH
> 
> It appears you don't have a C compiler installed.  It's possible
> that you do, but it's too confused to operate because of whatever
> is causing "arch" to spit up:
> 
> > /bin/arch              = unknown
> 
> /bin/arch should work on pretty much any Linux distro I know of.
> Weird environment settings perhaps?

Uhm.  In my machine, a similar Debian version, I don't have /bin/arch.
I have /usr/bin/arch, but it also spits when passed -k which is what his
log showed.  This is an extract of a working build's config.log:

/bin/arch              = unknown
/usr/bin/arch -k       = unknown


And when run directly in bash,

$ /bin/arch
-bash: /bin/arch: No such file or directory
$ which arch
/usr/bin/arch
$ /usr/bin/arch 
x86_64
$ /usr/bin/arch -k
/usr/bin/arch: invalid option -- 'k'
Try `/usr/bin/arch --help' for more information.

So "arch" is not the issue.

$ uname -a
Linux eldon 3.12.8 #4 SMP Thu Jan 16 10:48:05 CLST 2014 x86_64 GNU/Linux

$ cat /etc/debian_version 
7.3

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <20140203200741.GI10723@eldon.alvh.no-ip.org>
Permalink:  ../20140203200741.GI10723@eldon.alvh.no-ip.org/
Also on:    postgresql.org/message-id/20140203200741.GI10723@eldon.alvh.no-ip.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-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, admin@noksfishes.com.ua
  Subject: Re: WTF
  In-Reply-To: <20140203200741.GI10723@eldon.alvh.no-ip.org>
  References: <3fa501f.61a9272c0c03fae9aa6b5c3778438074@mail.noksfishes.com.ua> <16662.1391457388@sss.pgh.pa.us> <20140203200741.GI10723@eldon.alvh.no-ip.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