make filezilla завершилась неудачно с ошибкой «рецепт целевого« все-рекурсивного »не удалось»

Я пытался установить Filezilla 3.47.2.1 на Ubuntu 18.04.4 LTS, следуя инструкциям здесь: Как я могу обновить filezilla до текущей версии?

Все работало нормально до шага ./configure исходной Filezilla, где у меня были ошибки в dbus (указывающие на версии до 1-3), которые я решил с помощью:

sudo apt install dbus libdbus-1-3 libdbus-1-dev

, а затем с помощью gtk2, который я решил с помощью:

sudo apt install libgtk2.0-dev 

Однако теперь на этапе make я получаю эту ошибку:

g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../../src/interface -I../../src/include  -I../../../src/interface/../include -I/usr/local/include -I/usr/include/p11-kit-1 -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -fpch-preprocess  -g -O2 -Wall -MT filezilla-local_recursive_operation.o -MD -MP -MF .deps/filezilla-local_recursive_operation.Tpo -c -o filezilla-local_recursive_operation.o `test -f 'local_recursive_operation.cpp' || echo '../../../src/interface/'`local_recursive_operation.cpp
../../../src/interface/local_recursive_operation.cpp: In member function ‘void CLocalRecursiveOperation::entry()’:
../../../src/interface/local_recursive_operation.cpp:201:93: error: no matching function for call to ‘fz::local_filesys::get_next_file(fz::native_string&, bool&, bool&, int64_t*, fz::datetime*, int*)’
     while (fs.get_next_file(name, isLink, isDir, &entry.size, &entry.time, &entry.attributes)) {
                                                                                             ^
In file included from ../../../src/interface/local_recursive_operation.cpp:4:0:
/usr/local/include/libfilezilla/local_filesys.hpp:106:7: note: candidate: bool fz::local_filesys::get_next_file(fz::native_string&)
  bool get_next_file(native_string& name);
       ^~~~~~~~~~~~~
/usr/local/include/libfilezilla/local_filesys.hpp:106:7: note:   candidate expects 1 argument, 6 provided
/usr/local/include/libfilezilla/local_filesys.hpp:117:7: note: candidate: bool fz::local_filesys::get_next_file(fz::native_string&, bool&, fz::local_filesys::type&, int64_t*, fz::datetime*, int*)
  bool get_next_file(native_string& name, bool &is_link, type & t, int64_t* size, datetime* modification_time, int* mode);
       ^~~~~~~~~~~~~
/usr/local/include/libfilezilla/local_filesys.hpp:117:7: note:   no known conversion for argument 3 from ‘bool’ to ‘fz::local_filesys::type&’
Makefile:1855: recipe for target 'filezilla-local_recursive_operation.o' failed
make[4]: *** [filezilla-local_recursive_operation.o] Error 1
make[4]: Leaving directory '/tmp/filezilla-3.47.2.1/compile/src/interface'
Makefile:3123: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/filezilla-3.47.2.1/compile/src/interface'
Makefile:970: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/filezilla-3.47.2.1/compile/src/interface'
Makefile:436: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/filezilla-3.47.2.1/compile/src'
Makefile:617: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Какие-либо советы о том, как мне действовать? Я понятия не имею на данный момент. Спасибо, Натасса

0
задан 26 April 2020 в 18:57

1 ответ

Я получаю те же результаты в своей системе при выполнении следующих действий

sudo apt-get build-dep filezilla
cd ~/Downloads
tar -xf libfilezilla-0.21.0.tar.bz2
cd libfilezilla-0.21.0/
./configure
make
sudo make install
tar -xf FileZilla_3.47.2.1_x86_64-linux-gnu.tar.bz2 
cd filezilla-3.47.2.1/
./configure
make

Также обратите внимание, что двоичный файл FileZilla_3.47.2.1_x86_64-linux-gnu.tar.bz2 с официального сайта не работает в Ubuntu 18.04. ЛТС. Поскольку он создан для нового родительского дистрибутива Debian.

Но у нас есть два варианта:

  • установить FileZilla 3.47.2.1 как FlatPak

    sudo apt-get install flatpak
    flatpak удаленное добавление --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
    flatpak установить flathub org.filezillaproject.Filezilla
    
  • установите FileZilla 3.46.3 из стороннего PPA:

    sudo add-apt-repository ppa:sicklylife/filezilla
    sudo apt-get установить filezilla
    
0
ответ дан 26 April 2020 в 17:35

Другие вопросы по тегам:

Похожие вопросы: