You are not logged in.

#1 2010-12-15 03:37:34

leercrak
Member
Registered: 2010-10-16
Posts: 75

problems installing awesome3

heres what i did that i can track down

sudo wget http://awesome.naquadah.org/download/aw … .8.tar.bz2

then i tarred it.



[leercrak@leercrak ~]$ cd awesome-3.4.8
[leercrak@leercrak awesome-3.4.8]$ ls
AUTHORS                        color.c       image.c         PATCHES      systray.h
awesome.c                      color.h       image.h         property.c   tag.c
awesomeConfig.cmake            common        key.c           property.h   tag.h
awesome.desktop                config.h.in   keygrabber.c    README       themes
awesome.doxygen.in             dbus.c        keygrabber.h    root.c       timer.c
awesome.h                      dbus.h        key.h           screen.c     timer.h
awesomerc.lua.in               draw.c        lib             screen.h     titlebar.c
awesome-version-internal.h.in  draw.h        LICENSE         selection.c  titlebar.h
banning.c                      event.c       luaa.c          selection.h  utils
banning.h                      event.h       luaa.h          spawn.c      wibox.c
BUGS                           ewmh.c        luadoc          spawn.h      wibox.h
build-utils                    ewmh.h        Makefile        stack.c      widget.c
button.c                       font.c        manpages        stack.h      widget.h
button.h                       font.h        mouse.c         strut.c      widgets
client.c                       globalconf.h  mousegrabber.c  strut.h      window.c
client.h                       hooks.c       mousegrabber.h  STYLE        window.h
CMakeLists.txt                 icons         mouse.h         systray.c

[leercrak@leercrak awesome-3.4.8]$ make
Running cmake…
-- 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
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:306 (message):
  pkg-config tool not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  awesomeConfig.cmake:131 (pkg_check_modules)
  CMakeLists.txt:15 (include)


CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:306 (message):
  pkg-config tool not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  awesomeConfig.cmake:134 (pkg_check_modules)
  CMakeLists.txt:15 (include)


CMake Error at awesomeConfig.cmake:156 (message):
Call Stack (most recent call first):
  CMakeLists.txt:15 (include)


-- Configuring incomplete, errors occurred!
CMake Error: Unable to open check cache file for write. /home/leercrak/awesome-3.4.8/.build-leercrak-i686-pc-linux-gnu-4.5.1/CMakeFiles/cmake.check_cache
make: *** [cmake] Error 1
[leercrak@leercrak awesome-3.4.8]$


but.. [leercrak@leercrak awesome-3.4.8]$ sudo pacman -Qo /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake is owned by cmake 2.8.3-1
[leercrak@leercrak awesome-3.4.8]$

Offline

#2 2010-12-15 03:39:40

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: problems installing awesome3

Why not use the PKGBUILD in the AUR: http://aur.archlinux.org/packages.php?ID=41362


Edit:

CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:306 (message):
  pkg-config tool not found

That is the first error...    "pacman -S base-devel" will get you the basic tools for building things.

Offline

#3 2010-12-15 04:09:04

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: problems installing awesome3

If you used makepkg you would already be informed of missing dependancies. Start building packages properly.


You need to install an RTFM interface.

Offline

#4 2010-12-15 04:11:27

leercrak
Member
Registered: 2010-10-16
Posts: 75

Re: problems installing awesome3

i cant see why

[leercrak@leercrak ~]$ cd awesome
[leercrak@leercrak awesome]$ ls
awesome.desktop  awesome.install  PKGBUILD
[leercrak@leercrak awesome]$ sudo makepkg --asroot
==> Making package: awesome 3.4.8-2 (Tue Dec 14 20:09:20 PST 2010)
==> Checking Runtime Dependencies...
==> Missing Dependencies:
  -> cairo-xcb
==> Checking Buildtime Dependencies...
==> ERROR: Could not resolve all dependencies.
[leercrak@leercrak awesome]$


i just downloaded cairo off the aur tarred it made all the packages then cd'd to the tar pachage it made and did sudo make sudo make install ./autogen.sh

do i need to restart >.>

Offline

#5 2010-12-15 04:25:00

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: problems installing awesome3

umm...   what...

Read the wiki article on how to build and install packages from the AUR.   

Short version
1) download the source files from the AUR
2) makepkg (note no sudo there, that is bad...)
3) sudo pacman -U <built package file>

Done.   Then pacman will actually know about the files on your system.    Running "sudo make install" just put a bunch of files onto your system that are unknown to pacman probably overwrote files that pacman did know about...

Offline

#6 2010-12-15 04:39:50

leercrak
Member
Registered: 2010-10-16
Posts: 75

Re: problems installing awesome3

yoy. its going perfectly atm and the problem was i remember pacman -U whatnot but i forget which situations/packages i use these terms. Thank you for your help

edit: probably the last problem

[ 40%] Building C object CMakeFiles/awesome.dir/common/tokenize.c.o                                                                                                                 
Linking C executable awesome                                                                                                                                                       
CMakeFiles/awesome.dir/draw.c.o: In function `draw_context_init':                                                                                                                   
/home/leercrak/awesome/src/awesome-3.4.8/draw.c:137: undefined reference to `cairo_xcb_surface_create'
CMakeFiles/awesome.dir/draw.c.o: In function `draw_rotate':
/home/leercrak/awesome/src/awesome-3.4.8/draw.c:556: undefined reference to `cairo_xcb_surface_create'
/home/leercrak/awesome/src/awesome-3.4.8/draw.c:559: undefined reference to `cairo_xcb_surface_create'
CMakeFiles/awesome.dir/draw.c.o: In function `draw_text_extents':
/home/leercrak/awesome/src/awesome-3.4.8/draw.c:592: undefined reference to `cairo_xcb_surface_create'
CMakeFiles/awesome.dir/font.c.o: In function `draw_font_new':
/home/leercrak/awesome/src/awesome-3.4.8/font.c:45: undefined reference to `cairo_xcb_surface_create'
collect2: ld returned 1 exit status
make[3]: *** [awesome] Error 1
make[2]: *** [CMakeFiles/awesome.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [cmake-build] Error 2
    Aborting...

for this i would just go and read the README in cairo-xcb and enable some things?

Last edited by leercrak (2010-12-15 04:42:02)

Offline

#7 2010-12-15 04:56:14

leercrak
Member
Registered: 2010-10-16
Posts: 75

Re: problems installing awesome3

could i be missing some font packages for the the draw_text_extents/draw_font_new but that doesnt make sense since it would have told me if i was missing them.i have not configured anything custom yet.

Offline

#8 2010-12-15 17:08:53

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: problems installing awesome3

You need cairo-xcb, like makepkg told you. You obviously didn't install it right.


You need to install an RTFM interface.

Offline

#9 2010-12-15 22:02:33

leercrak
Member
Registered: 2010-10-16
Posts: 75

Re: problems installing awesome3

anrxc wrote:

You need cairo-xcb, like makepkg told you. You obviously didn't install it right.

well see i said the steps i took to install it but i must have missed something and i have tried installing it again so i was wondering if there were any configuration problems i had to do during its install.

Offline

#10 2010-12-16 05:07:34

leercrak
Member
Registered: 2010-10-16
Posts: 75

Re: problems installing awesome3

Well i think the problem is i did ./autogen.sh instead of ./configure. I deleted everything manually by ls -R /* | grep cairo. And from there started deleting cairo directories and whatnot but to no avail. Aw well kde is still great

Offline

#11 2010-12-16 05:38:13

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: problems installing awesome3

You really should try following the advice that people here proffer:

anrxc wrote:

If you used makepkg you would already be informed of missing dependancies. Start building packages properly.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB