Error : Unable to load Jamfile
Dear all, I am able to installed boost_1_49_0 in my linux fedora 16 OS and then I exported the bjam file and also BOOST_ROOT. I copied two files into my code directory and name of these files are user-config.jam and boost-build.jam and content of these files as shown bellow. when I try to compile the my code it is giving the following error. Please any one get me out of this problem. my user-config.jam file contains using boost : 1.49 : /home/odtone/Documents/mihf/boost_1_49_0 ; using gcc : : : <cxxflags>-glib-2.0 -dbus-glib-1 : <libs>-glib-2.0 -dbus-glib-1 ; using gcc : : : <compileflags>-glib-2.0 -dbus-glib-1 : <libs>-glib-2.0 -dbus-glib-1 ; my boost-build.jam file contains boost-build /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2 ; Even though I feel everything looks ok still I am getting following error. Please could you help me . and also I did export bjam also export PATH=$PATH/home/odtone/Documents/mihf/boost_1_49_0/ export BOOST_ROOT=:/home/odtone/Documents/mihf/boost_1_49_0/ [root@odtone-aam odtone]# bjam /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:267: in find-jamfile from module project error: Unable to load Jamfile. error: Could not find a Jamfile in directory ':/home/odtone/Documents/mihf/boost_1_49_0/:/home/odtone/Documents/mihf/boost_1_49_0'. error: Attempted to find it with pattern '[Bb]uild.jam[Jj]amfile.v2[Jj]amfile[Jj]amfile.jam )'. error: Please consult the documentation at 'http://www.boost.org'. /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:288: in load-jamfile from module project /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:62: in project.load from module project /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:766: in project.use from module project /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:89: in load-used-projects from module project /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:73: in load from module project /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:168: in project.find from module project /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build-system.jam:570: in load from module build-system /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/kernel/modules.jam:283: in import from module modules /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module /home/odtone/Documents/mihf/odtone/boost-build.jam:2: in module scope from module Best Regards BaBu -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Hi BaBu
May it be that
export PATH=$PATH/home/odtone/
Documents/mihf/boost_1_49_0/
needs another ':' character after $PATH?
Marc
On 15 October 2012 12:48, Baba Prasad
Dear all,
I am able to installed boost_1_49_0 in my linux fedora 16 OS and then I exported the bjam file and also BOOST_ROOT. I copied two files into my code directory and name of these files are user-config.jam and boost-build.jam and content of these files as shown bellow.
when I try to compile the my code it is giving the following error. Please any one get me out of this problem.
my user-config.jam file contains
using boost : 1.49 : /home/odtone/Documents/mihf/boost_1_49_0 ; using gcc : : : <cxxflags>-glib-2.0 -dbus-glib-1 : <libs>-glib-2.0 -dbus-glib-1 ; using gcc : : : <compileflags>-glib-2.0 -dbus-glib-1 : <libs>-glib-2.0 -dbus-glib-1 ;
my boost-build.jam file contains
boost-build /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2 ;
Even though I feel everything looks ok still I am getting following error. Please could you help me .
and also I did export bjam also
export PATH=$PATH/home/odtone/Documents/mihf/boost_1_49_0/
export BOOST_ROOT=:/home/odtone/Documents/mihf/boost_1_49_0/
[root@odtone-aam odtone]# bjam
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:267: in find-jamfile from module project error: Unable to load Jamfile. error: Could not find a Jamfile in directory
':/home/odtone/Documents/mihf/boost_1_49_0/:/home/odtone/Documents/mihf/boost_1_49_0'. error: Attempted to find it with pattern '[Bb]uild.jam[Jj]amfile.v2[Jj]amfile[Jj]amfile.jam )'. error: Please consult the documentation at 'http://www.boost.org'.
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:288: in load-jamfile from module project
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:62: in project.load from module project
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:766: in project.use from module project
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:89: in load-used-projects from module project
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:73: in load from module project
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:168: in project.find from module project
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build-system.jam:570: in load from module build-system
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/kernel/modules.jam:283: in import from module modules
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module /home/odtone/Documents/mihf/odtone/boost-build.jam:2: in module scope from module
Best Regards BaBu
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
AMDG On 10/15/2012 03:48 AM, Baba Prasad wrote:
Dear all,
I am able to installed boost_1_49_0 in my linux fedora 16 OS and then I exported the bjam file and also BOOST_ROOT. I copied two files into my code directory and name of these files are user-config.jam and boost-build.jam and content of these files as shown bellow.
According to the documentation in boost.jam, for an installed Boost, you need to use <library>/path/to/boost/libraries <include>/path/to/boost/headers The error message indicates that boost.jam is looking for the Boost source tree.
when I try to compile the my code it is giving the following error. Please any one get me out of this problem.
my user-config.jam file contains
using boost : 1.49 : /home/odtone/Documents/mihf/boost_1_49_0 ; using gcc : : : <cxxflags>-glib-2.0 -dbus-glib-1 : <libs>-glib-2.0 -dbus-glib-1 ; using gcc : : : <compileflags>-glib-2.0 -dbus-glib-1 : <libs>-glib-2.0 -dbus-glib-1 ;
my boost-build.jam file contains
boost-build /home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2 ;
Even though I feel everything looks ok still I am getting following error. Please could you help me .
and also I did export bjam also
export PATH=$PATH/home/odtone/Documents/mihf/boost_1_49_0/
export BOOST_ROOT=:/home/odtone/Documents/mihf/boost_1_49_0/
[root@odtone-aam odtone]# bjam
/home/odtone/Documents/mihf/boost_1_49_0/tools/build/v2/build/project.jam:267: in find-jamfile from module project error: Unable to load Jamfile. error: Could not find a Jamfile in directory <snip>
In Christ, Steven Watanabe
participants (3)
-
Baba Prasad
-
Marc Roth
-
Steven Watanabe