Re: [Bayes++] Re: [jamboost] bjam use help
Brought to you by:
mistevens
From: Lucas V. <lvi...@mi...> - 2005-02-03 03:00:49
|
Okay tweaked some and no luck, I am thoroughly confused :) ! I went through chapter 19, did the basic configuration as stated, but could not get the hello example (or any other examples) to compile Thank you for the help, Michael, Rene, and everyone. I appreciate it. ** (topic 1 ) ** Micheal and I thought maybe it's a g++ version issue... but after messing with the boost-build.jam file the errors have changed (see topic 2) g++ version: ------------------ Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) --------------- ** (topic 2) ** configured 'user-config.jam' --- thank you for pointing out the relevant web page Michael (I can be air headed at times :) ) all I see relevant to me is to tell it to use gcc, so I uncommented that tried following chap 19 tried setting boost_root variable in my profile tried making a boost-build.jam file set both of these attempts to the local boost (in /home/poobarr/boost_1_32_0) tried copying the Jamroot file to a 'Jamfile' file for the hell of it. tried compiling the hello example, yielding the following: ------------- /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:794: in object(file-reference)@1.exists rule CHECK_IF_FILE unknown in module object(file-reference)@1. /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:369: in find-really /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:401: in object(project-target)@1.find /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:828: in resolve-reference /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:847: in targets.generate-from-reference /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:1056: in generate-dependencies /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:1097: in object(typed-target)@1.generate /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:750: in generate-really /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:723: in object(main-target)@1.generate /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:252: in object(project-target)@1.generate /home/poobarr/boost_1_32_0/tools/build/v2/build-system.jam:160: in load /home/poobarr/boost_1_32_0/tools/build/v2/kernel/modules.jam:259: in import /home/poobarr/boost_1_32_0/tools/build/v2/kernel/bootstrap.jam:120: in boost-build /home/poobarr/boost_1_32_0/tools/build/v2/example/hello/boost-build.jam:1: in module scope ------------- took a look at boost-build.jam but, not sure where to track the problem -- or if this output is even a problem It doesn't say compilation failed, but it doesn't say anything about even calling gcc all of these examples won't compile, I am confused. It appears to be a bjam problem (note this is all being done in the hello directory, not bjam root. but I am using the '--v2' flag) And finally, after tweaking as I have, I followed Rene's advice, went to the Bayes++ directory and tried the following three commands: bjam --v2 "-sBOOST=/home/poobarr/boost_1_32_0/" (local boost) bjam --v2 "-sBOOST=/usr/local/include/boost-1_32/" (global boost install) bjam --v2 all yielding yielded ---------------------------------------- /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:369: in find-really /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:401: in object(project-target)@2.find /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:828: in resolve-reference /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:847: in targets.generate-from-reference /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:1056: in generate-dependencies /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:1097: in object(typed-target)@1.generate /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:750: in generate-really /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:723: in object(main-target)@1.generate /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:252: in object(project-target)@2.generate /home/poobarr/boost_1_32_0/tools/build/v2/build/targets.jam:252: in object(project-target)@1.generate /home/poobarr/boost_1_32_0/tools/build/v2/build-system.jam:160: in load /home/poobarr/boost_1_32_0/tools/build/v2//kernel/modules.jam:259: in import /home/poobarr/boost_1_32_0/tools/build/v2//kernel/bootstrap.jam:120: in boost-build /home/poobarr/boost_1_32_0/tools/build/v2//boost-build.jam:2: in module scope ------------------------------------- |