Re: GCC error while trying to install 9.4 via brew on MAC OS

From: "Jimmy Jack" <jimmyjack(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: GCC error while trying to install 9.4 via brew on MAC OS
Date: 2015-01-09 01:51:08
Message-ID: 1420768268603.15f4ae15@Nodemailer
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> "Jimmy Jack" <jimmyjack(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message deepak 2015-01-09 02:00:51 Re: How to exclude building/installing contrib modules on Windows
Previous Message Tom Lane 2015-01-09 01:40:33 Re: GCC error while trying to install 9.4 via brew on MAC OS