[pkg-boost-devel] Bug#443160: libboost-dev: Missing dependency on libboost-serialization-dev?
Miles Bader
miles at gnu.org
Wed Sep 19 08:40:31 UTC 2007
Package: libboost-dev
Version: 1.34.1-2
Severity: normal
I have libboost-dev installed but not all the various sub-packages; in
particular, I do not have libboost-serialization-dev installed.
The header file <boost/ptr_container/ptr_vector.hpp> exists, but trying
to compile the following one-line file fails:
#include <boost/ptr_container/ptr_vector.hpp>
with these errors:
make LANG=C x.o
g++ -c -o x.o x.cc
In file included from /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/include/boost/ptr_container/ptr_vector.hpp:20,
from x.cc:1:
/usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:38:48: error: boost/serialization/split_member.hpp: No such file or directory
In file included from /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:20,
from /usr/include/boost/ptr_container/ptr_vector.hpp:20,
from x.cc:1:
/usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:610: error: expected ';' before '}' token
/usr/include/boost/ptr_container/detail/reversible_ptr_container.hpp:610: error: expected `;' before '}' token
In file included from x.cc:1:
/usr/include/boost/ptr_container/ptr_vector.hpp:70: error: expected ';' before '}' token
/usr/include/boost/ptr_container/ptr_vector.hpp:70: error: expected `;' before '}' token
make: *** [x.o] エラー 1
It appears that ptr_vector.hpp includes
<boost/serialization/split_member.hpp>, but that file does not exist unless
the debian package libboost-serialization-dev is installed (after installing
that package, the above compilation succeeds).
Thanks,
-Miles
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libboost-dev depends on:
ii libstdc++6-4.2-dev [libst 4.2.1-5 The GNU Standard C++ Library v3 (d
ii libstdc++6-4.3-dev [libst 4.3-20070902-1 The GNU Standard C++ Library v3 (d
libboost-dev recommends no packages.
-- no debconf information
More information about the pkg-boost-devel
mailing list