Re: GCC error while trying to install 9.4 via brew on MAC OS
Re: GCC error while trying to install 9.4 via brew on MAC OS
"Jimmy Jack" 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
GCC error while trying to install 9.4 via brew on MAC OS
Re: GCC error while trying to install 9.4 via brew on MAC OS
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
Re: GCC error while trying to install 9.4 via brew on MAC OS
On Thu, Jan 8, 2015 at 6:03 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Jimmy Jack" <jimmyjack@gmail.com> writes:
> the log is really big, full of errors and ends with error 1
> Undefined symbols for architecture x86_64:
> "_gethostbyname_r", referenced from:
That's expected too, on OS X. There are *lots* of expected failures
in a configure run.
Please, if you're unable to identify where the actual problem is,
just post the whole config.log.
Or, if you just can't bring yourself to do that, the last hundred or so
lines before the section marker
## ---------------- ##
## Cache variables. ##
## ---------------- ##
might be sufficient information.
regards, tom lane
Re: GCC error while trying to install 9.4 via brew on MAC OS
On Thu, Jan 8, 2015 at 6:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Jimmy Jack" <jimmyjack@gmail.com> writes:
> here it is, I apologize in advance for very large email
The problem is evidently here:
configure:12997: checking test program
configure:13007: clang -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 conftest.c -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm >&5
configure:13007: $? = 0
configure:13007: ./conftest
dyld: Library not loaded: /opt/boxen/homebrew/Cellar/openssl/1.0.1j/lib/libcrypto.1.0.0.dylib
Referenced from: /opt/boxen/homebrew/opt/openssl/lib/libssl.1.0.0.dylib
Reason: image not found
./configure: line 1928: 4124 Trace/BPT trap: 5 ./conftest$ac_exeext
configure:13007: $? = 133
configure: program exited with status 133
...
configure:13013: error:
Could not execute a simple test program. This may be a problem
related to locating shared libraries. Check the file 'config.log'
for the exact reason.
There's evidently something pretty broken about your homebrew openssl
installation. Remove that package, or reinstall it.
regards, tom lane
Re: GCC error while trying to install 9.4 via brew on MAC OS
"Jimmy Jack" writes: > the log is really big, full of errors and ends with error 1 > Undefined symbols for architecture x86_64: > "_gethostbyname_r", referenced from: That's expected too, on OS X. There are *lots* of expected failures in a configure run. Please, if you're unable to identify where the actual problem is, just post the whole config.log. Or, if you just can't bring yourself to do that, the last hundred or so lines before the section marker ## ---------------- ## ## Cache variables. ## ## ---------------- ## might be sufficient information. regards, tom lane
Re: GCC error while trying to install 9.4 via brew on MAC OS
"Jimmy Jack" writes: > here it is, I apologize in advance for very large email The problem is evidently here: configure:12997: checking test program configure:13007: clang -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 conftest.c -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm >&5 configure:13007: $? = 0 configure:13007: ./conftest dyld: Library not loaded: /opt/boxen/homebrew/Cellar/openssl/1.0.1j/lib/libcrypto.1.0.0.dylib Referenced from: /opt/boxen/homebrew/opt/openssl/lib/libssl.1.0.0.dylib Reason: image not found ./configure: line 1928: 4124 Trace/BPT trap: 5 ./conftest$ac_exeext configure:13007: $? = 133 configure: program exited with status 133 ... configure:13013: error: Could not execute a simple test program. This may be a problem related to locating shared libraries. Check the file 'config.log' for the exact reason. There's evidently something pretty broken about your homebrew openssl installation. Remove that package, or reinstall it. regards, tom lane
Re: GCC error while trying to install 9.4 via brew on MAC OS
Jimmy Jack wrote: > I sent the message, it is pending review due its size… meanwhile there is the cache part I rejected it -- it contained 400kB of gcc output plus a second copy of the same thing in HTML format. I have no desire to pointlessly cause 3 GB of outgoing traffic in our mailing list server, when Tom just quoted the ~10 lines that matter. All that has been discovered about compression is now a forgotten art, it seems. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services