Re: GCC error while trying to install 9.4 via brew on MAC OS - Mailing list pgsql-general

From Jimmy Jack
Subject Re: GCC error while trying to install 9.4 via brew on MAC OS
Date
Msg-id 1420768268603.15f4ae15@Nodemailer
Whole thread Raw
In response to Re: GCC error while trying to install 9.4 via brew on MAC OS  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: GCC error while trying to install 9.4 via brew on MAC OS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
the log is really big, full of errors and ends with error 1



Undefined symbols for architecture x86_64:
  "_gethostbyname_r", referenced from:
      _main in conftest-7b666a.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:12733: $? = 1
configure: failed program was:




On Thu, Jan 8, 2015 at 5:40 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

"Jimmy Jack" <jimmyjack@gmail.com> writes:
> Here is the snippet of the error, I am really puzzled why I cannot install postgres.
> clang: error: unsupported option '-V -isystem/opt/boxen/homebrew/include'
> clang: error: unknown argument: '-qversion’

The fragment of config.log you provided looks perfectly normal as far as
it goes (well, except that you seem to be using an unreleased version of
OS X...). In particular, the error message you mention is completely
expected; whatever your problem is, this is not it.

regards, tom lane


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: GCC error while trying to install 9.4 via brew on MAC OS
Next
From: deepak
Date:
Subject: Re: How to exclude building/installing contrib modules on Windows