Boost logo

Boost Users :

Subject: [Boost-users] Error : Unable to load Jamfile
From: Baba Prasad (gbabu_at_[hidden])
Date: 2012-10-15 06:48:22


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_at_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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net