LINUX.ORG.RU

Не собирается jfsrec на Debian Wheezy

 , ,


0

1
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT inode.o -MD -MP -MF ".deps/inode.Tpo" -c -o inode.o inode.cpp; \
	then mv -f ".deps/inode.Tpo" ".deps/inode.Po"; else rm -f ".deps/inode.Tpo"; exit 1; fi
inode.cpp: In member function ‘virtual boost::filesystem3::path jfsrec::Inode::get_full_path()’:
inode.cpp:70:54: error: invalid conversion from ‘bool (*)(const string&) {aka bool (*)(const std::basic_string<char>&)}’ to ‘boost::enable_if_c<true, void>::type* {aka void*}’ [-fpermissive]
In file included from /usr/include/boost/filesystem/path.hpp:31:0,
                 from device.h:44,
                 from inode.h:25,
                 from inode.cpp:19:
/usr/include/boost/filesystem/v3/path.hpp:131:5: error:   initializing argument 2 of ‘boost::filesystem3::path::path(const Source&, typename boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename boost::decay<Source>::type> >::type*) [with Source = std::basic_string<char>; typename boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename boost::decay<Source>::type> >::type = void]’ [-fpermissive]
inode.cpp:72:54: error: invalid conversion from ‘bool (*)(const string&) {aka bool (*)(const std::basic_string<char>&)}’ to ‘boost::enable_if_c<true, void>::type* {aka void*}’ [-fpermissive]
In file included from /usr/include/boost/filesystem/path.hpp:31:0,
                 from device.h:44,
                 from inode.h:25,
                 from inode.cpp:19:
/usr/include/boost/filesystem/v3/path.hpp:131:5: error:   initializing argument 2 of ‘boost::filesystem3::path::path(const Source&, typename boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename boost::decay<Source>::type> >::type*) [with Source = std::basic_string<char>; typename boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename boost::decay<Source>::type> >::type = void]’ [-fpermissive]
make[2]: *** [inode.o] Error 1
make[2]: Leaving directory `/root/jfsrec/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/jfsrec'
make: *** [all] Error 2

Поставил libboost-all-dev, libboost-filesystem1.49.0.

Несовместимость версий?

Где она без проблем собирается (есть возможность именно для этого дела накатить дистр)? Или поделитесь рабочей сборкой для wheezy, если есть. Ну или посоветуйте другое средство восстановления удалённых файлов с jfs.

☆☆☆☆☆

Гуглится, что jfsrec-svn входит в aur, так что ставьте арчик.

mky ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.