You are not logged in.

#1 2008-05-06 19:32:11

axion419
Member
Registered: 2007-04-12
Posts: 185

[SOLVED]Problem Installing awesome3-git

AMD 9500
2 GB RAM
NVIDIA Geforce 9600
Arch x86_64

Im trying to follow the guide here

http://github.com/gigamo/config/wikis/i … git-branch & http://lists.freedesktop.org/archives/x … 03471.html

I am able to install the xcb-utils-git, and I try and install cairo with xcb support, but that seems to be my problem.  I download the source, untar it, cd into the directory, do a ./configure --enable-xb=yes, it runs fine, i then do a sudo make install ( also tried just sudo make, and make) and that goes through fine with no errors, I then log out of awesome-git, remove it, and go to install the awesome3-git, it goes to the very final part of the install and errors out , complaining about cairo.h not found ( its something close to that, I can double check when i get off work)  So i must not be installing it correctly, I am following the guide, anything off hand you archer's can see I'm screwing up?  Is it possible to modify the arch package for cairo and enable xcb?  Also, i was told --enable -xcb should work, but when i try that it says file or directory not found.  If there is a way to output the error from yaourt -S, i could post what the error is exactly.  I tried yaourt -S awesome3-git > ~/error.log and that doesn't do anything lol :)  I also tried removing cairo and installing the source, that didn't work either.  I know im vague, but I'm at work, if there is any commands to help me get the output so I can take the errors and paste them here, please let me know ( I am doing all this with X killed, so I cant just copy and paste, or I would.)

Last edited by axion419 (2008-05-10 14:50:47)

Offline

#2 2008-05-06 22:48:25

Psyce
Member
Registered: 2008-05-06
Posts: 51

Re: [SOLVED]Problem Installing awesome3-git

Hello I have the same Problem with my 32bit machine.

First I used the AUR Package awesome3-git, but it said it couldn't install. After that I  used the Tutorial mentioned above. Here is something I don't understand.

common/draw.c:22:23: error: cairo-xcb.h: No such file or directory

I used cairo with -enable-xcb and with --enable-xcb and --enable-xcb=yes, but nothing changed. After that the search for the missing file began. I found it at /usr/local/include/cairo. Then I copied it to /usr/include/cairo and tried it again. But then there was a message that he couldn't declare the xcb interface.

I hope someone can help

Edit:

/usr/include/cairo/cairo-xcb.h:42:5: warning: "CAIRO_HAS_XCB_SURFACE" is not defined
/usr/include/cairo/cairo-xcb.h:70:3: error: #error Cairo was not compiled with support for the xcb backend

This is the message after I copied the file like mentioned above.

Last edited by Psyce (2008-05-06 23:02:18)

Offline

#3 2008-05-07 22:42:21

axion419
Member
Registered: 2007-04-12
Posts: 185

Re: [SOLVED]Problem Installing awesome3-git

yes, that is the same error I get, and the file is in the same place as yours.

Offline

#4 2008-05-08 23:03:32

axion419
Member
Registered: 2007-04-12
Posts: 185

Re: [SOLVED]Problem Installing awesome3-git

can anyone maybe make a pkgbuild of cairo ?

Offline

#5 2008-05-08 23:56:36

crisnoh
Member
From: Baghdad, Iraq
Registered: 2008-04-22
Posts: 67
Website

Re: [SOLVED]Problem Installing awesome3-git

Yeah, exact same problem here.  Followed the same guide as axion.

Offline

#6 2008-05-09 05:06:48

Gigamo
Member
Registered: 2008-01-19
Posts: 394

Re: [SOLVED]Problem Installing awesome3-git

You shouldn't download cairo's source. Just modify the pkgbuild of the official cairo package or the one you're using.

Offline

#7 2008-05-09 07:55:13

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [SOLVED]Problem Installing awesome3-git

and if you dont know how that works:

pacman -S abs

abs

(as root)

mkdir ~/abs

(as user)

cp -R /var/abs/extra/cairo ~/abs

(as user)

cd ~/abs/cairo

(as user)

edit the PKGBUILD and add the -enable-xcb switch to the configure line

run

makepkg

(as user)
install the resulting file with

pacman -U file.bla.bla


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#8 2008-05-09 21:33:30

Psyce
Member
Registered: 2008-05-06
Posts: 51

Re: [SOLVED]Problem Installing awesome3-git

This worked for me. Thx to gigamo and rasi.

Offline

#9 2008-05-10 14:50:30

axion419
Member
Registered: 2007-04-12
Posts: 185

Re: [SOLVED]Problem Installing awesome3-git

wow, that worked, I guess I never really understood the abs system ( its bsd -esque correct?) But now,  I See, when I have to 'install from source' I can modify pkgbuilds and get what i want and have arch handle it.  Thanks, maybe this was a post for the newbie section smile thanks everyone.  Can I mark this thread as solved somehow?

Offline

#10 2008-07-01 13:09:18

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: [SOLVED]Problem Installing awesome3-git

Guys... I am kinda confused now; I did what was written by Rasi. But as awesome-git wants the cairo-xcb package, I simply changed the pkgbuild to require cairo (which I just installed with -enable-xcb).

Is that actually suggested? It seems kinda odd... What happens at a future update of cairo?

Offline

#11 2008-07-02 00:06:26

axion419
Member
Registered: 2007-04-12
Posts: 185

Re: [SOLVED]Problem Installing awesome3-git

I think you just need to take the cairo from abs, and add provides(cairo-xcb),

Offline

Board footer

Powered by FluxBB