|
Boost Users : |
Subject: [Boost-users] My personally built boost gives me remove_reference.hpp:39:29: error: template argument 1 is invalid type messages
From: Jim Galarowicz (jeg_at_[hidden])
Date: 2012-07-02 18:31:42
Hi all,
I'm wondering if anyone has seen this issue before and might be able to
point out what I'm doing wrong.
I'm building boost into a local directory on systems where I don't have
root privileges and need to use boost for our tool development.
Here is the snippet of code I'm using to build boost (1.48 or 1.49).
Both give me the problem(s) outlined below.
cp SOURCES/boost_$boostver.tar.gz BUILD/$sys/boost_$boostver.tar.gz
cd BUILD/$sys
tar -xzvf boost_$boostver.tar.gz
cd boost_$boostver
./bootstrap.sh --prefix=$OPENSS_BOOST_ROOT
./bjam --layout=tagged --prefix=$OPENSS_BOOST_ROOT
--libdir=$OPENSS_BOOST_ROOT/$LIBDIR
--includedir=$OPENSS_BOOST_ROOT/include threading=multi install
cd ../../..
I believe I was able to build earlier versions of boost (1.45) w/o these
issues. So maybe something changed or needed to that I wasn't aware of...
ERRORS on some platforms (x86_64 clusters) :
-- Build files have been written to: /home/jeg/cbtf/framework/build
+ make
Scanning dependencies of target cbtf
[ 3%] Building CXX object libcbtf/CMakeFiles/cbtf.dir/Component.cpp.o
In file included from /opt/OSS202/include/boost/any.hpp:17:0,
from /home/jeg/cbtf/framework/libcbtf/KrellInstitute/CBTF/Component.hpp:23,
from /home/jeg/cbtf/framework/libcbtf/Component.cpp:21:
/opt/OSS202/include/boost/type_traits/remove_reference.hpp:39:29: error:
template argument 1 is invalid
In file included from
/opt/OSS202/include/boost/type_traits/is_reference.hpp:17:0,
from /opt/OSS202/include/boost/any.hpp:18,
from /home/jeg/cbtf/framework/libcbtf/KrellInstitute/CBTF/Component.hpp:23,
from /home/jeg/cbtf/framework/libcbtf/Component.cpp:21:
/opt/OSS202/include/boost/type_traits/is_rvalue_reference.hpp:21:1:
error: template argument 1 is invalid
In file included from /opt/OSS202/include/boost/type_traits/decay.hpp:14:0,
from /opt/OSS202/include/boost/filesystem/v3/path_traits.hpp:22,
from /opt/OSS202/include/boost/filesystem/v3/path.hpp:25,
from /opt/OSS202/include/boost/filesystem.hpp:35,
from /home/jeg/cbtf/framework/libcbtf/KrellInstitute/CBTF/Component.hpp:24,
from /home/jeg/cbtf/framework/libcbtf/Component.cpp:21:
/opt/OSS202/include/boost/type_traits/is_function.hpp:99:1: error:
template argument 1 is invalid
In file included from
/opt/OSS202/include/boost/filesystem/v3/path.hpp:27:0,
from /opt/OSS202/include/boost/filesystem.hpp:35,
from /home/jeg/cbtf/framework/libcbtf/KrellInstitute/CBTF/Component.hpp:24,
from /home/jeg/cbtf/framework/libcbtf/Component.cpp:21:
ERRORS on another platform (Cray):
- Configuring done
-- Generating done
-- Build files have been written to: /ccs/home/jgalaro/cbtf/framework/build
+ make
Scanning dependencies of target cbtf
[ 5%] Building CXX object libcbtf/CMakeFiles/cbtf.dir/Component.cpp.o
[ 11%] Building CXX object libcbtf/CMakeFiles/cbtf.dir/ComponentImpl.cpp.o
[ 17%] Building CXX object libcbtf/CMakeFiles/cbtf.dir/ResolvePath.cpp.o
In file included from
/ccs/home/jgalaro/oss_202_shared/include/boost/spirit/home/classic/core.hpp:28:0,
from
/ccs/home/jgalaro/oss_202_shared/include/boost/spirit/home/classic.hpp:24,
from
/ccs/home/jgalaro/cbtf/framework/libcbtf/ResolvePath.cpp:22:
/ccs/home/jgalaro/oss_202_shared/include/boost/spirit/home/classic/core/match.hpp:18:69:
fatal error: boost/spirit/home/classic/core/impl/match_attr_traits.ipp:
No such file or directory
compilation terminated.
make[2]: *** [libcbtf/CMakeFiles/cbtf.dir/ResolvePath.cpp.o] Error 1
make[1]: *** [libcbtf/CMakeFiles/cbtf.dir/all] Error 2
make: *** [all] Error 2
+ make install
[ 5%] Building CXX object libcbtf/CMakeFiles/cbtf.dir/ResolvePath.cpp.o
In file included from
/ccs/home/jgalaro/oss_202_shared/include/boost/spirit/home/classic/core.hpp:28:0,
from
/ccs/home/jgalaro/oss_202_shared/include/boost/spirit/home/classic.hpp:24,
from
/ccs/home/jgalaro/cbtf/framework/libcbtf/ResolvePath.cpp:22:
/ccs/home/jgalaro/oss_202_shared/include/boost/spirit/home/classic/core/match.hpp:18:69:
fatal error: boost/spirit/home/classic/core/impl/match_attr_traits.ipp:
No such file or directory
compilation terminated.
make[2]: *** [libcbtf/CMakeFiles/cbtf.dir/ResolvePath.cpp.o] Error 1
make[1]: *** [libcbtf/CMakeFiles/cbtf.dir/all] Error 2
make: *** [all] Error 2
+ cd ../..
Thanks,
Jim G.
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