LINUX.ORG.RU

ошибка при сборке awesome'a

 , ,


0

2

При сборке асома в слаке, возникает такая ошибка:

Running cmake…
-- cat -> /usr/bin/cat
-- ln -> /usr/bin/ln
-- grep -> /usr/bin/grep
-- git -> /usr/bin/git
-- hostname -> /bin/hostname
-- asciidoc -> /usr/bin/asciidoc
-- xmlto -> /usr/bin/xmlto
-- gzip -> /usr/bin/gzip
-- lua -> /usr/bin/lua
-- luadoc not found.
-- convert -> /usr/bin/convert
-- Not generating luadoc. Missing: luadoc
-- checking for execinfo -- found
-- checking for __builtin_clz -- yes
-- Configuring lib/gears/sort.lua
-- Configuring lib/gears/surface.lua
-- Configuring lib/gears/object.lua
-- Configuring lib/gears/debug.lua
-- Configuring lib/gears/color.lua
-- Configuring lib/gears/wallpaper.lua
-- Configuring lib/gears/init.lua
-- Configuring lib/menubar/utils.lua
-- Configuring lib/menubar/init.lua
-- Configuring lib/menubar/menu_gen.lua
-- Configuring lib/awful/mouse/finder.lua
-- Configuring lib/awful/mouse/init.lua
-- Configuring lib/awful/autofocus.lua
-- Configuring lib/awful/key.lua
-- Configuring lib/awful/ewmh.lua
-- Configuring lib/awful/util.lua
-- Configuring lib/awful/widget/taglist.lua
-- Configuring lib/awful/widget/graph.lua
-- Configuring lib/awful/widget/textclock.lua
-- Configuring lib/awful/widget/launcher.lua
-- Configuring lib/awful/widget/progressbar.lua
-- Configuring lib/awful/widget/common.lua
-- Configuring lib/awful/widget/button.lua
-- Configuring lib/awful/widget/layoutbox.lua
-- Configuring lib/awful/widget/tasklist.lua
-- Configuring lib/awful/widget/init.lua
-- Configuring lib/awful/widget/prompt.lua
-- Configuring lib/awful/remote.lua
-- Configuring lib/awful/tag.lua
-- Configuring lib/awful/completion.lua
-- Configuring lib/awful/button.lua
-- Configuring lib/awful/layout/init.lua
-- Configuring lib/awful/layout/suit/floating.lua
-- Configuring lib/awful/layout/suit/fair.lua
-- Configuring lib/awful/layout/suit/magnifier.lua
-- Configuring lib/awful/layout/suit/init.lua
-- Configuring lib/awful/layout/suit/spiral.lua
-- Configuring lib/awful/layout/suit/max.lua
-- Configuring lib/awful/layout/suit/tile.lua
-- Configuring lib/awful/icccm.lua
-- Configuring lib/awful/keygrabber.lua
-- Configuring lib/awful/menu.lua
-- Configuring lib/awful/rules.lua
-- Configuring lib/awful/placement.lua
-- Configuring lib/awful/init.lua
-- Configuring lib/awful/client.lua
-- Configuring lib/awful/tooltip.lua
-- Configuring lib/awful/wibox.lua
-- Configuring lib/awful/screen.lua
-- Configuring lib/awful/startup_notification.lua
-- Configuring lib/awful/prompt.lua
-- Configuring lib/awful/dbus.lua
-- Configuring lib/naughty.lua
-- Configuring lib/beautiful.lua
-- Configuring lib/wibox/widget/base.lua
-- Configuring lib/wibox/widget/textbox.lua
-- Configuring lib/wibox/widget/imagebox.lua
-- Configuring lib/wibox/widget/init.lua
-- Configuring lib/wibox/widget/systray.lua
-- Configuring lib/wibox/widget/background.lua
-- Configuring lib/wibox/layout/rotate.lua
-- Configuring lib/wibox/layout/align.lua
-- Configuring lib/wibox/layout/fixed.lua
-- Configuring lib/wibox/layout/flex.lua
-- Configuring lib/wibox/layout/base.lua
-- Configuring lib/wibox/layout/mirror.lua
-- Configuring lib/wibox/layout/margin.lua
-- Configuring lib/wibox/layout/init.lua
-- Configuring lib/wibox/init.lua
-- Configuring themes/sky//theme.lua
-- Configuring themes/zenburn//theme.lua
-- Configuring themes/default//theme.lua
-- Configuring config.h
-- Configuring awesomerc.lua
-- Configuring awesome-version-internal.h
-- Configuring awesome.doxygen
-- Configuring done
-- Generating done
-- Build files have been written to: /root/source/awesome/awesome/.build-slackware_-x86_64-slackware-linux-4.7.1
Running make Makefile…
Building…
[  2%] Built target generated_sources
[  2%] Built target version_stamp
[  2%] Building C object CMakeFiles/awesome.dir/awesome.c.o
In file included from /root/source/awesome/awesome/awesome.c:39:0:
/root/source/awesome/awesome/objects/client.h:88:5: error: unknown type name 'xcb_icccm_get_wm_protocols_reply_t'
/root/source/awesome/awesome/objects/client.h: In function 'client_isfixed':
/root/source/awesome/awesome/objects/client.h:190:35: error: 'XCB_ICCCM_SIZE_HINT_P_MAX_SIZE' undeclared (first use in this function)
/root/source/awesome/awesome/objects/client.h:190:35: note: each undeclared identifier is reported only once for each function it appears in
/root/source/awesome/awesome/objects/client.h:191:38: error: 'XCB_ICCCM_SIZE_HINT_P_MIN_SIZE' undeclared (first use in this function)
/root/source/awesome/awesome/awesome.c: In function 'scan':
/root/source/awesome/awesome/awesome.c:129:24: error: 'XCB_ICCCM_WM_STATE_WITHDRAWN' undeclared (first use in this function)
make[3]: *** [CMakeFiles/awesome.dir/awesome.c.o] Error 1
make[2]: *** [CMakeFiles/awesome.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [cmake-build] Error 2
гугление не привело ни к чему конкретному; версии зависимостей:
cairo-1.10.2-x86_64-2
libxcb-1.8.1-x86_64-1
xcb-proto-1.7.1-x86_64-3
xcb-util-0.3.3-x86_64-1_custom
xcb-util-0.3.8-x86_64-1
xcb-util-image-0.3.9-x86_64-1
xcb-util-keysyms-0.3.9-x86_64-1
xcb-util-renderutil-0.3.8-x86_64-1
xcb-util-wm-0.3.9-x86_64-1


Из гита брал? Ветка master? Там это нормально. Переключись на бранч 3.4, там такого быть не должно.

iamtakingiteasy ()
Ответ на: комментарий от iamtakingiteasy

Только переконфигурится целиком не забудь если в том же дереве будешь переключаться. Снеси все цмейковые кеши и .-диры, а лучше сделай git reset --hard и сразу после этого - git checkout 3.4

iamtakingiteasy ()
Ответ на: комментарий от iamtakingiteasy

в том то и дело, что не с гита. Брал с оф сайта, последнюю stable. Потом пробовал и гит, та же картина..

riso ()

Не знаю как в слаке още, но на генте Cairo должен быть собран с поддержкой xcb

science ★★☆ ()
Ответ на: комментарий от riso

Ну прежде всего тут не видать вызова pkg-config-а. Нормальный лог сборки примерно такой:

Running cmake…
-- The C compiler identification is GNU 4.6.2
-- The CXX compiler identification is GNU 4.6.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- cat -> /bin/cat
-- ln -> /bin/ln
-- grep -> /bin/grep
-- git -> /usr/bin/git
-- hostname -> /bin/hostname
-- gperf -> /usr/bin/gperf
-- asciidoc -> /usr/bin/asciidoc
-- xmlto -> /usr/bin/xmlto
-- gzip -> /bin/gzip
-- lua -> /usr/bin/lua
-- luadoc -> /usr/bin/luadoc
-- convert -> /usr/bin/convert
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.2") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27") 
-- Found Lua51: /usr/lib/liblua.so;/usr/lib/libm.so (found version "5.1.5") 
-- checking for module 'xcb>=1.6'
--   found xcb, version 1.8.1
-- checking for modules 'glib-2.0;cairo;x11;pango>=1.19.3;pangocairo>=1.19.3;xcb-randr;xcb-xtest;xcb-xinerama;xcb-shape;xcb-util>=0.3.8;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.8;xcb-image>=0.3.0;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.15;imlib2;libxdg-basedir>=1.0.0'
--   found glib-2.0, version 2.32.4
--   found cairo, version 1.12.2
--   found x11, version 1.5.0
--   found pango, version 1.30.1
--   found pangocairo, version 1.30.1
--   found xcb-randr, version 1.8.1
--   found xcb-xtest, version 1.8.1
--   found xcb-xinerama, version 1.8.1
--   found xcb-shape, version 1.8.1
--   found xcb-util, version 0.3.9
--   found xcb-keysyms, version 0.3.9
--   found xcb-icccm, version 0.3.9
--   found xcb-image, version 0.3.9
--   found cairo-xcb, version 1.12.2
--   found libstartup-notification-1.0, version 0.12
--   found xproto, version 7.0.23
--   found imlib2, version 1.4.5
--   found libxdg-basedir, version 1.1.1
-- Looking for backtrace_symbols
-- Looking for backtrace_symbols - found
-- checking for execinfo -- found
-- checking for __builtin_clz -- yes
-- checking for module 'dbus-1'
--   found dbus-1, version 1.6.4
-- Configuring lib/naughty.lua
-- Configuring lib/beautiful.lua
-- Configuring lib/awful/prompt.lua
-- Configuring lib/awful/widget/layoutbox.lua
-- Configuring lib/awful/widget/taglist.lua
-- Configuring lib/awful/widget/prompt.lua
-- Configuring lib/awful/widget/textclock.lua
-- Configuring lib/awful/widget/launcher.lua
-- Configuring lib/awful/widget/tasklist.lua
-- Configuring lib/awful/widget/button.lua
-- Configuring lib/awful/widget/layout/horizontal.lua
-- Configuring lib/awful/widget/layout/default.lua
-- Configuring lib/awful/widget/layout/init.lua
-- Configuring lib/awful/widget/layout/vertical.lua
-- Configuring lib/awful/widget/common.lua
-- Configuring lib/awful/widget/init.lua
-- Configuring lib/awful/widget/graph.lua
-- Configuring lib/awful/widget/progressbar.lua
-- Configuring lib/awful/dbus.lua
-- Configuring lib/awful/tooltip.lua
-- Configuring lib/awful/titlebar.lua
-- Configuring lib/awful/completion.lua
-- Configuring lib/awful/button.lua
-- Configuring lib/awful/startup_notification.lua
-- Configuring lib/awful/mouse/finder.lua
-- Configuring lib/awful/mouse/init.lua
-- Configuring lib/awful/autofocus.lua
-- Configuring lib/awful/key.lua
-- Configuring lib/awful/client.lua
-- Configuring lib/awful/screen.lua
-- Configuring lib/awful/layout/suit/magnifier.lua
-- Configuring lib/awful/layout/suit/fair.lua
-- Configuring lib/awful/layout/suit/floating.lua
-- Configuring lib/awful/layout/suit/max.lua
-- Configuring lib/awful/layout/suit/init.lua
-- Configuring lib/awful/layout/suit/tile.lua
-- Configuring lib/awful/layout/suit/spiral.lua
-- Configuring lib/awful/layout/init.lua
-- Configuring lib/awful/hooks.lua
-- Configuring lib/awful/util.lua
-- Configuring lib/awful/wibox.lua
-- Configuring lib/awful/menu.lua
-- Configuring lib/awful/init.lua
-- Configuring lib/awful/placement.lua
-- Configuring lib/awful/tag.lua
-- Configuring lib/awful/remote.lua
-- Configuring lib/awful/rules.lua
-- Configuring themes/zenburn//theme.lua
-- Configuring themes/default//theme.lua
-- Configuring themes/sky//theme.lua
-- Configuring config.h
-- Configuring awesomerc.lua
-- Configuring awesome-version-internal.h
-- Configuring awesome.doxygen
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/lol/awesome-3.4.13/.build-note-i686-pc-linux-gnu-4.6.2
Running make Makefile…
Building…

Почему он у тебя не зовётся - я не знаю. попробуй распаковать начисто/сделать git reset --hard и вручную вызвать cmake --trace . &> log и log выложить куда-нибудь на пастбин

iamtakingiteasy ()
Ответ на: комментарий от riso

Не факт что поможет, но попробуй пока:

PKG_CONFIG="/usr/bin/pkgconf" PKG_CONFIG_PATH="/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig"  cmake .

где /usr/bin/pkgconf - путь до твоего pkg-config'ого бинаря, а пути - относительные от префиксов локации твоих .pc-файлов.

iamtakingiteasy ()
Ответ на: комментарий от iamtakingiteasy

which pkgconf и echo $PKG_CONFIG ничего не дает. Зато echo $PKG_CONFGI_PATH

/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig
где брать pkgconf ?

riso ()
Ответ на: комментарий от riso

нашел где он лежит, результат : PKG_CONFIG=«/usr/bin/pkg-config» PKG_CONFIG_PATH=«/usr/lib64/pkgconfig/:/usr/local/lib64/pkgconfig» cmake .

-- The C compiler identification is GNU 4.7.1
-- The CXX compiler identification is GNU 4.7.1
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- cat -> /usr/bin/cat
-- ln -> /usr/bin/ln
-- grep -> /usr/bin/grep
-- git -> /usr/bin/git
-- hostname -> /bin/hostname
-- gperf -> /usr/bin/gperf
-- asciidoc -> /usr/bin/asciidoc
-- xmlto -> /usr/bin/xmlto
-- gzip -> /usr/bin/gzip
-- lua -> /usr/bin/lua
-- luadoc not found.
-- convert -> /usr/bin/convert
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.1.1") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.25") 
-- Found Lua51: /usr/lib64/liblua.so;/usr/lib64/libm.so (found version "5.1.5") 
-- Not generating luadoc. Missing: luadoc
-- checking for module 'xcb>=1.6'
--   found xcb, version 1.8.1
-- checking for modules 'glib-2.0;cairo;x11;pango>=1.19.3;pangocairo>=1.19.3;xcb-randr;xcb-xtest;xcb-xinerama;xcb-shape;xcb-util>=0.3.8;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.8;xcb-image>=0.3.0;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.15;imlib2;libxdg-basedir>=1.0.0'
--   found glib-2.0, version 2.32.4
--   found cairo, version 1.10.2
--   found x11, version 1.5.0
--   found pango, version 1.30.1
--   found pangocairo, version 1.30.1
--   found xcb-randr, version 1.8.1
--   found xcb-xtest, version 1.8.1
--   found xcb-xinerama, version 1.8.1
--   found xcb-shape, version 1.8.1
--   found xcb-util, version 0.3.8
--   found xcb-keysyms, version 0.3.9
--   found xcb-icccm, version 0.3.9
--   found xcb-image, version 0.3.9
--   found cairo-xcb, version 1.10.2
--   found libstartup-notification-1.0, version 0.12
--   found xproto, version 7.0.23
--   found imlib2, version 1.4.5
--   found libxdg-basedir, version 1.2.0
-- Looking for backtrace_symbols
-- Looking for backtrace_symbols - found
-- checking for execinfo -- found
-- checking for __builtin_clz -- yes
-- checking for module 'dbus-1'
--   found dbus-1, version 1.4.20
-- Configuring lib/awful/mouse/finder.lua
-- Configuring lib/awful/mouse/init.lua
-- Configuring lib/awful/autofocus.lua
-- Configuring lib/awful/key.lua
-- Configuring lib/awful/util.lua
-- Configuring lib/awful/widget/taglist.lua
-- Configuring lib/awful/widget/graph.lua
-- Configuring lib/awful/widget/textclock.lua
-- Configuring lib/awful/widget/launcher.lua
-- Configuring lib/awful/widget/progressbar.lua
-- Configuring lib/awful/widget/common.lua
-- Configuring lib/awful/widget/button.lua
-- Configuring lib/awful/widget/layoutbox.lua
-- Configuring lib/awful/widget/layout/horizontal.lua
-- Configuring lib/awful/widget/layout/vertical.lua
-- Configuring lib/awful/widget/layout/init.lua
-- Configuring lib/awful/widget/layout/default.lua
-- Configuring lib/awful/widget/tasklist.lua
-- Configuring lib/awful/widget/init.lua
-- Configuring lib/awful/widget/prompt.lua
-- Configuring lib/awful/remote.lua
-- Configuring lib/awful/hooks.lua
-- Configuring lib/awful/tag.lua
-- Configuring lib/awful/completion.lua
-- Configuring lib/awful/button.lua
-- Configuring lib/awful/layout/init.lua
-- Configuring lib/awful/layout/suit/floating.lua
-- Configuring lib/awful/layout/suit/fair.lua
-- Configuring lib/awful/layout/suit/magnifier.lua
-- Configuring lib/awful/layout/suit/init.lua
-- Configuring lib/awful/layout/suit/spiral.lua
-- Configuring lib/awful/layout/suit/max.lua
-- Configuring lib/awful/layout/suit/tile.lua
-- Configuring lib/awful/menu.lua
-- Configuring lib/awful/rules.lua
-- Configuring lib/awful/placement.lua
-- Configuring lib/awful/init.lua
-- Configuring lib/awful/client.lua
-- Configuring lib/awful/tooltip.lua
-- Configuring lib/awful/wibox.lua
-- Configuring lib/awful/screen.lua
-- Configuring lib/awful/startup_notification.lua
-- Configuring lib/awful/prompt.lua
-- Configuring lib/awful/dbus.lua
-- Configuring lib/awful/titlebar.lua
-- Configuring lib/naughty.lua
-- Configuring lib/beautiful.lua
-- Configuring themes/sky//theme.lua
-- Configuring themes/zenburn//theme.lua
-- Configuring themes/default//theme.lua
-- Configuring config.h
-- Configuring awesomerc.lua
-- Configuring awesome-version-internal.h
-- Configuring awesome.doxygen
-- Configuring done
-- Generating done
-- Build files have been written to: /root/awesome-stable/awesome-3.4.13
после делаю make и снова вылазит та же ошибка

riso ()
Ответ на: комментарий от riso

pkgconf последний? У меня на старом pkgconf некоторые дрова собираться не хотели.

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