Skip to content

Instantly share code, notes, and snippets.

@dmpeters
Created July 15, 2014 21:56
Show Gist options
  • Save dmpeters/2e5a968ce78953fc66c2 to your computer and use it in GitHub Desktop.
Save dmpeters/2e5a968ce78953fc66c2 to your computer and use it in GitHub Desktop.

Revisions

  1. dmpeters created this gist Jul 15, 2014.
    26 changes: 26 additions & 0 deletions librets_install.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    # Debian 7 x64, Ubuntu 14.04 x64, Ubuntu 12.04.4 x64
    *NOTE (tested on Digital Ocean VM's w/ > 512MB of RAM - gcc runs out of memory on VM's <= 512 MB)

    apt-get update
    aptitude safe-upgrade
    apt-get install build-essential libboost-all-dev libcurl4-gnutls-dev autoconf antlr swig python-dev
    *NOTE (for python 3 support add 'python3-dev' to the end of line 5)

    cd /tmp
    wget https://github.com/NationalAssociationOfRealtors/libRETS/archive/1.6.1.tar.gz
    tar xzf 1.6.1.tar.gz
    cd libRETS-1.6.1

    ./autogen.sh
    ./configure --disable-perl --disable-ruby --disable-java --disable-dotnet --disable-php --enable-shared_dependencies
    make
    make install

    # To Test
    python
    import librets
    dir(librets)
    librets.RETS_1_7_2
    librets.RETS_1_8
    librets.RETS_1_8_0