View previous topic :: View next topic |
Author |
Message |
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Mon Feb 21, 2011 3:43 pm Post subject: gnuplot with cairo without X [SOLVED] |
|
|
Hi all,
I'm looking for a way to install gnuplot with Cairo but without X.
I can compile cairo without X but when trying to compile gnuplot with the cairo USE flag, it will require X for cairo.
Code: | USE="-X cairo" emerge -pv gnuplot |
gives
Code: | emerge: there are no ebuilds built with USE flags to satisfy ">=x11-libs/cairo-1.6[X,svg]".
!!! One of the following packages is required to complete your request
- x11-libs/cairo-1.10.2-r1 (Change USE: +X)
(dependency required by "x11-libs/gtk+-2.22.1-r1" [ebuild])
(dependency required by "sci-visualization/gnuplot-4.4.2[cairo,-wxwidgets]" [ebuild])
(dependency required by "gnuplot" [argument])
|
Any idea how I can get out of this?
Thanks.
Last edited by deurk on Tue Feb 22, 2011 3:14 pm; edited 1 time in total |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Tue Feb 22, 2011 10:50 am Post subject: |
|
|
gtk+ hard depends on cairo with the X USE flag enabled, so there is no way around this, except if you can modify gnuplot to not require gtk+. |
|
Back to top |
|
|
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Tue Feb 22, 2011 12:20 pm Post subject: |
|
|
Hard for me to understand since gnuplot does not have any gtk USE flag and compiles fine without any gtk installed.
Thanks for your answer though. |
|
Back to top |
|
|
ulm Developer
Joined: 04 Oct 2004 Posts: 98 Location: Mainz, Germany
|
Posted: Tue Feb 22, 2011 3:09 pm Post subject: |
|
|
Looks like the dependency on gtk+ could be dropped. Could you do the following test for me:
- $ USE="-cairo" emerge --onlydeps =gnuplot-4.4.2
- $ emerge -1 -u cairo pango
- Make sure that you (still) don't have gtk+ installed.
- $ USE="cairo" emerge --nodeps =gnuplot-4.4.2
- Test if it works as expected.
Last edited by ulm on Tue Feb 22, 2011 3:20 pm; edited 1 time in total |
|
Back to top |
|
|
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Tue Feb 22, 2011 3:13 pm Post subject: |
|
|
Did the trick
Thanks. |
|
Back to top |
|
|
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Tue Feb 22, 2011 3:48 pm Post subject: |
|
|
Whoops, one more thing.
How can I make that permanent?
when I want to update world portage tells me to rebuild gnuplot with -cairo. |
|
Back to top |
|
|
ulm Developer
Joined: 04 Oct 2004 Posts: 98 Location: Mainz, Germany
|
Posted: Tue Feb 22, 2011 4:43 pm Post subject: |
|
|
I've fixed it in CVS. Re-sync in a few hours from now and you should be o.k. |
|
Back to top |
|
|
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Tue Feb 22, 2011 4:43 pm Post subject: |
|
|
Wonderful!
Thanks a lot. |
|
Back to top |
|
|
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Tue Feb 22, 2011 4:52 pm Post subject: |
|
|
Worked for me without problem.
What does it want to install in your case? |
|
Back to top |
|
|
|