Skip to content

Building Awesome 3 (3.3.4) in Ubuntu 9.04 (Jaunty)

2009/10/08

According to the debian package listing, Awesome 3.3.4-1 is the default version in the package repositories for Ubuntu Karmic 9.10 (Karmic).  At the time of this writing, however, I am using Ubuntu 9.10 (Jaunty), for which 2.3.4-1 is the default version of Awesome in the repos.  Furthermore, there is no guide on the Awesome Wiki, nor could I find one elsewhere (I did not look that hard.)

I don’t want to wait till the end of the month for Ubuntu Karmic, nor do I want to start learning an deprecated version of Awesome.  According to what I’ve read, version 3 introduced some pretty substantial changes, and is just that much more awe… uh, excellent.  I’m going to build it and document my steps here with the hope that someone else out there finds them useful.

There are probably different ways to do this; we could install directly from source, or build our own debian package.  I’m going to take the path of least resistance, just to get it up and rolling as fast as possible.

First, get the latest version from awesome’s website.

Then make sure all of the necessary build tools & dependencies are installed

sudo aptitude install build-essential autoconf automake libtool gperf xmlto dpatch fakeroot debhelper

I’m going to try skipping the X dev libs and going straight to installing Lua (the language that Awesome uses for configuration)
— update, tried installing these as a hail mary, it didn’t work.

sudo aptitude install lua5.1 liblua5.1-0-dev

If cmake is not already installed, add it with

sudo aptitude install cmake

Install libev3 with

sudo aptitude install libev3

Unless something blows up, I’m going to skip installing luadoc
— was ‘not found’ by ‘make’ but did not throw an error… installing to see if it solves the ‘convert’ problem
(didn’t, now it’s just found… could maybe live without it?)

The guide I’m (sort of) following lists xcb-util as a build dependency, probably should find out a little more before just blindly installing it.

After unzipping the tarball, cd /awesome-x.x.whatever/ && make
— got this error while running ‘make’:

CMake Error at awesomeConfig.cmake:41 (message):
convert is required to build awesome
Call Stack (most recent call first):
awesomeConfig.cmake:62 (a_find_program)
CMakeLists.txt:15 (include)

Ah, screw it.  I’m gonna install xcb-util, when I understand it better, later, I’ll sort screwing with it.

git clone git://anongit.freedesktop.org/git/xcb/util
cd util && ./autogen.sh && make && sudo make install

got this:
—————-
checking for XCB… configure: error: Package requirements (xcb >= 1.4) were not met:

Requested ‘xcb >= 1.4’ but version of XCB is 1.1.93
—————-

did wget http://xcb.freedesktop.org/dist/libxcb-1.4.tar.bz2 into my /src directory, untarred, did ./configure

got this:
—————-
checking for XCBPROTO… configure: error: Package requirements (xcb-proto >= 1.5) were not met:

No package ‘xcb-proto’ found
—————-

did wget http://xcb.freedesktop.org/dist/xcb-proto-1.5.tar.bz2

untarred, did ./configure && make && sudo make install – righteous!

went into libxcb directory, did ./configure && make && sudo make install

Compiling xcb-util worked now!!!!
./configure && make && sudo make install

trying to do awesome/make
AHHHH!!! Now I’m getting this:

— convert not found.
CMake Error at awesomeConfig.cmake:41 (message):
convert is required to build awesome
Call Stack (most recent call first):
awesomeConfig.cmake:62 (a_find_program)
CMakeLists.txt:15 (include)

per http://ubuntuforums.org/showthread.php?t=1225095 via google
“convert” is a part of ImageMagic, therefore it wants ImageMagic =)
confirmed by http://osdir.com/ml/fedora-package-review/2009-09/msg01606.html
and http://www.freshports.org/x11-wm/awesome/

did sudo aptitude install imagemagick

Ok, so, some progress… got past that part, annnnndddddd
—   package ‘libxdg-basedir>=1.0.0’ not found
CMake Error at /usr/share/cmake-2.6/Modules/FindPkgConfig.cmake:270 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.6/Modules/FindPkgConfig.cmake:322 (_pkg_check_modules_internal)
awesomeConfig.cmake:134 (pkg_check_modules)
CMakeLists.txt:15 (include)

Well alrighty then…

a simple wget http://n.ethz.ch/~nevillm/download/libxdg-basedir/libxdg-basedir-1.0.2.tar.gz
tar xzvf
./configure && make && sudo make install solves that (maybe?)

JEEEEZ – This was a terrible idea

—   package ‘libstartup-notification-1.0>=0.10’ not found
—   package ‘xproto>=7.0.15’ not found
—   package ‘imlib2’ not found
CMake Error at /usr/share/cmake-2.6/Modules/FindPkgConfig.cmake:270 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.6/Modules/FindPkgConfig.cmake:322 (_pkg_check_modules_internal)
awesomeConfig.cmake:134 (pkg_check_modules)
CMakeLists.txt:15 (include)

sudo aptitude install libstartup-notification0-dev ??? for the love of –

OK this is ridiculous, and a showstopper.  Apparently, in order to complete this process I will have to compile & install a bunch of libraries for X11. (According to the following blog post: http://ubuntuforums.org/showthread.php?t=1214604)

I’m not rebuilding X.  Frankly, in the time spent trying to get this to work I could have just rebuilt my system with Arch!  In fact, I may very well do just that…

Advertisements

From → Window Managers

2 Comments
  1. joeda permalink

    you should check this out, looks promising:

    http://ubuntu-snippets.blogspot.com/2009/02/get-awesome.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: