在Debian上编译xbt时会引发错误

我想在Debian机器上编译xbt,但找不到boost/make_shared.hpp

 In file included from ./stdafx.h:32, from ../misc/bvalue.cpp:1: ../misc/xbt/virtual_binary.h:5:33: error: boost/make_shared.hpp: No such file or directory ../misc/bvalue.cpp: In member function 'Cvirtual_binary Cbvalue::read() const': ../misc/bvalue.cpp:308: error: 'BOOST_VERIFY' was not declared in this scope 

apt-cache show libboost-dev如下说明,如果有帮助:

 Package: libboost-dev Priority: optional Section: libdevel Installed-Size: 28156 Maintainer: Debian Boost Team <[email protected]> Architecture: amd64 Source: boost Version: 1.34.1-14 

我如何更新提升到Debian的最新版本?

你运行的是哪个版本的Debian? 在Lenny(又名oldstable)中,libboost-dev在1.34.1-14。

我不确定你需要哪个版本的xbt库,因为我找不到它的构build要求,但是1.42.0.1在Squeeze中可用。 你有没有考虑升级到挤压?