-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathINSTALL
More file actions
44 lines (34 loc) · 1.05 KB
/
INSTALL
File metadata and controls
44 lines (34 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
NDNFS: NDN-friendly file system (based on FUSE)
Prerequisites
-------------
* OSXFUSE 2.5.6
* Sqlite
* NDN-CPP library
* boost library
* protobuf-cpp
* pkgconfig
Following are the detailed steps for each platform to install the prerequisites.
* Mac OS X 10.7.3, Mac OS X 10.8.4
Install Xcode.
In Xcode Preferences > Downloads, install "Command Line Tools".
From the following web site, download and install OSXFUSE
http://osxfuse.github.io/2013/05/01/OSXFUSE-2.5.6.html
Install MacPorts from http://www.macports.org/install.php
In a terminal, enter:
sudo port install boost
sudo port install protobuf-cpp
sudo port install pkgconfig
In a new terminal, install NDN-CPP as follows (after boost is installed):
git clone https://github.com/named-data/ndn-cpp.git
cd ndn-cpp
./configure
make
sudo make install
Build
-----
* Mac OS X 10.7.3, Mac OS X 10.8.4
To build in a terminal, change directory to the NDNFS root. Enter:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./waf configure
./waf
Optionally, instead of "./waf configure" you can enter:
./waf configure --debug