Wine without X

Paul Schmehl pschmehl_lists at tx.rr.com
Thu Mar 26 11:59:09 PDT 2009


--On Thursday, March 26, 2009 09:47:27 -0500 Barnaby Scott <bds at waywood.co.uk> 
wrote:

>
> I'm sorry if I'm asking in the wrong place, but I have tried elsewhere
> and go no response.
>
> I want to install wine, but without X on the system. Obviously trying to
> do this from ports drags in loads of X-related stuff. There doesn't seem
> to be a WITHOUT_X11 knob available for the wine port (presuambly because
> hardly anyone would want it).
>
> I guess that leaves me installing it the 'old-fashioned' way, but
> unfortunately my inexperience leaves me floundering here! Because
> FreeBSD has such a wonderful ports system, all documentation I can find
> for installing from source refers to ports, and I have not found a
> single one showing a layman how to install from source manually, and
> what problems I have to look out for.
>
> As you can probably tell, I lack a lot experience, so keep it fairly
> monosyllabic please!
>
> (In case you wonder what on earth I want this for, it is to run a
> 'render slave' which is Windows only, and simply runs in the background
> - it would not even count as a 'console application'. I have three very
> underused FreeBSD servers and they could do with some rendering work to
> keep them from getting bored, but I don't want X cluttering them up.)
>
> Any help gratefully received

Number 1, you should always google first.  There's a wealth of posts on the web 
about running wine without X.

Note that, at present, the wine port will not work.  (There is an IGNORE line 
in the Makefile that explains why.)

Whether wine will work at all or work but not do what you want, I can't say.

Here's a post where someone compiled wine without X:
http://www.winehq.org/pipermail/wine-users/2001-October/004709.html

The wine configure file has an option --with-x, and it's been buildable without 
X since 2003, so you could try building from source.  ./configure --without-x 
builds fine on my machine, and make depends, make and make install work fine as 
well.  Whether it will do what you want it to do, only you can say.

So, you *could* do this:
su - to root
Download the wine tarball and untar it
Go in to the wine directory and type the following, in order:
./configure --without-x
make depends
make
make install

That will install wine on your system without X.  Figuring out how to get your 
rendering binary to run is an exercise for you.  :-)

I left wine without x installed on my system.  If you have questions, I *may* 
be able to help.

-- 
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
Check the headers before clicking on Reply.



More information about the freebsd-questions mailing list