when in the cairo-xcb directory i sudo makepkg --asroot and after a minute started getting this
and ive tried installing cairo-xcb a couple of times and after a full install i think the problem is i had the non git package and i accidentally did ./autogen.sh instead of the correct ./configure
i also get alot of this
Last edited by leercrak (2010-12-19 22:33:38)
and when i makepkg in awesome
[ 37%] Building C object CMakeFiles/awesome.dir/widgets/progressbar.c.o
[ 37%] Building C object CMakeFiles/awesome.dir/widgets/textbox.c.o
[ 38%] Building C object CMakeFiles/awesome.dir/widgets/systray.c.o
[ 39%] Building C object CMakeFiles/awesome.dir/widgets/imagebox.c.o
[ 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':
/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':
/awesome/src/awesome-3.4.8/draw.c:556: undefined reference to `cairo_xcb_surface_create'
/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':
/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':
/awesome/src/awesome-3.4.8/font.c:45: undefined reference to `cairo_xcb_surface_create'
collect2: ld returned 1 exit status
make: *** [awesome] Error 1
make: *** [CMakeFiles/awesome.dir/all] Error 2
make: *** [all] Error 2
make: *** [cmake-build] Error 2
Please learn to use the \[code\] tags and to edit your posts...
And I'll link back to the advice provided in your previous thread that you seem intent on ignoring:
https://bbs.archlinux.org/viewtopic.php … 67#p866367
i have not seen any warnings about missing packages or dependencies? are they infront of me and i cant see them
im trying, i really am. i followed the readme in cairo i got all the dependencies for awesome and when i do makepkg no missing dependencies are alerted and the operation aborts when it attempts " Linking C executable awesome ".
edit:i realized what i did wrong and after alot more googling i know ill have this solved. ty for your help
Last edited by leercrak (2010-12-19 22:59:48)
Delete the entire directory, download the awesome tarball from here: http://aur.archlinux.org/packages.php?ID=41362
and follow these instructions: https://wiki.archlinux.org/index.php/AU … g_packages
# edit I just built it myself: first install cairo-xcb by the method described above, and then awesome compiles without any issues
alright ty and i hit the same problem heres the full input/output
edit: just read your edit.will do
Last edited by leercrak (2010-12-19 23:11:59)
here is where im at and want to make sure im in the right direction.
sudo tar -xvzf cairo-xcb.tar.gz
sudo makepkg -s --asroot
and the files inside cairo-xcb are
[leercrak@leercrak cairo-xcb]$ ls
cairo-1.10.0-buggy_gradients.patch cairo-xcb-1.10.0-2-i686.pkg.tar.xz PKGBUILD
cairo-1.10.0.tar.gz pkg src
what i would do next is "tar -xvzf cairo-1.10.0.tar.gz" then "sudo pacman -U cairo-xcb-1.10.0-2-i686.pkg.tar.xz" and then cd cairo-1.10.0.tar.gz and continue to unpack and tar everything.this is what i was doing before so i wanted to check
edit: im also doing all of this from kde.
Last edited by leercrak (2010-12-19 23:25:55)
You need to follow the links I posted above: it took me about 5 mins to compile and install awesome.
You don't need to extract packages as root - or run makepkg as root:
Allow makepkg to run as root. This is for security purposes as it is normally dangerous to do so. This will also disable use of fakeroot and sudo.
Just follow the instructions on the wiki to the letter and it will work.
im in cairo-xcb/cairo-0.10.0 and i just ran ./configure heres a couple things i think i need to address
edit: alright ill try my hand at ths agin and wont do it as sudo or any --asroot
Last edited by leercrak (2010-12-19 23:45:31)
I'm closing this thread.
You are not paying any attention to what you are being told. If you want help from the community, then it would be polite to follow the advice that is freely given.
Please do not open another thread unless you are willing to at least try and follow the help you are being offered.