Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

"I cannot find a working X window system"

Writer Sophia Terry

I am trying to install Electron Direct Methods (edm: ) code on Ubuntu 14.04 LTS 64-bit, standard install. This requires a standard configure - make - make install routine, which worked well on Ubuntu 12.04 64-bit. However, configure fails on the present 14.04 system with the following message:

checking for X... no
I cannot find a working X Window System
You may need to set --x-includes=dir and --x-libraries=dir
Giving up........sorry

What gives? I thought all Linux systems including Ubuntu use X11. On this system, X in /etc/X11 points to /usr/bin/Xorg and /usr/lib/xorg has just one modules directory. Is X to be specifically installed, or are there other directories to point --x-includes and --x-libraries to?

1 Answer

Just because a system uses the X windows system, it doesn't mean it necessarily ships with the header files and development libraries necessary to build X windows based applications - in fact, most don't.

If you don't know exactly which X development packages the software requires then, unless your system is severely limited by disk space, probably the easiest thing is to install the xorg-dev convenience package:

Description-en: X.Org X Window System development libraries This metapackage provides the development libraries for the X.Org X Window System.

You can do so either from the Software Center or other GUI package manager, or from the commandline using

sudo apt-get install xorg-dev
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy