Debian 8のGitHubでSlingswarmパッケージをコンパイルできない

Debian 8のGitHubでSlingswarmパッケージをコンパイルできない

オンラインで答えが見つかりません。 '-'

$ cmake ..

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for modules 'gtk+-3.0;gee-0.8;gio-unix-2.0;libgnome-menu
3.0'
--   found gtk+-3.0, version 3.14.5
--   found gee-0.8, version 0.16.1
--   found gio-unix-2.0, version 2.42.1
--   found libgnome-menu-3.0, version 3.13.3
-- checking for module 'gthread-2.0 >= 2.14.0'
--   found gthread-2.0 , version 2.42.1
-- Found Vala: /usr/bin/valac  
-- checking for a minimum Vala version of 0.14.0
--   found Vala, version 0.26.1
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/slingswarm/build

$ make

[ 11%] Generating slingshot.c, frontend/widgets/AppItem.c, frontend/widgets/CompositedWindow.c, frontend/widgets/Indicators.c, frontend/widgets/Searchbar.c, frontend/Utilities.c, frontend/Color.c, backend/GMenuEntries.c
/usr/local/slingswarm/slingshot.vala:167.17-167.45: error: 2 missing arguments for `void Gtk.Grid.attach (Gtk.Widget child, int left, int top, int width, int height)'
                this.grid.attach (item, c, r);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
CMakeFiles/slingswarm-launcher.dir/build.make:60: recipe for target 'slingshot.c' failed
make[2]: *** [slingshot.c] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/slingswarm-launcher.dir/all' failed
make[1]: *** [CMakeFiles/slingswarm-launcher.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

https://github.com/echo-devim/slingswarm

ベストアンサー1

Slingswarmはvalac0.26.1以降の新しいバージョンを想定し、それ以降のバージョンでは欠落しているパラメータのデフォルト値を定義します。Gtk.Grid.attach。 Debian 8 でパッケージをビルドするには、エラー行をslingshot.vala次のように変更します。

this.grid.attach (item, c, r, 1, 1);

その後、もう一度実行してくださいmake

(だからこれは実際にSlingswarmのバグです。)

おすすめ記事