Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I want to compile pwsafe for use on a server, via ssh. The server doesn't have X libs installed, and doesn't run any X apps. 'make' fails with "pwsafe.cpp:143:27: error: X11/Xmu/Atoms.h: No such file or directory".
How I can tell pwsafe to compile without looking for X libraries?
Hehe, 'export X_DISPLAY_MISSING=1' didn't help, but commenting out all the corresponding bits of source code did :-]
The ./configure tests for Xmu stuff fails, so perhaps this can automatically set the environment not to try and compile the X support.
The short answer:
The longer answer:
./configure -help will (with all gnu autoconf based software) show you all the configuration options. In there you'll find the line "-with-x", indicating both that with/without X is possible, and that with-x is the default.
I must confess that I took "-with-x" to mean that you can explicitly request X support if you want it:
-with-x use the X Window System
.. so that's an optional package which I can request.
Anyway, I understand now, thanks!
I still think that ./configure should fail if it's going to try to install X, but the tests for the required libraries have failed.
Edit: "I still think that ./configure should fail if it's going to try to compile X support, but the tests for the required libraries have failed."