Re: Compiling mtr without GUI

2007-01-16 Thread Pieter de Goeje
On Saturday 13 January 2007 15:03, 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.

 Am I too thick to be getting the point here or have I missed something
 not all that obvious?

 Don't think it matters but the Plattform is SPARC64 and the Version is
 6.1-RELEASE (no cvsup run yet).

 Regards
 Chris

 [1] Both should actually do the same thing.
Make sure you run 'make clean' in the port's dir before trying to rebuild the 
port after changing make.conf and/or make variables. Otherwise you'll end up 
building the port with stale data.

- Pieter de Goeje
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling mtr without GUI

2007-01-16 Thread Niclas Zeising

On 1/13/07, Christian Baer [EMAIL PROTECTED] 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.

Am I too thick to be getting the point here or have I missed something
not all that obvious?

Don't think it matters but the Plattform is SPARC64 and the Version is
6.1-RELEASE (no cvsup run yet).

Regards
Chris


I'm not entierly sure, but i think you have to provide -DWITHOUT_X11,
no space between D and the rest. That's how i specify make options
anyway.
AS others suggested, if you never intend to run a X11-server, setting
WITHOUT_X11=yes in make.conf is propablyu better, then you don't have
to worry at all about X being installed if there is a option not to.
HTH!
//Niclas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Compiling mtr without GUI

2007-01-15 Thread Christian Baer
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.

Am I too thick to be getting the point here or have I missed something
not all that obvious?

Don't think it matters but the Plattform is SPARC64 and the Version is
6.1-RELEASE (no cvsup run yet).

Regards
Chris

[1] Both should actually do the same thing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling mtr without GUI

2007-01-15 Thread Panagiotis Christias

On 1/13/07, Christian Baer [EMAIL PROTECTED] 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.

Am I too thick to be getting the point here or have I missed something
not all that obvious?

Don't think it matters but the Plattform is SPARC64 and the Version is
6.1-RELEASE (no cvsup run yet).

Regards
Chris

[1] Both should actually do the same thing.


Hello,

we have the following lines in the /etc/make.conf of our non-X11 servers:

# no support for X Windows on this server
WITHOUT_X11=yes

works fine with the mtr port.

Regards,
Panagiotis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling mtr without GUI

2007-01-15 Thread applecom



--- Forwarded message ---
From: [EMAIL PROTECTED]
To: Christian Baer [EMAIL PROTECTED]
Cc:
Subject: Re: Compiling mtr without GUI
Date: Tue, 16 Jan 2007 05:40:34 +0500

On Sat, 13 Jan 2007 19:03:11 +0500, Christian Baer
[EMAIL PROTECTED] wrote:


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.


What do you see after running make?
===   mtr-nox11-0.72 depends on executable in : gmake - found
or
===   mtr-0.72 depends on executable in : gmake - found
?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling mtr without GUI

2007-01-15 Thread Reuben Farrelly



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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]