You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "xinzhang (JIRA)" <ji...@apache.org> on 2017/12/04 10:39:00 UTC

[jira] [Comment Edited] (HAWQ-1561) build faild on centos 6.8 bzip2

    [ https://issues.apache.org/jira/browse/HAWQ-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16276598#comment-16276598 ] 

xinzhang edited comment on HAWQ-1561 at 12/4/17 10:38 AM:
----------------------------------------------------------

Does your  bzip2's version (1.0.5) ?
---------------------------------------------------------
[root@node3 incubator-hawq]# bzip2 --version
bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.
.....
[root@node3 incubator-hawq]# rpm -qa |grep bzip2
bzip2-devel-1.0.6-1.bentuos8.0.x86_64               
bzip2-libs-1.0.5-7.el6_0.x86_64
bzip2-1.0.5-7.el6_0.x86_64
(I use yum install 1.0.5 with /usr/bin/bzip2 and I install 1.0.6 with source tar in/usr/local/bin/bzip2, I install 1.0.6 to /usr/local)
[root@node3 incubator-hawq]# which bzip2
/usr/local/bin/bzip2
[root@node3 incubator-hawq]# whereis bzip2
bzip2: /usr/bin/bzip2 /usr/local/bin/bzip2 /usr/man/man1/bzip2.1 /usr/share/man/man1/bzip2.1.gz
 
-----------------------------------------
configure log:
[root@node3 incubator-hawq]# ./configure 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... yes
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for __get_cpuid... yes
checking for __cpuid... no
checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no
checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes
checking which CRC-32C implementation to use... SSE 4.2 with runtime check
checking if gcc supports -Wendif-labels... yes
checking if gcc supports -Wformat-security... yes
checking if gcc supports -fno-strict-aliasing... yes
checking if gcc supports -fwrapv... yes
checking if gcc supports -fno-aggressive-loop-optimizations... yes
checking whether the C compiler still works... yes
checking how to run the C preprocessor... gcc -E
checking whether to build with snmp... no
checking whether to build with gphdfs...no
checking whether to build with email...no
checking allow thread-safe client libraries... yes
checking whether to build with Tcl... no
checking whether to build Perl modules... no
checking whether to build Python modules... no
checking whether to build Java modules... no
checking whether to build R modules... no
checking whether to build pgcrypto modules... no
checking whether to build with GSSAPI support... no
checking whether to build with Kerberos 5 support... no
checking whether to build with PAM support... no
checking whether to build with LDAP support... no
checking whether to build with Bonjour support... no
checking whether to build with OpenSSL support... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
configure: using CPPFLAGS= -D_GNU_SOURCE 
configure: using LDFLAGS= 
checking for ld used by GCC... /opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/ld
checking if the linker (/opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/ld) is GNU ld... yes
checking for ranlib... ranlib
checking for strip... strip
checking whether it is possible to strip libraries... yes
checking for ar... ar
checking for tar... /bin/tar
checking whether ln -s works... yes
checking for gawk... gawk
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for bison... /usr/bin/bison
configure: using bison (GNU Bison) 3.0.4
checking for flex... /usr/bin/flex
configure: using flex 2.5.35
checking for mvn... /opt/maven/maven-bin/bin/mvn
configure: using Apache Maven 3.3.9
checking for gperf... /usr/bin/gperf
checking for perl... /usr/bin/perl
configure: using perl 5.10.1
checking for Perl module JSON... yes
checking for python... /root/anaconda2/bin/python
checking for main in -lm... yes
checking for library containing setproctitle... no
checking for library containing dlopen... -ldl
checking for library containing socket... none required
checking for library containing shl_load... no
checking for library containing getopt_long... none required
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... none required
checking for library containing gethostbyname_r... none required
checking for library containing shmget... none required
checking for library containing readline... -lreadline
checking for inflate in -lz... yes
checking for clock_gettime in -lrt... yes
checking for curl-config... /root/anaconda2/bin/curl-config
checking for curl >= 7.0.0... yes
checking CURL_CFLAGS... -I/root/anaconda2/include
checking CURL_LIBS... -L/root/anaconda2/lib -lcurl
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for library containing BZ2_bzDecompress... no
configure: error: library 'bzip2' is required.
'bzip2' is used for table compression.  Check config.log for details.
It is possible the compiler isn't looking in the proper directory.
[root@node3 incubator-hawq]# 


was (Author: zhangxin0112zx):
Does your  bzip2's version (1.0.5) ?
log:
[root@node3 incubator-hawq]# ./configure 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... yes
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for __get_cpuid... yes
checking for __cpuid... no
checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no
checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes
checking which CRC-32C implementation to use... SSE 4.2 with runtime check
checking if gcc supports -Wendif-labels... yes
checking if gcc supports -Wformat-security... yes
checking if gcc supports -fno-strict-aliasing... yes
checking if gcc supports -fwrapv... yes
checking if gcc supports -fno-aggressive-loop-optimizations... yes
checking whether the C compiler still works... yes
checking how to run the C preprocessor... gcc -E
checking whether to build with snmp... no
checking whether to build with gphdfs...no
checking whether to build with email...no
checking allow thread-safe client libraries... yes
checking whether to build with Tcl... no
checking whether to build Perl modules... no
checking whether to build Python modules... no
checking whether to build Java modules... no
checking whether to build R modules... no
checking whether to build pgcrypto modules... no
checking whether to build with GSSAPI support... no
checking whether to build with Kerberos 5 support... no
checking whether to build with PAM support... no
checking whether to build with LDAP support... no
checking whether to build with Bonjour support... no
checking whether to build with OpenSSL support... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
configure: using CPPFLAGS= -D_GNU_SOURCE 
configure: using LDFLAGS= 
checking for ld used by GCC... /opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/ld
checking if the linker (/opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/ld) is GNU ld... yes
checking for ranlib... ranlib
checking for strip... strip
checking whether it is possible to strip libraries... yes
checking for ar... ar
checking for tar... /bin/tar
checking whether ln -s works... yes
checking for gawk... gawk
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for bison... /usr/bin/bison
configure: using bison (GNU Bison) 3.0.4
checking for flex... /usr/bin/flex
configure: using flex 2.5.35
checking for mvn... /opt/maven/maven-bin/bin/mvn
configure: using Apache Maven 3.3.9
checking for gperf... /usr/bin/gperf
checking for perl... /usr/bin/perl
configure: using perl 5.10.1
checking for Perl module JSON... yes
checking for python... /root/anaconda2/bin/python
checking for main in -lm... yes
checking for library containing setproctitle... no
checking for library containing dlopen... -ldl
checking for library containing socket... none required
checking for library containing shl_load... no
checking for library containing getopt_long... none required
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... none required
checking for library containing gethostbyname_r... none required
checking for library containing shmget... none required
checking for library containing readline... -lreadline
checking for inflate in -lz... yes
checking for clock_gettime in -lrt... yes
checking for curl-config... /root/anaconda2/bin/curl-config
checking for curl >= 7.0.0... yes
checking CURL_CFLAGS... -I/root/anaconda2/include
checking CURL_LIBS... -L/root/anaconda2/lib -lcurl
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for library containing BZ2_bzDecompress... no
configure: error: library 'bzip2' is required.
'bzip2' is used for table compression.  Check config.log for details.
It is possible the compiler isn't looking in the proper directory.
[root@node3 incubator-hawq]# 

> build faild on centos 6.8 bzip2
> -------------------------------
>
>                 Key: HAWQ-1561
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1561
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Build
>            Reporter: xinzhang
>            Assignee: Radar Lei
>
> Hi. My env is CentOS release 6.8 .
> env:
>      # bzip2 --version
> bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.
> fail log:
>    ...............
>      checking for library containing BZ2_bzDecompress... no
> configure: error: library 'bzip2' is required.
> 'bzip2' is used for table compression.  Check config.log for details.
> It is possible the compiler isn't looking in the proper directory.
> q:
>   CENTOS 6.X use bzip1.0.5  as default . The dependence libs are the biggest pros.
>    What should I to do ? bzip2 1.0.6 had installed .



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)