I have an issue when I want to build the owlcpp lib.
I think I have correctly installed Boost.build (boost-build-2014-10.tar.bz2).
After untar the archive I have launched :
/> b2 install --prefix=<boost_build_dir>
I have copied the owlcpp/doc/boost-build.jam to owpcpp/apps and I have set the path to:
boost-build "boost_build_dir" ;
I have copied the user-config.jam to my home directory and modified the following lines:
using gcc ;
constant BOOST : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost-build" ;
Where ..//OWL_LIBS/OWLCPP/boost-build is the extraction of the tar.bz2 archive.
I 'm under ubuntu 16.04 LTS
This is the error message:
error: Unable to find file or target named
error: '/boost//filesystem'
error: referred to from project at
error: 'lib/io'
Best regards,
Yves Teissier
Last edit: Yves Teissier 2017-06-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
warning: mismatched versions of Boost.Build engine and core
warning: Boost.Build engine (b2) is 2015.07.00
warning: Boost.Build core (at /usr/share/boost-build/src) is 2014.03-svn
bzip2.jam: No such file or directory
/usr/share/boost-build/src/build/toolset.jam:43: in toolset.using
ERROR: rule "bzip2.init" unknown in module "toolset".
/usr/share/boost-build/src/build/project.jam:1026: in using
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/libs/iostreams/build/Jamfile.v2:50: in modules.load
/usr/share/boost-build/src/build/project.jam:325: in load-jamfile
/usr/share/boost-build/src/build/project.jam:64: in load
/usr/share/boost-build/src/build/project.jam:89: in load-used-projects
/usr/share/boost-build/src/build/project.jam:75: in load
/usr/share/boost-build/src/build/project.jam:89: in load-used-projects
/usr/share/boost-build/src/build/project.jam:75: in load
/usr/share/boost-build/src/build/project.jam:145: in project.find
/usr/share/boost-build/src/build-system.jam:535: in load
/usr/share/boost-build/src/kernel/modules.jam:289: in import
/usr/share/boost-build/src/kernel/bootstrap.jam:139: in boost-build
/usr/share/boost-build/boost-build.jam:8: in module scope
Regards,
Yves Teissier
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok I have done some progress.
Now I have the following error :
lib/jamfile.jam:12: in modules.load
ERROR: rule "process_version_string" unknown in module "Jamfile</media>".
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/project.jam:325: in load-jamfile
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/project.jam:64: in load
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/project.jam:145: in project.find
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/targets.jam:452: in find-really
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/targets.jam:474: in find
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/targets.jam:305: in targets-to-build
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/targets.jam:270: in class@project-target.generate
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build-system.jam:714: in load
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/kernel/modules.jam:295: in import
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/kernel/bootstrap.jam:139: in boost-build
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/boost-build.jam:8: in module scope
Any idea ?
Regards,
Yves
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have an issue when I want to build the owlcpp lib.
I think I have correctly installed Boost.build (boost-build-2014-10.tar.bz2).
After untar the archive I have launched :
/> b2 install --prefix=<boost_build_dir>
I have copied the owlcpp/doc/boost-build.jam to owpcpp/apps and I have set the path to:
boost-build "boost_build_dir" ;
I have copied the user-config.jam to my home directory and modified the following lines:
using gcc ;
constant BOOST : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost-build" ;
Where ..//OWL_LIBS/OWLCPP/boost-build is the extraction of the tar.bz2 archive.
I 'm under ubuntu 16.04 LTS
This is the error message:
error: Unable to find file or target named
error: '/boost//filesystem'
error: referred to from project at
error: 'lib/io'
Best regards,
Yves Teissier
Last edit: Yves Teissier 2017-06-16
Ok
I have modified the user-config.jam to set all library source like that:
constant BOOST : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux" 1.64.0 ;
constant LIBXML2 : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/libxml2-2.9.3" 2.9.3 ;
constant RAPTOR : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/raptor2-2.0.15" 2.0.15 ;
constant FACTPP : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/FaCT++-1.6.2" 1.6.2 ;
constant OWLCPP : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/owlcpp-v0.3.4" 0.3.4 ;
But I have another error:
warning: mismatched versions of Boost.Build engine and core
warning: Boost.Build engine (b2) is 2015.07.00
warning: Boost.Build core (at /usr/share/boost-build/src) is 2014.03-svn
bzip2.jam: No such file or directory
/usr/share/boost-build/src/build/toolset.jam:43: in toolset.using
ERROR: rule "bzip2.init" unknown in module "toolset".
/usr/share/boost-build/src/build/project.jam:1026: in using
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/libs/iostreams/build/Jamfile.v2:50: in modules.load
/usr/share/boost-build/src/build/project.jam:325: in load-jamfile
/usr/share/boost-build/src/build/project.jam:64: in load
/usr/share/boost-build/src/build/project.jam:89: in load-used-projects
/usr/share/boost-build/src/build/project.jam:75: in load
/usr/share/boost-build/src/build/project.jam:89: in load-used-projects
/usr/share/boost-build/src/build/project.jam:75: in load
/usr/share/boost-build/src/build/project.jam:145: in project.find
/usr/share/boost-build/src/build-system.jam:535: in load
/usr/share/boost-build/src/kernel/modules.jam:289: in import
/usr/share/boost-build/src/kernel/bootstrap.jam:139: in boost-build
/usr/share/boost-build/boost-build.jam:8: in module scope
Regards,
Yves Teissier
Ok I have done some progress.
Now I have the following error :
lib/jamfile.jam:12: in modules.load
ERROR: rule "process_version_string" unknown in module "Jamfile</media>".
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/project.jam:325: in load-jamfile
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/project.jam:64: in load
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/project.jam:145: in project.find
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/targets.jam:452: in find-really
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/targets.jam:474: in find
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/targets.jam:305: in targets-to-build
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build/targets.jam:270: in class@project-target.generate
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/build-system.jam:714: in load
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/kernel/modules.jam:295: in import
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/src/kernel/bootstrap.jam:139: in boost-build
/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_64_0_linux/tools/build/boost-build.jam:8: in module scope
Any idea ?
Regards,
Yves
I have solved my problem.
It's was due to a wrong version of libxml2 (2.9.3 instead 2.9.0).
This is my working configuration:
**
/> cat user-config.jam
using gcc ;
constant BOOST : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/boost_1_53_0" 1.53.0 ;
constant LIBXML2 : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/libxml2-2.9.0" 2.9.0 ;
constant RAPTOR : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/raptor2-2.0.8" 2.0.8 ;
constant FACTPP : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/FaCT++-1.6.2" 1.6.2 ;
constant OWLCPP : "/media/sf_Documents/SCHNEIDER/XDI/TOOLS/OWL_LIBS/OWLCPP/owlcpp-v0.3.4" 0.3.4 ;
/> gcc -v
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
/> uname -a
Linux yves-VirtualBox 4.8.0-54-generic #57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux**
Regards,
Yves