Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 02-25-2013, 04:19 PM   #1
LQ Newbie
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
Rebuilding cairo on RHEL 6

Hello folks!

A little background:

At home I run Arch Linux and use the i3 window manager.
At work they have us running RHEL 6 with GNOME or KDE installed by default. I do not care for either (Especially after working with WM's like i3 and awesome).

The version of i3 in EPEL is 4.01, while the current stable version of i3 is 4.4. There are quite a few bug fixes and features added between 4.01-4.4 so I would like to use 4.4.

The problem with that is that 4.4 requires cairo to be built with xcb support (enable-xcb). The workstation has cairo 1.8 with no xcb support. I know how to rebuild cairo or to build it from source with xcb support. My question to you is: how do I do so without breaking things? Currently there is quite a long list of packages on this workstation that require cairo as a dependency, and I don't want to just remove/rebuild/upgrade cairo without first knowing how to avoid breaking all those packages that require it.
Old 02-25-2013, 07:09 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,345

Rep: Reputation: 2565Reputation: 2565Reputation: 2565Reputation: 2565Reputation: 2565Reputation: 2565Reputation: 2565Reputation: 2565Reputation: 2565Reputation: 2565Reputation: 2565
It can be done , it is not easy but doable .
BUT and it is a big one
replacing cairo on RHEL6 might "null and void" your red hat support contract
contact RHEL tech support for the procedure
2 members found this post helpful.
Old 02-26-2013, 06:46 PM   #3
LQ Newbie
Registered: Feb 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
John VV,

Thanks. I actually ended up building cairo from source with xcb support to /opt/cairo-with-xcb and left the pre-existing cairo package as it was. I then statically linked i3 before compiling to /opt/cairo-with-xcb instead of the default cairo package and it worked out quite well.

Marking this as solved.

Last edited by rollhax; 02-26-2013 at 07:18 PM. Reason: Typo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cairo-dock ceh383 Linux - Newbie 1 04-05-2012 10:48 PM
compiling Cairo ryanfx Linux - Software 3 12-08-2008 09:43 AM
pckage "cairo" required by cairo" not found barunparichha Linux - Software 4 06-25-2008 08:29 AM
cairo in testing gefst Slackware 4 10-08-2006 04:19 PM
installing cairo? lilili Linux - Newbie 9 02-01-2006 12:19 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration