
Matthias Pfeifer schrieb:
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?
Did you resolve the libarchive dependency? You can also try pkgutils-c as an alternative solution (also with libarchive dependencies, AFAIK). Regards, -- Clemens Koller __________________________________ R&D Imaging Devices Anagramm GmbH Rupert-Mayer-Straße 45/1 Linhof Werksgelände D-81379 München Tel.089-741518-50 Fax 089-741518-19 http://www.anagramm-technology.com