4. I
see an error about BOOST_INCLUDE_DIR or BOOST_LIB_DIR not
declared while building Torc.
*** Please declare
BOOST_INCLUDE_DIR and BOOST_LIB_DIR in
torc/trunk/src/Makefile.local or in your local
environment. Stop.
Solution 1:
Edit the Makefile.local in the torc/trunk/src directory to
include the following, updating the paths based on your Boost
installation path.
#
define these variables here if necessary or define them as
environment variables
BOOST_INCLUDE_DIR = /usr/local/boost/include
BOOST_LIB_DIR = /usr/local/boost/lib
#
optionally define compiler to use
CC
= /usr/local/gcc-4.6.1/bin/gcc
CXX
= /usr/local/gcc-4.6.1/bin/g++
Solution 2: Set BOOST_INCLUDE_DIR
and BOOST_LIB_DIR as environment variables. For Bash
see below, updating the paths based on your Boost
installation path.
export BOOST_INCLUDE_DIR = /usr/local/boost/include
export BOOST_LIB_DIR = /usr/local/boost/lib
|