WITHOUT_X11 option ?

franz

New Member


Messages: 19

Hi everyone!

I manage a headless server and i don't need to install X11 at all (of course).

I noticed that some ports required install of X11 , libX11, etc...

I googled and i found that i needed to add WITHOUT_X11=yes to my /etc/make.conf

The only problem is that it doesn't work at all!

I also heard about a WITHOUT_MODULES=x11 but i really don't know...

Does anybody know about this?

Thanks in advance ;-)
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,308
Messages: 38,828

WITHOUT_X11 should work unless a port specifically depends on an X11 library. Take a look at the port's Makefile, specifically the *_DEPENDS.
 
OP
F

franz

New Member


Messages: 19

Ok, so i add WITHOUT_X11=yes in my /etc/make.conf ??

Thanks a lot for your aswer ;-)
 

itetcu@

New Member
Developer

Reaction score: 2
Messages: 18

Yes.
And if you end up with parts of X installed, then please check which port pulled them in and talked to its maintainer to make it respect WITHOUT_X11 or explain why that ain't possible.
 

ironmikie

Member

Reaction score: 1
Messages: 25

I believe you can also specify it on the commandline while installing the port.

make -DWITHOUT_X11 install
 

itetcu@

New Member
Developer

Reaction score: 2
Messages: 18

Yes, you can, but it will apply only to the port in question, not for all the ports you build.
 

Brandybuck

Active Member

Reaction score: 12
Messages: 147

Just a side note: Just because the system is headless doesn't mean that X11 is pointless.

ssh -Y brandybuck@my-headless-server
 
Top