Failing to build 5.26.00 with builtin AfterImage

When trying to build with ./configure [other config options] --enable-asimage --enable-builtin-afterimage, and I getting:

*** Building libAfterImage ... make[1]: Entering directory `/home/cern/root_v5.26.00_larsoft/root/graf2d/asimage/src/libAfterImage' make[1]: *** No rule to make target `libungif/dgif_lib.o', needed by `libAfterImage.a'. Stop. make[1]: Leaving directory `/home/cern/root_v5.26.00_larsoft/root/graf2d/asimage/src/libAfterImage' make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2

Using svn 32542 (which I believe is the 5.26.00 tagged revision).

I built successfully without asimage and libAfterImage, but I am not the administrator on this machine and cannot trivially get a system version of AfterImage installed.

The builtin libAfterimage is the default. Can you just try:

./configure
make

it will also use builtin libgif.

Cheers, Fons.

Trying without explicitly asking for the builtin afterimage

$ make clean
....
$ ./configure \
        --enable-gdml \
        --enable-g4root \
        --with-g4-incdir=$HOME/geant4.9.3/include \
        --with-g4-libdir=$HOME/geant4.9.3/lib \
        --with-clhep-incdir=$HOME/CLHEP/2.0.4.3/include \
        --build=debug \
        --disable-xrootd \
        --enable-minuit2 \
        --disable-xft \
        --with-pythia6-libdir=$HOME/pythia6/v6_422/lib \
        --enable-pgsql \
        --enable-mathmore \
        --enable-python \
        --enable-xml \
        --with-xml-incdir=/usr/include/libxml2/libxml \
        --with-xml-libdir=/usr/lib \
        --enable-asimage \
...
$ make
...
==> lib/libMemStatGui.so done
*** Building libAfterImage ...
make[1]: Entering directory `/home/cern/root_v5.26.00_larsoft/root/graf2d/asimage/src/libAfterImage'
make[1]: *** No rule to make target `libungif/dgif_lib.o', needed by `libAfterImage.a'.  Stop.
make[1]: Leaving directory `/home/cern/root_v5.26.00_larsoft/root/graf2d/asimage/src/libAfterImage'
make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx

And likewise if I remove the explicit reference to enable-asimage, and if I remove build=debug.

Hi,

Which platform are you running on?

Philippe.

Short summary:

$ uname -a
Linux hep1 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 14:59:21 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
$ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
$ g++ --version
g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
$ gfortran --version
GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
$ make --version
GNU Make 3.81

Interesting looking bits from the output of ./configure

INFO: --enable-asimage: already enabled by default.
INFO: --enable-builtin-afterimage: already enabled by default.
Checking for GNU Make version >= 3.79.1 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... gfortran
...
Checking for jpeglib.h ... /usr/include
Checking for png.h ... /usr/include
Checking for tiffio.h ... /usr/include
Checking for gif_lib.h ... no
Checking for libjpeg ... /usr/lib64
Checking for libtiff ... /usr/lib64
Checking for libungif ... no
Checking for libz ... /usr/lib64
Checking for libpng ... /usr/lib64
Checking whether to build included libAfterImage ... yes
...
Enabled support for asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_freetype, builtin_glew, builtin_pcr
e, builtin_zlib, cint5, cintex, editline, exceptions, fftw3, gdml, genvector, ldap, mathmore, memstat, minuit2, my
sql, opengl, pythia6, python, reflex, shadowpw, shared, ssl, tmva, xml.

I would, of course, be satisfied to be pointed at a SVN revision that might build, but I’m told that I need at least 5.26.00 for the analysis sotware I’m trying to build.

Hi,

[quote]Using svn 32542 (which I believe is the 5.26.00 tagged revision). [/quote]What lead you to this conclusion?

[quote]but I’m told that I need at least 5.26.00 for the analysis sotware I’m trying to build.[/quote]If they really mean ‘at least’, then you could try the trunk. If you need something ‘like’ 5.26/00 I would recommend that the
lastest patch release of 5.26.00 (root.cern.ch/svn/root/branches/v5-26-00-patches/).

Cheers,
Philippe.

Resolved.

Not a root issue at all.

The analysis package I was trying to build users FNAL’s SRT which sets the MAKEFILE environment variable. Grrrr…

My apologies for taking up your time.