title: How can I compile X11 statically?
body: <p>I'm compiling parallel C code on a cluster (<a href="http://www.hector.ac.uk" rel="nofollow noreferrer">HECToR</a>).</p>
  
  <p>Although I won't be running any parallel jobs interactively, my code contains some references to X11 functions which are used when it's run sequentially. The cluster I'm using doesn't support shared libraries, which rules out X11, at least in the way I've been using it so far.</p>
  
  <p>Could you advise me on whether there's anything I can do to compile X11 statically?</p>
  
  <p>Thanks in advance for your help.</p>
  
  <p>Ross</p>