Skip to content

Building on Redhat Enterprise Linux

Mark Lesswing edited this page Mar 7, 2017 · 1 revision

From Adrian Duyzer:

In case anyone attempts to do this, here's how I managed to successfully install libRETS on 64-bit RHEL. Note: this installs with Ruby support only.

cd ~/src wget http://www.crt.realtors.org/projects/rets/librets/files/librets-1.5.1.tar.gz tar --gzip -xf librets-1.5.1.tar.gz cd librets-1.5.1 ./autogen.sh ./configure --disable-java --disable-perl --disable-dotnet --disable-php --disable-python --enable-shared_dependencies

Got errors indicating old verion of curl - need 7.18.2 or greater.

Current version is 7.15.5:

Package curl-7.15.5-2.1.el5_3.5.x86_64 already installed and latest version

Package curl-7.15.5-2.1.el5_3.5.i386 already installed and latest version

installing curl from source

cd ~/src wget http://curl.haxx.se/download/curl-7.21.2.tar.gz tar --gzip -xf curl-7.21.2.tar.gz cd curl-7.21.2 ./configure make make install

now trying to install librets again - fails because swig is not new enough

current installed version of swig is 1.3.29, yum doesn't have a newer package, so installing from source.

but first, in order to do that, we need a development version of PCRE (Perl Compatible Regular Expressions)

yum install pcre-devel

now onto swig

cd ~/src wget http://prdownloads.sourceforge.net/swig/swig-2.0.1.tar.gz tar --gzip -xf swig-2.0.1.tar.gz cd swig-2.0.1 ./configure make make install

back to trying to install librets

cd ~/src cd librets-1.5.1 ./configure --disable-java --disable-perl --disable-dotnet --disable-php --disable-python --enable-shared_dependencies make make install

cd project/swig/ruby ruby login.rb