Problem compiling ROOT v5-33-02b

From: Chiara Zampolli <Chiara.Zampolli_at_bo.infn.it>
Date: Tue, 15 May 2012 10:25:44 +0200


Dear all,

        I have a problem compiling ROOT v5-33-02b (on a MACOSx, Snow Leopard). Apparently the libtiff.so and libjpeg.so are not there:

==> lib/libMemStat.so done
g++ -dynamiclib -single_module -Wl,-dead_strip_dylibs -install_name @rpath/libASImage.so -O2 -m64 -mmacosx-version-min=10.6 -o lib/libASImage.so graf2d/asimage/src/TASImage.o graf2d/asimage/src/TASPluginGS.o graf2d/asimage/src/G__ASImage.o -ldl -Llib -lGraf -lMathCore lib/libAfterImage.a -L/opt/local/lib -lfreetype -lz -L/usr/X11/lib -lpng -lz -L/usr/X11R6/lib -lXpm -L/usr/X11R6/lib -lXext -lX11 -Llib -lCore -lCint Undefined symbols:
 "_jpeg_read_header", referenced from:

_jpeg2ASImage in libAfterImage.a(import.o)
 "_jpeg_stdio_dest", referenced from:

_ASImage2jpeg in libAfterImage.a(export.o)
 "_jpeg_set_defaults", referenced from:

_ASImage2jpeg in libAfterImage.a(export.o)
 "_jpeg_start_decompress", referenced from:

_jpeg2ASImage in libAfterImage.a(import.o)
 "_jpeg_destroy_decompress", referenced from:

_jpeg2ASImage in libAfterImage.a(import.o)
_jpeg2ASImage in libAfterImage.a(import.o)
 "_jpeg_stdio_src", referenced from:

_jpeg2ASImage in libAfterImage.a(import.o)
 "_jpeg_CreateCompress", referenced from:

_ASImage2jpeg in libAfterImage.a(export.o)
 "_jpeg_abort_decompress", referenced from:

_jpeg2ASImage in libAfterImage.a(import.o)
 "_jpeg_finish_compress", referenced from:

_ASImage2jpeg in libAfterImage.a(export.o)
 "_jpeg_set_quality", referenced from:

_ASImage2jpeg in libAfterImage.a(export.o)
 "_jpeg_finish_decompress", referenced from:

_jpeg2ASImage in libAfterImage.a(import.o)
 "_jpeg_CreateDecompress", referenced from:

_jpeg2ASImage in libAfterImage.a(import.o)
 "_jpeg_read_scanlines", referenced from:

_jpeg2ASImage in libAfterImage.a(import.o)
 "_jpeg_start_compress", referenced from:

_ASImage2jpeg in libAfterImage.a(export.o)
 "_jpeg_destroy_compress", referenced from:

_ASImage2jpeg in libAfterImage.a(export.o)
 "_jpeg_write_scanlines", referenced from:

_ASImage2jpeg in libAfterImage.a(export.o)
_ASImage2jpeg in libAfterImage.a(export.o)
 "_jpeg_std_error", referenced from:

_ASImage2jpeg in libAfterImage.a(export.o)
_jpeg2ASImage in libAfterImage.a(import.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [lib/libASImage.so] Error 1
Chiara_at_pb-d-128-141-34-143~/SOFT/ROOT/v5-33-02b$

and the compilation does not work. In fact, when I configure ROOT with the script attached, I get:

Checking for libjpeg ... no
Checking for libtiff … no

I tried to install them with MacPorts, and it seems it worked:

Chiara_at_pb-d-128-141-34-143~/SOFT/ROOT/v5-33-02b$ port -v installed tiff Warning: port definitions are more than two weeks old, consider using selfupdate The following ports are currently installed:

 tiff @3.9.4_0 platform='darwin 10' archs='x86_64'
 tiff @3.9.5_0 (active) platform='darwin 10' archs='x86_64'
Chiara_at_pb-d-128-141-34-143~/SOFT/ROOT/v5-33-02b$ port -v installed jpeg
Warning: port definitions are more than two weeks old, consider using selfupdate The following ports are currently installed:
 jpeg @8b_0 platform='darwin 10' archs='x86_64'
 jpeg @8c_0 (active) platform='darwin 10' archs='x86_64'
Chiara_at_pb-d-128-141-34-143~/SOFT/ROOT/v5-33-02b$

but the configuration of root does not see libjpeg and libtiff yet. Any suggestion about what I could do? Should I use Fink?

Thanks, and Regards,

        Chiara

Received on Tue May 15 2012 - 10:25:57 CEST

This archive was generated by hypermail 2.2.0 : Tue May 15 2012 - 17:50:01 CEST