buildling pkgutils on debian

Matthias Pfeifer mpfeifer77 at googlemail.com
Tue Aug 21 10:08:18 UTC 2007


Hi,

i am planning to use pkgutils 5.30.0 in my debian/etch system to
maintain installation of some programs/libraries, etc under $HOME. up
to now i was only trying to build but got following error:

 g++ -DNDEBUG -O2 -Wall -pedantic -D_GNU_SOURCE -DVERSION=\"5.30.0\"
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -c -o pkgutil.o
pkgutil.cc
pkgutil.cc: In member function 'std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, pkgutil::pkginfo_t>
pkgutil::pkg_open(const std::string&) const':
pkgutil.cc:354: error: 'archive_read_open_filename' was not declared
in this scope
pkgutil.cc: In member function 'void pkgutil::pkg_install(const
std::string&, const std::set<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&, const
std::set<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >&) const':
pkgutil.cc:393: error: 'archive_read_open_filename' was not declared
in this scope
pkgutil.cc: In member function 'void
pkgutil::pkg_footprint(std::string&) const':
pkgutil.cc:508: error: 'archive_read_open_filename' was not declared
in this scope
pkgutil.cc:535: error: 'archive_read_open_filename' was not declared
in this scope
make: *** [pkgutil.o] Fehler 1


it it at all possible to build pkgutils on a debian system? Where am i
doing wrong?

matthias



More information about the CRUX mailing list