Boost logo

Boost Users :

Subject: Re: [Boost-users] Error : Unable to load Jamfile
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-10-15 12:26:30


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_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
> <snip>
>

In Christ,
Steven Watanabe


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