Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 11:33:39 +1100
From:      Reuben Farrelly <reuben-freebsd-questions@reub.net>
To:        Christian Baer <christian.baer@informatik.uni-dortmund.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Compiling mtr without GUI
Message-ID:  <45AC1D63.1050907@reub.net>
In-Reply-To: <eoaoqv$5bs$1@nermal.rz1.convenimus.net>
References:  <eoaoqv$5bs$1@nermal.rz1.convenimus.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On 14/01/2007 1:03 AM, Christian Baer wrote:
> Hi there Peeps!
> 
> Somehow the mtr-port is bugging me a little. I want to install mtr on a
> machine with no keyboard and no monitor and thus no X - and I'd like to
> keep it that way. Since I couldn't find a package of mtr without the
> GUI, I guess, I'm stuck with the port.
> 
> I've looked at the makefile and found the variable WITHOUT_X11. However,
> a 'make -D WITHOUT_X11' and a 'make WITHOUT_X11=1' both[1] result in X.org
> being downloaded and built. Now I am no real expert on makefiles but
> AFAIK in this case it shouldn't matter, what value WITHOUT_X11 has, as
> long as it is set at all.

If you've no X and no intention to build anything with X support, then in 
/etc/make.conf put this:

WITHOUT_X11=yes

You'll then get an mtr with no X support (I know, I've just built it from ports 
this morning on a non X server - it was dead easy)

reuben



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45AC1D63.1050907>