pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
Cc: pgsql-bugs@lists.postgresql.org, Euler Taveira <euler@timbira.com.br>
Subject: Re: BUG #15648: oracle_fdw extension not able to create
Date: Mon, 25 Feb 2019 01:57:37 +0000
Message-ID: <87bm30hbxi.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CAHE3wgg7yHQRAXW-ezKjz9fg6JisG6gHzeEK-KB7ygvP=A9jGw@mail.gmail.com>
References: <15648-dab913c22ce92c41@postgresql.org>
	<CAHE3wgiozX-MaRbJfutdRKO+-9yTQOv0VVkaYM6mZ0CzeDOjzw@mail.gmail.com>
	<CAA2eZXzkpK2wugsQBrJAj8GegA1F5tsZY6h2rHJr9BJWEb1Agw@mail.gmail.com>
	<CAHE3wgg7yHQRAXW-ezKjz9fg6JisG6gHzeEK-KB7ygvP=A9jGw@mail.gmail.com>

>>>>> "Euler" == Euler Taveira <euler@timbira.com.br> writes:

 >> make: /opt/rh/llvm-toolset-7/root/usr/bin/clang: Command not found
 >> make: *** [oracle_fdw.bc] Error 127

 Euler> There is something wrong with your env. Do you have CC set? What
 Euler> is your pg_config output?

This is what you get if you try and compile extensions against a server
built with --with-llvm, on a machine that doesn't have clang installed.
I mentioned to Andres that we really ought to have an official way to
disable the LLVM bitcode build for such cases, but right now there isn't
one. "with_llvm=no" on the make command line is worth a try, but I
wouldn't bet much on it working.

Otherwise, install llvm version 7 (including clang).

-- 
Andrew (irc:RhodiumToad)




view thread (8+ messages)  latest in thread

Message-ID: <87bm30hbxi.fsf@news-spur.riddles.org.uk>
Permalink:  ../87bm30hbxi.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87bm30hbxi.fsf@news-spur.riddles.org.uk

 · 

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: andrew@tao11.riddles.org.uk, prakash.ramakrishnan.ap@nielsen.com, euler@timbira.com.br
  Subject: Re: BUG #15648: oracle_fdw extension not able to create
  In-Reply-To: <87bm30hbxi.fsf@news-spur.riddles.org.uk>
  References: <15648-dab913c22ce92c41@postgresql.org> <CAHE3wgiozX-MaRbJfutdRKO+-9yTQOv0VVkaYM6mZ0CzeDOjzw@mail.gmail.com> <CAA2eZXzkpK2wugsQBrJAj8GegA1F5tsZY6h2rHJr9BJWEb1Agw@mail.gmail.com> <CAHE3wgg7yHQRAXW-ezKjz9fg6JisG6gHzeEK-KB7ygvP=A9jGw@mail.gmail.com> <87bm30hbxi.fsf@news-spur.riddles.org.uk>

* 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