New to Boost and help needed
Dear all, I have just downloaded Boost library and tried to configure under Ubuntu 5.10 Linux distribution. However the instructions are not so friendly for a person who is new to library usage and configuration(I used GSL but I did not have any problems like Boost). I tried to install bjam and configure the tools but no success. I would appreciate if experienced users could tell me the steps to configure in a more friendly way like a beginner would understand from scratch. I am also new to Linux environment so consider this also when replying if possible. Many thanks in advance and best regards. Umut TABAK
Do you have a C++ compiler in your linux environment? If so, to build bjam, just run the script $BOOST_ROOT/tools/build/jam_src/build.sh. If not, get it from your distribution cds. Having built it, you likely need to place it in some public directory. I have a $HOME/bin directory and have it referenced by my PATH environment variable. In this directory, I make a symbolic link to the bjam executable that I'm using. To build the boost libraries, simply type "bjam" in the $BOOST_ROOT directory. After building, type "bjam install" to get the resulting libraries in standard directories. Umut Tabak wrote:
Dear all,
I have just downloaded Boost library and tried to configure under Ubuntu 5.10 Linux distribution. However the instructions are not so friendly for a person who is new to library usage and configuration(I used GSL but I did not have any problems like Boost). I tried to install bjam and configure the tools but no success. I would appreciate if experienced users could tell me the steps to configure in a more friendly way like a beginner would understand from scratch. I am also new to Linux environment so consider this also when replying if possible.
Many thanks in advance and best regards.
Umut TABAK
Do you have a C++ compiler in your linux environment? If so, to build bjam, just run the script $BOOST_ROOT/tools/build/jam_src/build.sh. If not, get it from your distribution cds. Having built it, you likely need to place it in some public directory. I have a $HOME/bin directory and have it referenced by my PATH environment variable. In this directory, I make a symbolic link to the bjam executable that I'm using.
To build the boost libraries, simply type "bjam" in the $BOOST_ROOT
Download
"boost-jam-3.1.11-1.i386.rpm"
and
"boost_1_33_1.tar.gz"
from
http://sourceforge.net/project/showfiles.php?group_id=7586
#rpm -ivh /path/boost-jam-3.1.11-1.i386.rpm
#mv /path/boost_1_33_1.tar.gz /usr/local/src/
#cd /usr/local/src
#tar -zxvf boost_1_33_1.tar.gz
#cd /usr/local/src/boost_1_33_1/tools/build/jam_src/
#./build.sh
#cp bin.linuxx86/bjam ../../../
#cd ../../../
#./bjam "-sTOOLS=gcc" install
Did it work?
----- Original Message -----
From: "Jeffrey Holle"
After building, type "bjam install" to get the resulting libraries in standard directories.
Umut Tabak wrote:
Dear all,
I have just downloaded Boost library and tried to configure under Ubuntu 5.10 Linux distribution. However the instructions are not so friendly for a person who is new to library usage and configuration(I used GSL but I did not have any problems like Boost). I tried to install bjam and configure the tools but no success. I would appreciate if experienced users could tell me the steps to configure in a more friendly way like a beginner would understand from scratch. I am also new to Linux environment so consider this also when replying if possible.
Many thanks in advance and best regards.
Umut TABAK
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Jeffrey Holle
-
shintarou_fujiwara
-
Umut Tabak