환경정보 : google cloud platform VM 인스턴스 CentOS 6.10 , PostgreSQL 9.5.6
다음과 같이 설치 시 오류없이 완료되나 생성된 config.log 파일을 error 메시지로 그랩하면 다음과 같은 메시지가 출력 됩니다.
주로 conftest 관련 오류메시지 인데요. 해당 메시지가 발생하는 원인 과 해결방법이 있을까요?
yum install gettext.x86_64 (gettext-devel.x86_64)
yum install devtoolset-6-systemtap-sdt-devel.x86_64
yum install zlib-devel readline-devel tcl-devel perl-devel python-devel \
pam-devel openldap-devel openssl-devel libxml2-devel \
libxslt-devel uuid-devel perl-ExtUtils-Embed
cd /pgsql
./configure \
--prefix=/opt/pgsql \
--enable-nls=ko \
--with-tcl \
--with-perl \
--with-python \
--with-gssapi \
--with-pam \
--with-ldap \
--with-openssl \
--with-ossp-uuid \
--with-libxml \
--with-libxslt \
conftest.c:23: error: (Each undeclared identifier is reported only once
conftest.c:23: error: for each function it appears in.)
conftest.c:23: error: expected ';' before 'me'
conftest.c:23: error: 'choke' undeclared (first use in this function)
conftest.c:23: error: (Each undeclared identifier is reported only once
conftest.c:23: error: for each function it appears in.)
conftest.c:23: error: expected ';' before 'me'
cc1: error: unrecognized command line option "-fexcess-precision=standard"
cc1: error: unrecognized command line option "-Wunused-command-line-argument"
conftest.c:18:28: error: ac_nonexistent.h: No such file or directory
conftest.c:18:28: error: ac_nonexistent.h: No such file or directory
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
conftest.c:68:20: error: atomic.h: No such file or directory
conftest.c:35:20: error: atomic.h: No such file or directory
conftest.c:69:17: error: dld.h: No such file or directory
conftest.c:36:17: error: dld.h: No such file or directory
conftest.c:69:22: error: fp_class.h: No such file or directory
conftest.c:36:22: error: fp_class.h: No such file or directory
conftest.c:70:20: error: ieeefp.h: No such file or directory
conftest.c:37:20: error: ieeefp.h: No such file or directory
conftest.c:72:22: error: mbarrier.h: No such file or directory
conftest.c:39:22: error: mbarrier.h: No such file or directory
conftest.c:77:23: error: sys/pstat.h: No such file or directory
conftest.c:44:23: error: sys/pstat.h: No such file or directory
conftest.c:82:24: error: sys/sockio.h: No such file or directory
conftest.c:49:24: error: sys/sockio.h: No such file or directory
conftest.c:82:21: error: sys/tas.h: No such file or directory
conftest.c:49:21: error: sys/tas.h: No such file or directory
conftest.c:85:19: error: ucred.h: No such file or directory
conftest.c:52:19: error: ucred.h: No such file or directory
conftest.c:92:23: error: sys/ucred.h: No such file or directory
conftest.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
conftest.c:67: error: 'not' undeclared (first use in this function)
conftest.c:67: error: (Each undeclared identifier is reported only once
conftest.c:67: error: for each function it appears in.)
conftest.c:67: error: expected ';' before 'big'
conftest.c:79: error: invalid application of 'sizeof' to incomplete type 'union semun'
conftest.c:81: error: expected expression before ')' token
conftest.c:82: error: expected expression before ')' token
conftest.c:85: error: 'struct sockaddr_storage' has no member named '__ss_family'
conftest.c:85: error: 'struct sockaddr_storage' has no member named '__ss_family'
conftest.c:85: error: 'struct sockaddr_storage' has no member named 'ss_len'
conftest.c:85: error: 'struct sockaddr_storage' has no member named 'ss_len'
conftest.c:85: error: 'struct sockaddr_storage' has no member named '__ss_len'
conftest.c:85: error: 'struct sockaddr_storage' has no member named '__ss_len'
conftest.c:85: error: 'struct sockaddr' has no member named 'sa_len'
conftest.c:85: error: 'struct sockaddr' has no member named 'sa_len'
conftest.c:83: error: expected expression before ')' token
conftest.c:112: error: expected expression before ')' token
conftest.c:113: error: expected expression before ')' token
conftest.c:90: error: invalid application of 'sizeof' to incomplete type 'struct cmsgcred'
conftest.c:88: error: expected expression before ')' token
conftest.c:87: error: expected expression before ')' token
conftest.c:90: error: conflicting types for 'accept'
conftest.c:90: error: conflicting types for 'accept'
conftest.c:94: error: 'wcstombs_l' undeclared (first use in this function)
conftest.c:94: error: (Each undeclared identifier is reported only once
conftest.c:94: error: for each function it appears in.)
conftest.c:95: error: 'wcstombs_l' undeclared (first use in this function)
conftest.c:95: error: (Each undeclared identifier is reported only once
conftest.c:95: error: for each function it appears in.)
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
conftest.c:150: error: 'strlcat' undeclared (first use in this function)
conftest.c:150: error: (Each undeclared identifier is reported only once
conftest.c:150: error: for each function it appears in.)
conftest.c:151: error: 'strlcpy' undeclared (first use in this function)
conftest.c:151: error: (Each undeclared identifier is reported only once
conftest.c:151: error: for each function it appears in.)
conftest.c:121: error: 'F_FULLFSYNC' undeclared (first use in this function)
conftest.c:121: error: (Each undeclared identifier is reported only once
conftest.c:121: error: for each function it appears in.)
conftest.c:151: error: expected expression before ')' token
conftest.c:114:29: error: machine/vmparam.h: No such file or directory
conftest.c:115:22: error: sys/exec.h: No such file or directory
conftest.c:120: error: 'PS_STRINGS' undeclared (first use in this function)
conftest.c:120: error: (Each undeclared identifier is reported only once
conftest.c:120: error: for each function it appears in.)
| /* Override any GCC internal prototype to avoid an error.
configure:12147: checking for strerror
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
cc1: error: unrecognized command line option "-mthreads"
cc1: error: unrecognized command line option "-fthread-safe"
cc1: error: unrecognized command line option "-mt"
configure:12923: checking for strerror_r
configure:12934: checking whether strerror_r returns int
conftest.c:151: error: conflicting types for 'strerror_r'
/usr/include/string.h:438: note: previous declaration of 'strerror_r' was here
| int strerror_r(int, char *, size_t);
| int strerror_r();
conftest.c:166: error: 'int8' undeclared (first use in this function)
conftest.c:166: error: (Each undeclared identifier is reported only once
conftest.c:166: error: for each function it appears in.)
conftest.c:166: error: 'uint8' undeclared (first use in this function)
conftest.c:166: error: (Each undeclared identifier is reported only once
conftest.c:166: error: for each function it appears in.)
conftest.c:166: error: 'int64' undeclared (first use in this function)
conftest.c:166: error: (Each undeclared identifier is reported only once
conftest.c:166: error: for each function it appears in.)
conftest.c:166: error: 'uint64' undeclared (first use in this function)
conftest.c:166: error: (Each undeclared identifier is reported only once
conftest.c:166: error: for each function it appears in.)
conftest.c:166: error: expected expression before ')' token
conftest.c:168: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
conftest.c:169: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
conftest.c:175: error: '__int128' undeclared (first use in this function)
conftest.c:175: error: (Each undeclared identifier is reported only once
conftest.c:175: error: for each function it appears in.)
conftest.c:175: error: expected ';' before 'c'
conftest.c:176: error: 'a' undeclared (first use in this function)
conftest.c:177: error: 'b' undeclared (first use in this function)
conftest.c:179: error: 'c' undeclared (first use in this function)
conftest.c:180: error: 'd' undeclared (first use in this function)
conftest.c:172: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
conftest.c:172: error: (Each undeclared identifier is reported only once
conftest.c:172: error: for each function it appears in.)
conftest.c:172: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
conftest.c:172: error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
conftest.c:172: error: (Each undeclared identifier is reported only once
conftest.c:172: error: for each function it appears in.)
conftest.c:172: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
conftest.c:167:20: error: intrin.h: No such file or directory
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/nmmintrin.h:31:3: error: #error "SSE4.2 instruction set not enabled"
conftest.c:173:2: error: #error __SSE4_2__ not defined
| #error __SSE4_2__ not defined
Your system has sterror_r(); it does not need strerror().
ac_cv_func_strerror=yes
ac_cv_func_strerror_r=yes
|