I am having a problem compiling the head version of root.
*** Building libAfterImage ...
make: *** No rule to make target `libjpeg/jdphuff.o', needed by `libAfterImage.a'. Stop.
make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2
When root was fine with version 5.27 when built from source.
my machine is:
Darwin BrynMBP.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
does any one have any ideas?
does “make distclean-asimage; make” help?
Rather than make a new post and cluttering the board i will post this here.
After installing root from source with the options:
[bryn@BrynMBP:/opt/root]$ root-config --config
--prefix=/opt/local --with-python-incdir=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 --with-python-libdir=/opt/local/lib --with-gsl-incdir=/opt/local/include/gsl --with-gsl-libdir=/opt/local/lib --enable-mathmore --enable-python --enable-soversion --enable-genvector --enable-roofit
and python at:
[bryn@BrynMBP:/opt/root]$ which python
I can no longer use PyROOT i get the message:
Python 2.6.5 (r265:79063, Jun 21 2010, 10:39:04)
[GCC 4.2.1 (Apple Inc. build 5659)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named ROOT
However this set up worked perfectly with Root 5.27.
did you add the location of ROOT.py (typically $ROOTSYS/lib) to the PYTHONPATH envar?
Turns out that I made a mistake in my config:
then everything works fine.