Bug #2355
closedOdroid platform: Could not find a version of the Boost::Regex library
0%
Description
When attempting to compile on the Odroid platform, the following error prevents completion
checking whether the Boost::Regex library is available... yes
configure: error: Could not find a version of the Boost::Regex library
Updated by Alex Afanasyev almost 10 years ago
Did you mean "Android" platform? If so, the problem could in the way you compiled boost libraries or with some flags you use for library configuration.
You may be interested to check out Issue #1988 and NFD on Android wiki
Updated by Chaim Rieger almost 10 years ago
Odroid is a single board computer (similiar to the Intel Edison, Beagle Board, etc...) that runs a custom version of ubuntu, fedora, or debian. It has the capability of running Android as well, however I am working with Ubuntu 14.04
admin@cv:/software/ndn-cpp$ uname -a
Linux xxx.xx.com 3.10.63 #1 SMP PREEMPT Fri Jan 2 02:11:39 BRST 2015 armv7l armv7l armv7l GNU/Linux
Updated by Alex Afanasyev almost 10 years ago
Oh.. I didn't know about that one.
If it is Ubuntu, then there shouldn't be any problem... You can check for more detailed error in config.log.
Updated by Anonymous almost 10 years ago
In a virtual machine for Ubuntu 14.04 32-bit, I installed boost with:
sudo apt-get install libboost-all-dev
I was able to build ndn-cpp with boost Regex.
How did you install boost on your system? Can you try libboost-all-dev?
Updated by Chaim Rieger almost 10 years ago
libboos-all-dev is installed
./configure
..
..
checking for std::function... yes
checking for boost::function... yes
checking for boostlib >= 1.48... yes
checking whether the Boost::Regex library is available... yes
configure: error: Could not find a version of the Boost::Regex library!
admin@cv:/software/ndn-cpp$
admin@cv:/software/ndn-cpp$ tail config.log
#define WITH_STD_SHARED_PTR 1
#define WITH_BOOST_SHARED_PTR 1
#define HAVE_STD_FUNCTION 1
#define HAVE_BOOST_FUNCTION 1
#define WITH_STD_FUNCTION 1
#define WITH_BOOST_FUNCTION 1
#define HAVE_BOOST /**/
#define HAVE_BOOST_REGEX /**/
configure: exit 1
admin@cv:/software/ndn-cpp$
Updated by Chaim Rieger almost 10 years ago
libboost-all-dev is installed
./configure
checking for boost::shared_ptr... yes
checking for std::function... yes
checking for boost::function... yes
checking for boostlib >= 1.48... yes
checking whether the Boost::Regex library is available... yes
configure: error: Could not find a version of the Boost::Regex library!
The config.log
admin@cv:/software/ndn-cpp$ tail config.log
#define WITH_STD_SHARED_PTR 1
#define WITH_BOOST_SHARED_PTR 1
#define HAVE_STD_FUNCTION 1
#define HAVE_BOOST_FUNCTION 1
#define WITH_STD_FUNCTION 1
#define WITH_BOOST_FUNCTION 1
#define HAVE_BOOST /**/
#define HAVE_BOOST_REGEX /**/
configure: exit 1
Updated by Chaim Rieger almost 10 years ago
On the Odriod I had to install boost libs as follows
Download the latest (currently boost 1.57)
unpack, build, and install.
cd boost_1_57_0/
./bootstrap.sh --with-libraries=all
sudo ./b2 install
Once complete, move on to ndn-cxx installation
cd ndn-cxx/
./waf configure
./waf -j1
sudo ./waf install
Updated by Anonymous almost 10 years ago
Do these steps solve the problem of installing on the Odroid? Do you think we should add a note to the INSTALL file?
Updated by Chaim Rieger almost 10 years ago
Yes these steps should be added to the wiki/install file to build ndn-cxx on an odroid-xu3 running ubuntu 14.04.
Updated by Anonymous almost 10 years ago
- Project changed from 4 to ndn-cxx
- Target version deleted (
0.3)
Moved to project ndn-cxx since that's what the user was building. (I'll also add a note for Odroid in ndn-cpp.)
Updated by Junxiao Shi almost 10 years ago
- Subject changed from Boost::Regex library! to Odroid platform: Could not find a version of the Boost::Regex library
- Category set to Build
- Assignee deleted (
Chaim Rieger) - Priority changed from Low to Normal
- Target version set to Unsupported
Updated by Davide Pesavento over 6 years ago
- Description updated (diff)
- Start date deleted (
01/07/2015)
Updated by Junxiao Shi over 6 years ago
- Status changed from New to Rejected
however I am working with Ubuntu 14.04
Ubuntu 14.04 is no longer supported, thus this issue is rejected.