You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

OS requirement

Currently, only redhat 6.5 or CentOS 6.5 are verified to work. 

  • install redhat 6.5 basic server

  • choose install development tools 

Dependencies

There are several dependencies you must install before building HAWQ. You should compile the libraries’ source code and install the libraries.

  • Compiling source code: This way would install the headers to /usr/local/include and libraries to /usr/local/lib or /usr/local/lib64. If you want to install the lib in another place, you can use the --prefix=/the/path option when you run configure. For example: ./configure --prefix=/the/path. Using the three steps below to compile and install the libraries.

# ./configure

 # make

# sudo make install

NameVersionDownload URLCompile and Install
gperf3.0.4http://ftp.gnu.org/gnu/gperf/gperf-3.0.4.tar.gz

/configure

make

sudo make install

snappy1.1.3https://github.com/google/snappy/releases/download/1.1.3/snappy-1.1.3.tar.gz

./configure

make

sudo make install
bzip21.0.6

http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz

make

sudo make install
python2.6.2https://www.python.org/ftp/python/2.6.2/Python-2.6.2.tgz

./configure

make

sudo make install
libevent1.4.6https://github.com/downloads/libevent/libevent/libevent-1.4.6-stable.tar.gz

./configure

make

sudo make install
json-c0.9http://oss.metaparadigm.com/json-c/json-c-0.9.tar.gz

./configure

make

sudo make install
krb51.11.3http://web.mit.edu/kerberos/dist/krb5/1.11/krb5-1.11.3-signed.tar

./configure

make

sudo make install
libuuid2.26.2http://mirrors.163.com/centos/6.7/os/x86_64/Packages/libuuid-devel-2.17.2-12.18.el6.x86_64.rpmrpm -i libuuid-devel-2.17.2-12.18.el6.x86_64.rpm
libgsasl1.8.0ftp://ftp.gnu.org/gnu/gsasl/libgsasl-1.8.0.tar.gz

./configure

make

sudo make install
libxml22.7.8http://xmlsoft.org/sources/libxml2-2.7.8.tar.gz

./configure

make

sudo make install

cd /usr/local/include/

sudo ln -s libxml2/libxml libxml
zlib1.2.3http://zlib.net/fossils/zlib-1.2.3.tar.gz

./configure --prefix=/usr

make

sudo make install
    
    
    
    
    
    
    
    

 




  • No labels