problem in making xmovie tool in lammps on ubuntu 11.04

hello dear alls
I am trying to install lammps with ubuntu 11.04 an make lammps serial example can be run but the problem is that when i try to make xmovie tool using make command then following appear. I am unable to understand the problem. kindly guaide me about this problem.

[email protected]…2637…:~/imran/lamps-station/lammps-4Apr11/tools/xmovie# make

gcc -c -O2 -finline-functions -g -DMISSINGDEFS -D_POSIX_SOURCE -DUSEPRIVATE -DINCL_FLOAT -Wimplicit -Wunused -Wmissing-prototypes xmovie.c

xmovie.c:12:28: fatal error: X11/StringDefs.h: No such file or directory

compilation terminated.

make: *** [xmovie.o] Error 1

Regards
Muhammad Imran

hello dear alls
I am trying to install lammps with ubuntu 11.04 an make lammps
serial example can be run but the problem is that when i try to make xmovie
tool using make command then following appear. I am unable to understand the
problem. kindly guaide me about this problem.

a) this is unrelated, but _never_ compile application software as root. in fact,
never do anything as root, until you really, really have no other way.

b) you need to install the development package(s) for X11.
please note that, xmovie is a _very_ minimalistic visualization
package. you are likely to be better served with an alternate tool.

axel.