Version 8 (modified by mickem, 21 months ago) (diff)

--

Building nsclient++ on linux

The quick version for Debian :)

  1. Install some packages (including cmake, boost, and what not) I will update this later on.
    sudo apt-get install -y subversion-tools # Subversion
    sudo apt-get install -y build-essential  # Normal build tools
    sudo apt-get install -y cmake            # cmake build tool
    sudo apt-get install -y python           # Python is used by the build tool
    sudo apt-get install -y libssl-dev libboost1.42-all-dev python-dev libprotobuf-dev
    sudo apt-get install -y protobuf-compiler# Google protocol buffers compiler
                                             # A long list of libraries used by the program (some optional)
    # ... more to come
    
  2. Create folder
    mkdir nscp
    cd nscp
    
  3. Grab the source from subversion
    svn co http://svn.nsclient.org/nscp/trunk
    
  4. Create build folder
    mkdir build
    cd build
    
  5. Configure the project using cmake (repeat this a few times)
    cmake ../trunk
    
  6. Build using make:
    make
    
  7. Test
    nscp --test
    

Will add more information here later on...