f3a8
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I'm trying to update graphics/librsvg2 and it keeps failing with:
Code:
...===> Configuring for gtk-update-icon-cache-2.24.6 gtk-update-icon-cache-2.24.6: Needs cairo build with X11 support. *** Error code 1 Last edited by DutchDaemon; December 20th, 2011 at 05:42. |
|
#2
|
||||
|
||||
|
Do you have graphics/cairo installed ?
__________________
We are all in the gutter, but some of us are looking at the stars. Unix Toolbox: http://cb.vu/unixtoolbox.xhtml |
|
#3
|
||||
|
||||
|
Do you have WITHOUT_X11 set in /etc/make.conf?
|
|
#4
|
|||
|
|||
|
Yes, that is set in make.conf (and cairo is installed). This is an install for an apache/php/perl/mysql machine that I'm planning to administer remotely so I didn't want X11 support. Can I take that line out of make.conf just for the cairo install and then set the flag back to "YES" afterward? Is there a known good way to set up a minimal system with only the necessary ports for a webserver that won't have a monitor attached?
Last edited by DutchDaemon; December 21st, 2011 at 01:20. |
|
#5
|
||||
|
||||
|
Possibly. Some applications only need the X libraries. I haven't tried this, just noticed it from looking at the Makefile of graphics/gtk-update-icon-cache, which shows that it needs ${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc. Looking at graphics/cairo's pkg-plist and Makefile shows that file is not installed if X11 is disabled.
On a system without X, make missing for graphics/cairo with all the options turned off: Code:
x11/libXrender print/freetype2 graphics/png x11-fonts/fontconfig x11/pixman x11/renderproto x11/libX11 x11/xproto x11/libxcb devel/xorg-macros x11/bigreqsproto x11/xcmiscproto x11/xextproto x11/xtrans x11/kbproto x11/inputproto x11-fonts/xf86bigfontproto x11/libXau x11/libXdmcp textproc/libxslt x11/xcb-proto devel/libpthread-stubs |
|
#6
|
|||
|
|||
|
Sorry to pick up this old topic, but have you solved this problem? If you did, how?
None of these solutions helped me. Last edited by DutchDaemon; May 6th, 2012 at 00:35. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043 |
|
#7
|
||||
|
||||
|
This happened to me yesterday while compiling GKrellM after a fresh FreeBSD 9.0 build. I was able to:
Code:
# cd /usr/ports/graphics/cairo # make deinstall # make reinstall Edit: I was installing GKrellM today on my other machine after converting it over from PC-BSD 9.0 to FreeBSD 9.0 and got the same "Needs cairo build with X11 support" error regarding pango, was able to issue the same commands to deinstall and reinstall cairo, and again continue with successfully compiling GKrellM. Last edited by Trihexagonal; May 18th, 2012 at 02:36. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] x11-toolkits/gigi fails to build | hedgehog | Installation and Maintenance of FreeBSD Ports or Packages | 1 | January 5th, 2011 12:45 |
| How to build X11 apps binary all *bsd compatible? | Lomik | Userland Programming & Scripting | 8 | December 4th, 2009 13:54 |
| which actual devices does x11-drivers/xf86-input-hyperpen support? | Xplagu3 | Peripheral Hardware | 2 | June 26th, 2009 13:07 |
| build error on make install clean /usr/ports/x11/gnome-applets | renlobkk | Installation and Maintenance of FreeBSD Ports or Packages | 12 | June 15th, 2009 07:26 |
| x11 build failed | LordZ | Installation and Maintenance of FreeBSD Ports or Packages | 7 | November 21st, 2008 08:46 |