scfarm-1 root $ ls X11
ls: X11: No such file or directory
scfarm-1 root $ mkdir X11
scfarm-1 root $ ls X11
scfarm-1 root $ ls X11/
scfarm-1 root $ rmdir X11
scfarm-1 root $ ls X11
ls: X11: No such file or directory
scfarm-1 root $ ./configure
Checking for source directory … /u/jlederman.sc/jonscratch/root/root
Configuring for linuxx8664gcc
Checking for GNU Make version >= 3.80 … ok
Checking for C compiler … gcc
Checking for C++ compiler … g++
Checking for linker (LD) … g++
Checking for F77 compiler … gfortran
Checking for libX11 … /usr/lib64
Checking for X11/Xlib.h … /usr/include
Checking for X11/xpm.h … no
configure: xpm headers MUST be installed
See root.cern.ch/drupal/content/build-prerequisites
Can you explain where I can get these libraries and where they must be installed. For example, I did download and install libXpm-3.5.9.tar.gz. Then I used ./configure --with-xpm-libdir= and I still get the same error. Can you explain precisely what files I need and where they need to be as well as any flags I need to set for configure.
Thanks for your response. I am aware of the webpage you provided. The problem I’m having is that I do have the xpm.h file on my machine. However, I can’t get the configure script for ROOT to note the location of this file. Can you give me insructions on what flags I need to set for configure to instruct the script to look for the headers in a non-conventional directory?
I got past the xpm.h error. Now it can’t find libXpm.
In particular, I’m getting this:
scfarm-1 root $ ./configure
Checking for source directory … /home/scratch.sc/jlederman/dev/root
Configuring for linuxx8664gcc
Checking for GNU Make version >= 3.80 … ok
Checking for C compiler … gcc
Checking for C++ compiler … g++
Checking for linker (LD) … g++
Checking for F77 compiler … gfortran
Checking for libX11 … /usr/lib64
Checking for X11/Xlib.h … /usr/include
Checking for X11/xpm.h … /home/scratch.sc/jlederman/dev/libraries/libXpm/include
Checking for X11/Xft/Xft.h … /usr/include
Checking for X11/extensions/shape.h … /usr/include
Checking for libXpm … no
configure: libXpm MUST be installed
See root.cern.ch/drupal/content/build-prerequisites
However, I had modified the configure file to have the line:
Unfortunately I can’t install it via the package manager. I am running it in a workplace and in order to install the files in the appropriate directories I to do that as root. I don’t have root privileges. Do you have any thoughts where I can download the appropriate files and put them in a local directory and then point the ROOT configure script to the appropriate place?
I have had the same problem and found that my X11 headers are in /opt/X11/include. I am using Mac OS x 10.9.1 and i also use XQuartz. I added this to the configure file and it now works, hope this helps.