Boost logo

Boost Users :

Subject: Re: [Boost-users] Error : Unable to load Jamfile
From: Marc Roth (marc_at_[hidden])
Date: 2012-10-15 10:37:37


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 <gbabu_at_[hidden]> 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.
>
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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