Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to compile FreeNX like so

aptitude install build-essential
apt-get install subversion patch
apt-get install expat fontconfig xterm zlib1g libgl1-mesa-dri libgl1-mesa-glx libglu1-mesa libpng12-0 libdrm-intel1 libdrm-nouveau1a libdrm-radeon1 libdrm2 libfreetype6
apt-get install zlib1g-dev libjpeg62 libjpeg62-dev libpng12-0-dev

svn checkout svn://
cd /root/trunk/freenx-server
patch -p0 < gentoo-nomachine.diff
make install

but make fails as it can't find xmkmf which seams to be a program for creating Makefile's.

Does anyone know how to get/install xmkmf on Ubuntu?

share|improve this question
up vote 8 down vote accepted

Install xutils-dev package.

To look for information similar to this, use apt-file find command, for example

apt-file find xmkmf.

share|improve this answer
Incredible useful tool. I'll definitely use it from now on. xutil-dev -> xutils-dev – Sandra Dec 2 '11 at 9:52
:) Fixed my own typo, thanks for that. – Janne Pikkarainen Dec 2 '11 at 9:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.