Skip to content

Latest commit

 

History

History
76 lines (66 loc) · 1.91 KB

INSTALL.md

File metadata and controls

76 lines (66 loc) · 1.91 KB

NDNFS: NDN-friendly file system (based on FUSE)

Prerequisites

For Mac OS X (>=10.8.4, Using MacPort)
  • OSXFuse (tested with 2.5.6) Download and install OSXFUSE
  • pkgconfig
    $ sudo port install pkgconfig
  • Sqlite3
    $ sudo port install sqlite3
  • protobuf-cpp
    $ sudo port install protobuf-cpp
  • boost library (NDNFS-port uses boost async I/O from NDN-CPP, please compile NDN-CPP with boost if possible.)
    $ sudo port install boost
For Ubuntu (>=12.04)
  • Fuse (tested with 2.5.6)
    $ sudo apt-get install fuse libfuse-dev
  • pkgconfig
    $ sudo apt-get install pkg-config
  • Sqlite3
    $ sudo apt-get install sqlite3
  • protobuf-cpp
    $ sudo apt-get install libprotobuf-dev protobuf-compiler
  • boost library (NDNFS-port uses boost async I/O from NDN-CPP, please compile NDN-CPP with boost if possible.)
    $ sudo apt-get install libboost1.54-all-dev

Build

Please make sure that PKG_CONFIG_PATH includes the folder containing protobuf.pc and osxfuse.pc/fuse.pc; (And for some systems, default LD_LIBRARY_PATH may not include the default library installation path of protobuf). For example, do:

    $ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig 
    $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

And then, in NDNFS folder do:

    $ ./waf configure
    $ ./waf

Optionally, instead of "./waf configure" you can enter:

    $ ./waf configure --debug

Note

On Ubuntu 14.04, if boost is installed in "/usr/lib/x86_64-linux-gnu/" and waf configure cannot figure out boost lib path, can do

    $ ./waf configure --boost-lib=/usr/lib/x86_64-linux-gnu/