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 1420770004254.17d6c40a@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  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-general
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:

"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


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: Tom Lane
Date:
Subject: Re: GCC error while trying to install 9.4 via brew on MAC OS