named-data-ndnSIM / ndnSIM

ndnSIM: NS-3 based NDN simulator
GNU General Public License v3.0
108 stars 166 forks source link

Installation problem #69

Open gopikaspai opened 9 years ago

gopikaspai commented 9 years ago

gopika@Jujo:~/ndnSIM/ndn-cxx$ ./waf configure Setting top to : /home/gopika/ndnSIM/ndn-cxx Setting out to : /home/gopika/ndnSIM/ndn-cxx/build Checking for 'g++' (C++ compiler) : /usr/bin/g++ Checking supported CXXFLAGS : -std=c++11 Checking supported CXXFLAGS : -pedantic -Wall -O2 -g Checking for program 'doxygen' : /usr/bin/doxygen Checking for program 'tar' : /bin/tar Checking for program 'sphinx-build' : /usr/bin/sphinx-build Checking for std::is_default_constructible : yes Checking for std::is_move_constructible : yes Checking for std::is_move_assignable : yes Checking for friend typename-specifier : yes Checking for program 'sh' : /bin/sh Checking for library pthread : yes Checking for library rt : yes Checking for compiler flags ['-fPIC'] : yes Checking for function getpass : yes Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for 'sqlite3' : yes Checking Crypto++ lib : 561 Checking if CryptoPP library works : yes Checking boost includes : 1.54.0 Checking boost libs : lib iostreams not found in /usr/lib/x86_64-linux-gnu The configuration failed (complete log in /home/gopika/ndnSIM/ndn-cxx/build/config.log)

I am getting the this particular message as configuration failed. What am i supposed to do here, could anyone help please?

cawka commented 9 years ago

Please be more specific about the platform you're using and how you install boost libraries? If it is 12.04 with boost libraries from PPA, you need to specify --boost-libs flags as described on ndnsim.net.

gopikaspai commented 9 years ago

Hello,

I am Using Ubuntu 14.04 LTS , Followed all the instructions given in this site : http://ndnsim.net/2.0/getting-started.html and followed the instructions for boost libraries that is : wget http://downloads.sourceforge.net/project/boost/boost/1.57.0/boost_1_57_0.tar.bz2 tar jxf boost_1_57_0.tar.bz2 cd boost_1_57_0 ./bootstrap.sh sudo ./b2 --prefix=/usr/local install

When I faced the problem The configuration failed (complete log in /home/gopika/ndnSIM/ndn-cxx/build/config.log) as shown above.

Unfortunatley, still even after following the instruction of boost libraries, i am facing the same problem. Please let me know how shall I overcome this problem.

Thanks. oec

cawka commented 9 years ago

If you're following instructions with installing latest boost libraries, you should also follow instructions to include --boost-libs and --boost-includes flags during configure stage (http://ndnsim.net/2.0/faq.html#installing-boost-libraries-to-usr-local). Otherwise, what you have compiled and installed will not take any effect.

On Ubuntu 14.04 you don't need to compile boost from source. Just install libboost-all-dev package and you will be set.