You are not logged in.

#1 2010-12-19 21:53:59

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

installing cairo-xcb problem

when in the cairo-xcb directory i sudo makepkg --asroot and after a minute started getting this

http://pastebin.com/Z7k6Hw9W

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

http://pastebin.com/aHe1WM8k

Last edited by leercrak (2010-12-19 22:33:38)

Offline

#2 2010-12-19 22:07:27

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

Re: installing cairo-xcb problem

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[3]: *** [awesome] Error 1
make[2]: *** [CMakeFiles/awesome.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [cmake-build] Error 2
    Aborting...
[leercrak@leercrak awesome]$

Offline

#3 2010-12-19 22:20:46

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

Re: installing cairo-xcb problem

Please learn to use the \[code\] tags and to edit your posts...

https://wiki.archlinux.org/index.php/Fo … s_and_Code

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


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2010-12-19 22:29:56

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

Re: installing cairo-xcb problem

i have not seen any warnings about missing packages or dependencies? are they infront of me and i cant see them

Offline

#5 2010-12-19 22:42:20

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

Re: installing cairo-xcb problem

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)

Offline

#6 2010-12-19 23:01:45

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

Re: installing cairo-xcb problem

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


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2010-12-19 23:09:58

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

Re: installing cairo-xcb problem

alright ty and i hit the same problem heres the full input/output

http://pastebin.com/Qur7zzz6

edit: just read your edit.will do

Last edited by leercrak (2010-12-19 23:11:59)

Offline

#8 2010-12-19 23:24:15

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

Re: installing cairo-xcb problem

here is where im at and want to make sure im in the right direction.

sudo tar -xvzf cairo-xcb.tar.gz

cd cairo-xcb

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)

Offline

#9 2010-12-19 23:39:50

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

Re: installing cairo-xcb problem

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:

man makepkg wrote:

--asroot
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.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2010-12-19 23:43:12

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

Re: installing cairo-xcb problem

im in cairo-xcb/cairo-0.10.0 and i just ran ./configure heres a couple things i think i need to address

http://pastebin.com/KR6eE0dh

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)

Offline

#11 2010-12-19 23:45:56

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

Re: installing cairo-xcb problem

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.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB