What ELSE do I need to add to make.conf to avoid X ?

Roland Smith rsmith at xs4all.nl
Tue Apr 7 12:04:29 PDT 2009

On Tue, Apr 07, 2009 at 07:40:53AM -0700, Juri Mianovich wrote:
> Just trying to install rrdtool on a server.
> Do not want X.  Do not want X11.  Do not want Xorg.
> Oops.  Looks like I was going to get X11 anyway.
> So, what other options do I need to add to make.conf in order to
> install a simple stats/database tool without hundreds and hundreds of
> MB of x11 ?

You should pick a tool that doesn't depend on X
components. From databases/rrdtool/Makefile:  

LIB_DEPENDS=    freetype.9:${PORTSDIR}/print/freetype2 \
                cairo.2:${PORTSDIR}/graphics/cairo \
                png.5:${PORTSDIR}/graphics/png \
                xml2.5:${PORTSDIR}/textproc/libxml2 \


USE_GNOME=      gnomehack

The cairo library depends on an Xorg component called xrender, unless
you build it with the WITHOUT_X11 variable defined, which is not the
default. See /usr/ports/graphics/cairo/Makefile.

Pango depends on some X components as well, unless compiled with the
WITHOUT_X11 variable defined. See /usr/ports/x11-toolkits/pango/Makefile.

So if you _really_ want no X related stuff at all, you'd better pick
something else, because cairo and pango are linked with several X
components. Check the required items for rrdtool on freshports
[http://www.freshports.org/databases/rrdtool/], and then follow the
links to the packages it depends on, and look at their
dependancies. You'll see a host of X related stuff. Maybe using
WITHOUT_X11=yes is sufficient to stop these dependencies, but I doubt if
that is a situation that has been well tested.

R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090407/5a0dceaf/attachment.pgp

More information about the freebsd-questions mailing list