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

2009-04-07 Thread Roland Smith
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 \
pangocairo-1\.0.0:${PORTSDIR}/x11-toolkits/pango

and

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.

Roland
-- 
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)


pgpmKJbB7TfaW.pgp
Description: PGP signature


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

2009-04-07 Thread Dan Nelson
In the last episode (Apr 07), Juri Mianovich said:
> Just trying to install rrdtool on a server.
> 
> Do not want X.  Do not want X11.  Do not want Xorg.
> 
> So I did the "right" thing and added this to /etc/make.conf:
> 
> WITHOUT_X11=yes
> WITHOUT_X=yes
> WITH_X=NO
> ENABLE_GUI=NO
> 
> and then 'make install' in the rrdtool directory.  The problem is, eventually 
> I saw this:
> 
> ===>  Installing for pango-1.14.7
> ===>   pango-1.14.7 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf 
> - not found
> ===>Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in 
> /usr/ports/x11-fonts/xorg-fonts-truetype
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for xorg-fonts-truetype-6.9.0
> => MD5 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz.
> => SHA256 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz.
> ===>  Refetch for 1 more times files: xorg/X11R6.9.0-src1.tar.gz 
> xorg/X11R6.9.0-src1.tar.gz
> ===>  Vulnerability check disabled, database not found
> => X11R6.9.0-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg.
> => Attempting to fetch from 
> ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.9.0/src/.
> X11R6.9.0-src1.tar.gz   3% of   31 MB 8188  Bps 
> 01h05m^C
> fetch: transfer interrupted
> 
> 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 ?

Note that it's only downloading that file to install the fonts that are
included in it.  It's not going to install all of X.  You might be able to
comment out the RUN_DEPENDS entries in the pango Makefile to avoid
installing any fonts, but your rrdtool graphs will look boring with no 
text :)

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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

2009-04-07 Thread Manolis Kiagias
Juri Mianovich wrote:
> Just trying to install rrdtool on a server.
>
> Do not want X.  Do not want X11.  Do not want Xorg.
>
> So I did the "right" thing and added this to /etc/make.conf:
>
> WITHOUT_X11=yes
> WITHOUT_X=yes
> WITH_X=NO
> ENABLE_GUI=NO
>
> and then 'make install' in the rrdtool directory.  The problem is, eventually 
> I saw this:
>
> ===>  Installing for pango-1.14.7
> ===>   pango-1.14.7 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf 
> - not found
> ===>Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in 
> /usr/ports/x11-fonts/xorg-fonts-truetype
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for xorg-fonts-truetype-6.9.0
> => MD5 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz.
> => SHA256 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz.
> ===>  Refetch for 1 more times files: xorg/X11R6.9.0-src1.tar.gz 
> xorg/X11R6.9.0-src1.tar.gz
> ===>  Vulnerability check disabled, database not found
> => X11R6.9.0-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg.
> => Attempting to fetch from 
> ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.9.0/src/.
> X11R6.9.0-src1.tar.gz   3% of   31 MB 8188  Bps 
> 01h05m^C
> fetch: transfer interrupted
>
>
>
> 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 ?
>
> Thanks.
>   

I don't think your '=NO' stuff would do much.

You may also wish to add

WITHOUT_GUI=yes
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"