You are not logged in.
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
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
yes, that is the same error I get, and the file is in the same place as yours.
Offline
can anyone maybe make a pkgbuild of cairo ?
Offline
Yeah, exact same problem here. Followed the same guide as axion.
Offline
You shouldn't download cairo's source. Just modify the pkgbuild of the official cairo package or the one you're using.
Offline
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
This worked for me. Thx to gigamo and rasi.
Offline
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 thanks everyone. Can I mark this thread as solved somehow?
Offline
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
I think you just need to take the cairo from abs, and add provides(cairo-xcb),
Offline