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

Started by Jimmy Jackover 11 years ago8 messagesgeneral
Jump to latest
#1Jimmy Jack
jimmyjack@gmail.com

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’

any thoughts?
thanks a lot

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by PostgreSQL configure 9.4.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --disable-debug --prefix=/opt/boxen/homebrew/Cellar/postgresql/9.4.0 --datadir=/opt/boxen/homebrew/Cellar/postgresql/9.4.0/share/postgresql --docdir=/opt/boxen/homebrew/Cellar/postgresql/9.4.0/share/doc/postgresql --enable-thread-safety --with-bonjour --with-gssapi --with-ldap --with-openssl --with-pam --with-libxml --with-libxslt --with-tcl --with-tclconfig=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib --with-uuid=e2fs

## --------- ##
## Platform. ##
## --------- ##

hostname = Jiris-MacBook-Pro.local
uname -m = x86_64
uname -r = 14.1.0
uname -s = Darwin
uname -v = Darwin Kernel Version 14.1.0: Fri Dec  5 06:49:27 PST 2014; root:xnu-2782.10.67~9/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
Darwin Kernel Version 14.1.0: Fri Dec  5 06:49:27 PST 2014; root:xnu-2782.10.67~9/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: x86_64h (Intel x86-64h Haswell)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 292 tasks, 1430 threads, 4 processors
Load average: 2.32, Mach factor: 1.67
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/boxen/homebrew/Library/ENV/4.3
PATH: /opt/boxen/homebrew/opt/openssl/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2746: checking build system type
configure:2760: result: x86_64-apple-darwin14.1.0
configure:2780: checking host system type
configure:2793: result: x86_64-apple-darwin14.1.0
configure:2815: checking which template to use
configure:2886: result: darwin
configure:2981: checking whether to build with 64-bit integer date/time support
configure:3010: result: yes
configure:3017: checking whether NLS is wanted
configure:3049: result: no
configure:3057: checking for default port number
configure:3082: result: 5432
configure:3473: checking for block size
configure:3507: result: 8kB
configure:3519: checking for segment size
configure:3548: result: 1GB
configure:3560: checking for WAL block size
configure:3595: result: 8kB
configure:3607: checking for WAL segment size
configure:3642: result: 16MB
configure:3797: checking for C compiler version
configure:3806: clang --version >&5
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix
configure:3817: $? = 0
configure:3806: clang -v >&5
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix
configure:3817: $? = 0
configure:3806: clang -V >&5
clang: error: unsupported option '-V -isystem/opt/boxen/homebrew/include'
configure:3817: $? = 1
configure:3806: clang -qversion >&5
clang: error: unknown argument: '-qversion'
configure:3817: $? = 1
configure:3837: checking whether the C compiler works
configure:3859: clang    conftest.c  >&5
configure:3863: $? = 0
configure:3911: result: yes
configure:3914: checking for C compiler default output file name
configure:3916: result: a.out
configure:3922: checking for suffix of executables
configure:3929: clang -o conftest    conftest.c  >&5
configure:3933: $? = 0
configure:3955: result: 
configure:3977: checking whether we are cross compiling
configure:3985: clang -o conftest    conftest.c  >&5
configure:3989: $? = 0
configure:3996: ./conftest
configure:4000: $? = 0
configure:4015: result: no
configure:4020: checking for suffix of object files
configure:4042: clang -c   conftest.c >&5
configure:4046: $? = 0
configure:4067: result: o
configure:4071: checking whether we are using the GNU C compiler
configure:4090: clang -c   conftest.c >&5
configure:4090: $? = 0
configure:4099: result: yes
configure:4108: checking whether clang accepts -g
configure:4128: clang -c -g  conftest.c >&5
configure:4128: $? = 0
configure:4169: result: yes
configure:4186: checking for clang option to accept ISO C89
configure:4249: clang  -c -g -O2  conftest.c >&5
configure:4249: $? = 0
configure:4262: result: none needed
configure:4300: clang -c -g -O2  conftest.c >&5
conftest.c:23:1: error: use of undeclared identifier 'choke'
choke me
^
1 error generated.
configure:4300: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "9.4.0"
| #define PACKAGE_STRING "PostgreSQL 9.4.0"
| #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
| #define PACKAGE_URL ""
| #define PG_MAJORVERSION "9.4"
| #define PG_VERSION "9.4.0"
| #define USE_INTEGER_DATETIMES 1
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| #define BLCKSZ 8192
| #define RELSEG_SIZE 131072
| #define XLOG_BLCKSZ 8192
| #define XLOG_SEG_SIZE (16 * 1024 * 1024)
| /* end confdefs.h.  */

| int
| main ()
| {
| #ifndef __INTEL_COMPILER
| choke me
| #endif
|   ;
|   return 0;
| }
configure:4322: clang -c -g -O2  conftest.c >&5
conftest.c:23:1: error: use of undeclared identifier 'choke'
choke me
^
1 error generated.
configure:4322: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "9.4.0"
| #define PACKAGE_STRING "PostgreSQL 9.4.0"
| #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
| #define PACKAGE_URL ""
| #define PG_MAJORVERSION "9.4"
| #define PG_VERSION "9.4.0"
| #define USE_INTEGER_DATETIMES 1
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| #define BLCKSZ 8192
| #define RELSEG_SIZE 131072
| #define XLOG_BLCKSZ 8192
| #define XLOG_SEG_SIZE (16 * 1024 * 1024)
| /* end confdefs.h.  */

| int
| main ()
| {
| #ifndef __SUNPRO_C
| choke me
| #endif
|   ;
|   return 0;
| }
configure:4373: checking whether clang supports -Wdeclaration-after-statement
configure:4393: clang -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement  conftest.c >&5
configure:4393: $? = 0
configure:4402: result: yes
configure:4408: checking whether clang supports -Wendif-labels
configure:4428: clang -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels  conftest.c >&5
configure:4428: $? = 0
configure:4437: result: yes
configure:4443: checking whether clang supports -Wmissing-format-attribute
configure:4463: clang -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute  conftest.c >&5
configure:4463: $? = 0
configure:4472: result: yes
configure:4479: checking whether clang supports -Wformat-security
configure:4499: clang -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security  conftest.c >&5
configure:4499: $? = 0
configure:4508: result: yes
configure:4515: checking whether clang supports -fno-strict-aliasing
configure:4535: clang -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing  conftest.c >&5
configure:4535: $? = 0
configure:4544: result: yes
configure:4551: checking whether clang supports -fwrapv
configure:4571: clang -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv  conftest.c >&5
configure:4571: $? = 0
configure:4580: result: yes
configure:4587: checking whether clang supports -fexcess-precision=standard
configure:4607: clang -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard  conftest.c >&5
clang: error: unknown argument: '-fexcess-precision=standard'
configure:4607: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "9.4.0"
| #define PACKAGE_STRING "PostgreSQL 9.4.0"
| #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
| #define PACKAGE_URL ""
| #define PG_MAJORVERSION "9.4"
| #define PG_VERSION "9.4.0"
| #define USE_INTEGER_DATETIMES 1
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| #define BLCKSZ 8192
| #define RELSEG_SIZE 131072
| #define XLOG_BLCKSZ 8192
| #define XLOG_SEG_SIZE (16 * 1024 * 1024)
| /* end confdefs.h.  */

| int
| main ()
| {

|   ;
|   return 0;
| }
configure:4616: result: no
configure:4623: checking whether clang supports -funroll-loops
configure:4643: clang -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -funroll-loops  conftest.c >&5
configure:4643: $? = 0
configure:4652: result: yes
configure:4658: checking whether clang supports -ftree-vectorize
configure:4678: clang -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -ftree-vectorize  conftest.c >&5
configure:4678: $? = 0
configure:4687: result: yes
configure:4879: checking whether the C compiler still works
configure:4892: clang -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv   conftest.c  >&5
configure:4892: $? = 0
configure:4893: result: yes
configure:4918: clang -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv  conftest.c >&5
configure:4918: $? = 0
configure:4931: checking how to run the C preprocessor
configure:4962: clang -E  conftest.c
configure:4962: $? = 0
configure:4976: clang -E  conftest.c
conftest.c:18:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:4976: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "9.4.0"
| #define PACKAGE_STRING "PostgreSQL 9.4.0"
| #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
| #define PACKAGE_URL ""
| #define PG_MAJORVERSION "9.4"
| #define PG_VERSION "9.4.0"
| #define USE_INTEGER_DATETIMES 1
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| #define BLCKSZ 8192
| #define RELSEG_SIZE 131072
| #define XLOG_BLCKSZ 8192
| #define XLOG_SEG_SIZE (16 * 1024 * 1024)
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5001: result: clang -E
configure:5021: clang -E  conftest.c
configure:5021: $? = 0
configure:5035: clang -E  conftest.c
conftest.c:18:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:5035: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "9.4.0"
| #define PACKAGE_STRING "PostgreSQL 9.4.0"
| #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
| #define PACKAGE_URL ""
| #define PG_MAJORVERSION "9.4"
| #define PG_VERSION "9.4.0"
| #define USE_INTEGER_DATETIMES 1
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| #define BLCKSZ 8192
| #define RELSEG_SIZE 131072
| #define XLOG_BLCKSZ 8192
| #define XLOG_SEG_SIZE (16 * 1024 * 1024)
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jimmy Jack (#1)
Re: GCC error while trying to install 9.4 via brew on MAC OS

"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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#3Jimmy Jack
jimmyjack@gmail.com
In reply to: Tom Lane (#2)
Re: GCC error while trying to install 9.4 via brew on MAC OS

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:

Show quoted text

"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

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jimmy Jack (#3)
Re: GCC error while trying to install 9.4 via brew on MAC OS

"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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#5Jimmy Jack
jimmyjack@gmail.com
In reply to: Tom Lane (#4)
Re: GCC error while trying to install 9.4 via brew on MAC OS

I sent the message, it is pending review due its size… meanwhile there is the cache part

thanks a lot!

## ---------------- ##

## Cache variables. ##

## ---------------- ##

ac_cv_build=x86_64-apple-darwin14.1.0

ac_cv_c_bigendian=no

ac_cv_c_compiler_gnu=yes

ac_cv_c_flexmember=yes

ac_cv_c_inline=inline

ac_cv_env_CC_set=set

ac_cv_env_CC_value=clang

ac_cv_env_CFLAGS_set=

ac_cv_env_CFLAGS_value=

ac_cv_env_CPPFLAGS_set=

ac_cv_env_CPPFLAGS_value=

ac_cv_env_CPP_set=

ac_cv_env_CPP_value=

ac_cv_env_DOCBOOKSTYLE_set=

ac_cv_env_DOCBOOKSTYLE_value=

ac_cv_env_LDFLAGS_EX_set=

ac_cv_env_LDFLAGS_EX_value=

ac_cv_env_LDFLAGS_SL_set=

ac_cv_env_LDFLAGS_SL_value=

ac_cv_env_LDFLAGS_set=

ac_cv_env_LDFLAGS_value=

ac_cv_env_LIBS_set=

ac_cv_env_LIBS_value=

ac_cv_env_build_alias_set=

ac_cv_env_build_alias_value=

ac_cv_env_host_alias_set=

ac_cv_env_host_alias_value=

ac_cv_env_target_alias_set=

ac_cv_env_target_alias_value=

ac_cv_func_SSL_get_current_compression=yes

ac_cv_func_accept_arg1=int

ac_cv_func_accept_arg2='struct sockaddr *'

ac_cv_func_accept_arg3=socklen_t

ac_cv_func_accept_return=int

ac_cv_func_append_history=yes

ac_cv_func_cbrt=yes

ac_cv_func_crypt=yes

ac_cv_func_dlopen=yes

ac_cv_func_fdatasync=yes

ac_cv_func_fls=yes

ac_cv_func_fseeko=yes

ac_cv_func_getaddrinfo=yes

ac_cv_func_gethostbyname_r=no

ac_cv_func_getifaddrs=yes

ac_cv_func_getopt=yes

ac_cv_func_getopt_long=yes

ac_cv_func_getpeereid=yes

ac_cv_func_getpeerucred=no

ac_cv_func_getpwuid_r=yes

ac_cv_func_getrlimit=yes

ac_cv_func_getrusage=yes

ac_cv_func_history_truncate_file=yes

ac_cv_func_inet_aton=yes

ac_cv_func_isinf=yes

ac_cv_func_mbstowcs_l=yes

ac_cv_func_memmove=yes

ac_cv_func_mkdtemp=yes

ac_cv_func_poll=yes

ac_cv_func_posix_fadvise=no

ac_cv_func_pstat=no

ac_cv_func_random=yes

ac_cv_func_readlink=yes

ac_cv_func_rint=yes

ac_cv_func_rl_completion_matches=yes

ac_cv_func_rl_filename_completion_function=yes

ac_cv_func_setproctitle=no

ac_cv_func_setsid=yes

ac_cv_func_shm_open=yes

ac_cv_func_sigprocmask=yes

ac_cv_func_snprintf=yes

ac_cv_func_srandom=yes

ac_cv_func_strerror=yes

ac_cv_func_strerror_r=yes

ac_cv_func_strlcat=yes

ac_cv_func_strlcpy=yes

ac_cv_func_strtoll=yes

ac_cv_func_strtoull=yes

ac_cv_func_symlink=yes

ac_cv_func_sync_file_range=no

ac_cv_func_syslog=yes

ac_cv_func_towlower=yes

ac_cv_func_unsetenv=yes

ac_cv_func_utime=yes

ac_cv_func_utimes=yes

ac_cv_func_uuid_generate=yes

ac_cv_func_vsnprintf=yes

ac_cv_func_wcstombs=yes

ac_cv_func_wcstombs_l=yes

ac_cv_have_decl_F_FULLFSYNC=yes

ac_cv_have_decl_fdatasync=no

ac_cv_have_decl_posix_fadvise=no

ac_cv_have_decl_snprintf=yes

ac_cv_have_decl_strlcat=yes

ac_cv_have_decl_strlcpy=yes

ac_cv_have_decl_sys_siglist=yes

ac_cv_have_decl_vsnprintf=yes

ac_cv_header_crypt_h=no

ac_cv_header_dld_h=no

ac_cv_header_dns_sd_h=yes

ac_cv_header_fp_class_h=no

ac_cv_header_getopt_h=yes

ac_cv_header_gssapi_gssapi_h=yes

ac_cv_header_ieeefp_h=no

ac_cv_header_ifaddrs_h=yes

ac_cv_header_inttypes_h=yes

ac_cv_header_langinfo_h=yes

ac_cv_header_ldap_h=yes

ac_cv_header_libxml_parser_h=yes

ac_cv_header_libxslt_xslt_h=yes

ac_cv_header_memory_h=yes

ac_cv_header_net_if_h=yes

ac_cv_header_netinet_in_h=yes

ac_cv_header_netinet_tcp_h=yes

ac_cv_header_openssl_err_h=yes

ac_cv_header_openssl_ssl_h=yes

ac_cv_header_poll_h=yes

ac_cv_header_pthread_h=yes

ac_cv_header_pwd_h=yes

ac_cv_header_readline_history_h=yes

ac_cv_header_readline_readline_h=yes

ac_cv_header_security_pam_appl_h=yes

ac_cv_header_stdc=no

ac_cv_header_stdint_h=yes

ac_cv_header_stdlib_h=yes

ac_cv_header_string_h=yes

ac_cv_header_strings_h=yes

ac_cv_header_sys_ioctl_h=yes

ac_cv_header_sys_ipc_h=yes

ac_cv_header_sys_poll_h=yes

ac_cv_header_sys_pstat_h=no

ac_cv_header_sys_resource_h=yes

ac_cv_header_sys_select_h=yes

ac_cv_header_sys_sem_h=yes

ac_cv_header_sys_shm_h=yes

ac_cv_header_sys_socket_h=yes

ac_cv_header_sys_sockio_h=yes

ac_cv_header_sys_stat_h=yes

ac_cv_header_sys_tas_h=no

ac_cv_header_sys_time_h=yes

ac_cv_header_sys_types_h=yes

ac_cv_header_sys_ucred_h=yes

ac_cv_header_sys_un_h=yes

ac_cv_header_syslog_h=yes

ac_cv_header_termios_h=yes

ac_cv_header_ucred_h=no

ac_cv_header_unistd_h=yes

ac_cv_header_utime_h=yes

ac_cv_header_uuid_uuid_h=yes

ac_cv_header_wchar_h=yes

ac_cv_header_wctype_h=yes

ac_cv_header_zlib_h=yes

ac_cv_host=x86_64-apple-darwin14.1.0

ac_cv_lib_crypto_CRYPTO_new_ex_data=yes

ac_cv_lib_ldap_ldap_bind=yes

ac_cv_lib_ldap_r_ldap_simple_bind=yes

ac_cv_lib_m_main=yes

ac_cv_lib_pam_pam_start=yes

ac_cv_lib_ssl_SSL_library_init=yes

ac_cv_lib_xml2_xmlSaveToBuffer=yes

ac_cv_lib_xslt_xsltCleanupGlobals=yes

ac_cv_lib_z_inflate=yes

ac_cv_member_struct_sockaddr_sa_len=yes

ac_cv_member_struct_sockaddr_storage___ss_family=no

ac_cv_member_struct_sockaddr_storage___ss_len=no

ac_cv_member_struct_sockaddr_storage_ss_family=yes

ac_cv_member_struct_sockaddr_storage_ss_len=yes

ac_cv_member_struct_tm_tm_zone=yes

ac_cv_objext=o

ac_cv_path_BISON=/usr/bin/bison

ac_cv_path_EGREP='/usr/bin/grep -E'

ac_cv_path_GREP=/usr/bin/grep

ac_cv_path_LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld

ac_cv_path_PERL=/usr/bin/perl

ac_cv_path_TAR=/usr/bin/tar

ac_cv_path_install='/usr/bin/install -c'

ac_cv_prog_AWK=awk

ac_cv_prog_CPP='clang -E'

ac_cv_prog_XML2_CONFIG=xml2-config

ac_cv_prog_ac_ct_AR=ar

ac_cv_prog_ac_ct_RANLIB=ranlib

ac_cv_prog_ac_ct_STRIP=strip

ac_cv_prog_cc_c89=

ac_cv_prog_cc_g=yes

ac_cv_prog_gnu_ld=no

ac_cv_search_crypt='none required'

ac_cv_search_dlopen='none required'

ac_cv_search_fdatasync='none required'

ac_cv_search_gethostbyname_r=no

ac_cv_search_getopt_long='none required'

ac_cv_search_gss_init_sec_context=-lgssapi_krb5

ac_cv_search_setproctitle=no

ac_cv_search_shl_load=no

ac_cv_search_shm_open='none required'

ac_cv_search_shm_unlink='none required'

ac_cv_search_shmget='none required'

ac_cv_search_socket='none required'

ac_cv_sizeof_off_t=0

ac_cv_struct_tm=time.h

ac_cv_sys_file_offset_bits=no

ac_cv_sys_largefile_CC=no

ac_cv_sys_largefile_source=no

ac_cv_type_intptr_t=yes

ac_cv_type_long_long_int=no

ac_cv_type_struct_addrinfo=yes

ac_cv_type_struct_cmsgcred=no

ac_cv_type_struct_option=yes

ac_cv_type_struct_sockaddr_in6=yes

ac_cv_type_struct_sockaddr_storage=yes

ac_cv_type_struct_sockaddr_un=yes

ac_cv_type_uintptr_t=yes

ac_cv_type_union_semun=yes

ac_cv_type_unsigned_long_long_int=yes

ac_cv_type_z_streamp=yes

ac_cv_var_tzname=yes

pgac_cv__builtin_constant_p=yes

pgac_cv__builtin_unreachable=yes

pgac_cv__static_assert=yes

pgac_cv__types_compatible=yes

pgac_cv__va_args=yes

pgac_cv_c_inline_quietly=yes

pgac_cv_c_signed=yes

pgac_cv_check_readline=-lreadline

pgac_cv_func_getpwuid_r_5arg=yes

pgac_cv_func_gettimeofday_1arg=no

pgac_cv_func_sigsetjmp=yes

pgac_cv_func_strerror_r_int=yes

pgac_cv_funcname_func_support=yes

pgac_cv_gcc_int_atomics=yes

pgac_cv_ldap_safe=no

pgac_cv_path_flex=/usr/bin/flex

pgac_cv_prog_cc_cflags__Wdeclaration_after_statement=yes

pgac_cv_prog_cc_cflags__Wendif_labels=yes

pgac_cv_prog_cc_cflags__Wformat_security=yes

pgac_cv_prog_cc_cflags__Wmissing_format_attribute=yes

pgac_cv_prog_cc_cflags__fexcess_precision_standard=no

pgac_cv_prog_cc_cflags__fno_strict_aliasing=yes

pgac_cv_prog_cc_cflags__ftree_vectorize=yes

pgac_cv_prog_cc_cflags__funroll_loops=yes

pgac_cv_prog_cc_cflags__fwrapv=yes

pgac_cv_type_locale_t='yes (in xlocale.h)'

pgac_cv_var_PS_STRINGS=no

pgac_cv_var_int_opterr=yes

pgac_cv_var_int_optreset=yes

pgac_cv_var_int_timezone=yes

pgac_cv_var_rl_completion_append_character=yes

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

Show quoted text

"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

#6Tom Lane
tgl@sss.pgh.pa.us
In reply to: Tom Lane (#4)
Re: GCC error while trying to install 9.4 via brew on MAC OS

"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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#7Jimmy Jack
jimmyjack@gmail.com
In reply to: Tom Lane (#6)
Re: GCC error while trying to install 9.4 via brew on MAC OS

thank you so much! that solved my issue

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

Show quoted text

"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

#8Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Jimmy Jack (#5)
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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general