f3a8 Needs cairo build with X11 support - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old December 20th, 2011, 02:52
Lido Lido is offline
Junior Member
 
Join Date: Dec 2011
Posts: 59
Thanks: 8
Thanked 0 Times in 0 Posts
Default Needs cairo build with X11 support

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.
Reply With Quote
  #2  
Old December 20th, 2011, 03:04
YZMSQ's Avatar
YZMSQ YZMSQ is offline
Member
 
Join Date: Nov 2010
Location: Hangzhou,Zhejiang,PRC
Posts: 204
Thanks: 202
Thanked 17 Times in 14 Posts
Default

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
Reply With Quote
  #3  
Old December 20th, 2011, 05:48
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,851
Thanks: 445
Thanked 1,829 Times in 1,495 Posts
Default

Do you have WITHOUT_X11 set in /etc/make.conf?
Reply With Quote
  #4  
Old December 20th, 2011, 06:34
Lido Lido is offline
Junior Member
 
Join Date: Dec 2011
Posts: 59
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by wblock@ View Post
Do you have WITHOUT_X11 set in /etc/make.conf?
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.
Reply With Quote
  #5  
Old December 20th, 2011, 17:42
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,851
Thanks: 445
Thanked 1,829 Times in 1,495 Posts
Default

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
You might already have some of those.
Reply With Quote
  #6  
Old May 5th, 2012, 05:57
marathoneer marathoneer is offline
Junior Member
 
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #7  
Old May 17th, 2012, 09:07
Trihexagonal's Avatar
Trihexagonal Trihexagonal is offline
Member
 
Join Date: Mar 2012
Posts: 156
Thanks: 19
Thanked 18 Times in 12 Posts
Default

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
and resume compiling the port successfully.


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.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

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


All times are GMT +1. The time now is 04:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0