build without graphics (X11)

Questions and Answers : Wish list : build without graphics (X11)
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Rene
Volunteer tester

Send message
Joined: 30 Jan 01
Posts: 25
Credit: 690,805
RAC: 0
Netherlands
Message 851313 - Posted: 9 Jan 2009, 16:23:07 UTC

After I ported the setiathome 6.03 and astropulse 5.00 to FreeBSD I've got some requests if it would be possible to compile the clients without graphics support. This way it is possible to run the clients on headless stations without having to install X11.

There is a --disable-graphics knob in the configure scripts but currently it is broken, because (as far as I can see) the state information of the math part of the astropulse client is stored inside a graphics structure (why?). This used to work fine in the previous version of the setiathome client (5.27).

I might be able to come up with some patches myself (against SVN head). Is there any interest for this?
ID: 851313 · Report as offensive
Profile Rene
Volunteer tester

Send message
Joined: 30 Jan 01
Posts: 25
Credit: 690,805
RAC: 0
Netherlands
Message 852479 - Posted: 11 Jan 2009, 23:15:21 UTC - in response to Message 851313.  

I figured out that the problem is specific to astropulse, setiathome does respect the --disable-graphics option (and consequently builds a slightly smaller binary :) )
ID: 852479 · Report as offensive
Tangerineboy

Send message
Joined: 2 Jan 09
Posts: 33
Credit: 1,511,482
RAC: 0
United Kingdom
Message 855573 - Posted: 19 Jan 2009, 23:45:36 UTC

I would be interested, as the machine I am trying to run boinc on is a server that has no gui installed, and I am having real problems getting the current versions to run.
ID: 855573 · Report as offensive
Profile Rene
Volunteer tester

Send message
Joined: 30 Jan 01
Posts: 25
Credit: 690,805
RAC: 0
Netherlands
Message 875812 - Posted: 15 Mar 2009, 15:56:22 UTC - in response to Message 855573.  

I've made an update to the port (not committed yet) to make X11 optional and to update Astropulse to version 5.03 It can be fetched from [1]. It is also available as a patch to the current port version from [2]

The clients compile but if you don't select X11 with Astropulse, the Astropulse client will crash when starting up :( If anyone knows a *proper* fix (i.e. not adding graphics-only include files) for this, let me know.

[1] ftp://rene-ladan.nl/freebsd/boinc-setiathome-enhanced.tar.bz2 (3346 bytes, MD5 = 7316bdc690fc353225a3d4184e30c318)
[2] ftp://rene-ladan.nl/freebsd/boinc-setiathome-enhanced.diff (7033 bytes, MD5 = a6c6587746d78e9e169d508773f1900b)

ID: 875812 · Report as offensive

Questions and Answers : Wish list : build without graphics (X11)


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.