Project

General

Profile

Actions

Bug #2355

closed

Odroid platform: Could not find a version of the Boost::Regex library

Added by Chaim Rieger over 9 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Build
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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
Actions #1

Updated by Alex Afanasyev over 9 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

Actions #2

Updated by Chaim Rieger over 9 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
Actions #3

Updated by Alex Afanasyev over 9 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.

Actions #4

Updated by Anonymous over 9 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?

Actions #5

Updated by Chaim Rieger over 9 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$
Actions #6

Updated by Chaim Rieger over 9 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
Actions #7

Updated by Chaim Rieger over 9 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
Actions #8

Updated by Anonymous over 9 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?

Actions #9

Updated by Chaim Rieger over 9 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.

Actions #10

Updated by Anonymous over 9 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.)

Actions #11

Updated by Junxiao Shi over 9 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
Actions #12

Updated by Davide Pesavento about 6 years ago

  • Description updated (diff)
  • Start date deleted (01/07/2015)
Actions #13

Updated by Junxiao Shi almost 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.

Actions

Also available in: Atom PDF