You are not logged in.

#1 2009-01-11 02:26:53

brenix
Member
From: California
Registered: 2008-03-05
Posts: 185

[SOLVED] Problems compiling latest awesome-git

Hey there,

I'm running into problems compiling  the latest awesome branch from the git repository. This is using gigamo's awesome-next-git package.

When building awesome it comes back with a make error. Anyone got any ideas??

==> Connecting to GIT server...
fatal: Couldn't find remote ref next
==> GIT checkout done or server timeout
==> Starting make...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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
-- 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
-- Looking for doxygen...
-- Looking for doxygen... - found /usr/bin/doxygen
-- Looking for dot tool...
-- Looking for dot tool... - found /usr/bin/dot
-- Looking for wsyncup in /usr/lib/libcurses.so
-- Looking for wsyncup in /usr/lib/libcurses.so - found
-- Found Curses: /usr/lib/libcurses.so
-- Found Lua51: /usr/lib/liblua.so;/usr/lib/libm.so
-- checking for module 'xcb>=1.1'
--   found xcb, version 1.1.90.1
-- checking for modules 'glib-2.0;cairo;pango>=1.19.3;pangocairo>=1.19.3;x11-xcb;xcb-randr;xcb-xtest;xcb-xinerama;xcb-event>=0.3.0;xcb-aux>=0.3.0;xcb-atom>=0.3.0;xcb-keysyms>=0.3.0;xcb-icccm>=0.3.0;xcb-image>=0.3.0;xcb-property>=0.3.0;cairo-xcb;xproto>=7.0.11;imlib2'
--   found glib-2.0, version 2.18.3
--   found cairo, version 1.8.6
--   found pango, version 1.22.4
--   found pangocairo, version 1.22.4
--   found x11-xcb, version 1.1.5
--   found xcb-randr, version 1.1.90.1
--   found xcb-xtest, version 1.1.90.1
--   found xcb-xinerama, version 1.1.90.1
--   found xcb-event, version 0.3.2
--   found xcb-aux, version 0.3.2
--   found xcb-atom, version 0.3.2
--   found xcb-keysyms, version 0.3.2
--   found xcb-icccm, version 0.3.2
--   found xcb-image, version 0.3.2
--   found xcb-property, version 0.3.2
--   found cairo-xcb, version 1.8.6
--   found xproto, version 7.0.14
--   found imlib2, version 1.4.2
-- checking for module 'dbus-1'
--   found dbus-1, version 1.2.4
-- Configuring lib/awful/client.lua
-- Configuring lib/awful/completion.lua
-- Configuring lib/awful/hooks.lua
-- Configuring lib/awful/init.lua
-- Configuring lib/awful/layout/init.lua
-- Configuring lib/awful/layout/suit/fair.lua
-- Configuring lib/awful/layout/suit/floating.lua
-- Configuring lib/awful/layout/suit/init.lua
-- Configuring lib/awful/layout/suit/magnifier.lua
-- Configuring lib/awful/layout/suit/max.lua
-- Configuring lib/awful/layout/suit/tile.lua
-- Configuring lib/awful/menu.lua
-- Configuring lib/awful/mouse.lua
-- Configuring lib/awful/placement.lua
-- Configuring lib/awful/prompt.lua
-- Configuring lib/awful/screen.lua
-- Configuring lib/awful/tag.lua
-- Configuring lib/awful/titlebar.lua
-- Configuring lib/awful/util.lua
-- Configuring lib/awful/widget.lua
-- Configuring lib/beautiful.lua
-- Configuring lib/invaders.lua
-- Configuring lib/naughty.lua
-- Configuring lib/revelation.lua
-- Configuring lib/tabulous.lua
-- Configuring lib/telak.lua
-- Configuring config.h
-- Configuring awesomerc.lua
-- Configuring themes/default/theme
-- Configuring themes/sky/theme
-- Configuring awesome-version-internal.h
-- Configuring awesome.doxygen
-- Configuring done
-- Generating done
-- Build files have been written to: /home/brenix/config/pkgbuilds/awesome-next-git/src/awesome-build
Scanning dependencies of target version_stamp
[  0%] Built target version_stamp
Scanning dependencies of target generated_sources
[  0%] Generating widgetgen.h
[  0%] Generating atoms-intern.h
[  0%] Generating atoms-extern.h
[  0%] Generating common/tokenize.c
[  0%] Generating common/tokenize.h
[  7%] Built target generated_sources
Scanning dependencies of target awesome
[  9%] Building C object CMakeFiles/awesome.dir/awesome.c.o
[ 10%] Building C object CMakeFiles/awesome.dir/client.c.o
/home/brenix/config/pkgbuilds/awesome-next-git/src/awesome-build/client.c: In function 'luaA_client_index':
/home/brenix/config/pkgbuilds/awesome-next-git/src/awesome-build/client.c:1649: error: 'xcb_get_wm_class_reply_t' has no member named 'class'
/home/brenix/config/pkgbuilds/awesome-next-git/src/awesome-build/client.c:1657: error: 'xcb_get_wm_class_reply_t' has no member named 'name'
make[2]: *** [CMakeFiles/awesome.dir/client.c.o] Error 1
make[1]: *** [CMakeFiles/awesome.dir/all] Error 2
make: *** [all] Error 2

Last edited by brenix (2009-01-11 04:37:54)

Offline

#2 2009-01-11 03:32:00

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: [SOLVED] Problems compiling latest awesome-git

There's currently no awesome-next branch, just the master so try the one from the aur

Last edited by ST.x (2009-01-11 03:32:57)

Offline

#3 2009-01-11 03:53:29

brenix
Member
From: California
Registered: 2008-03-05
Posts: 185

Re: [SOLVED] Problems compiling latest awesome-git

Hmm, yeah.. I've tried that one as well and getting the same problem.

I've tried compiling it ignoring errors, but the client.c is required to build the awesome binary..

Any other ideos?? Thanks for the help

Offline

#4 2009-01-11 04:03:47

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: [SOLVED] Problems compiling latest awesome-git

Are you using yaourt to build it? Also try asking jd_ on #awesome

Offline

#5 2009-01-11 04:13:44

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: [SOLVED] Problems compiling latest awesome-git

okay check here, it seems that xcb-util-git isn't currently recommended with awesome so if you are then just use the normal xcb-util package.

Offline

#6 2009-01-11 04:37:05

brenix
Member
From: California
Registered: 2008-03-05
Posts: 185

Re: [SOLVED] Problems compiling latest awesome-git

ST.x,

Thanks a lot for the help. I tried removing xcb-util-git and installing the one (0.3.2-1) from the repo, and it still didnt work afterwords.

I then removed it and compiled it from the source from here (http://xcb.freedesktop.org/dist/xcb-util-0.3.2.tar.gz
), then installed it from the repo and awesome is installing ok. Not sure what it was but im happy its working now!

Offline

Board footer

Powered by FluxBB