Re: WTF

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: admin(at)noksfishes(dot)com(dot)ua, pgsql-bugs(at)postgresql(dot)org
Subject: Re: WTF
Date: 2014-02-03 20:07:42
Message-ID: 20140203200741.GI10723@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> admin(at)noksfishes(dot)com(dot)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

In response to

  • Re: WTF at 2014-02-03 19:56:28 from Tom Lane

Responses

  • Re: WTF at 2014-02-03 20:32:08 from Tom Lane

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2014-02-03 20:32:08 Re: WTF
Previous Message Tom Lane 2014-02-03 19:56:28 Re: WTF