Re: ROOT, autoconf, libtool, automake

From: Jens Ritter (jens@weh.rwth-aachen.de)
Date: Tue Aug 11 1998 - 19:45:39 MEST


Dave Morrison <dave@bnl.gov> writes:

> I've taken a crack at getting ROOT 2.00/10 to build using the usual
> GNU set of configuration tools - autoconf, libtool, and automake.
> This was a fair chunk of cut and paste work with the new ROOT
> makefiles augmented by some new Makefile templates and an autoconf
> configuration script.  Even though the point of using these tools is
> to handle differences between platforms transparently, some more
> work is needed in the Makefile templates before this really becomes
> true.  For now, things build smoothly for me on Intel/Linux - your
> mileage may vary.

Hallo Dave,

I downloaded the root 2.10 source tree from the location you have
given and tried to configure and make it on my system.

I had a minor problem with HAVE_ANSIDECL_H in mmconfig.h. I solved
this by: 

 * adding #include <../config.h> to mmconfig.h
 * adding AC_CHECK_HEADERS(ansidecl.h) to configure.in and
 * adding two new files: acconfig.h and config.h.in (see bottom).

A greater problem is, that AC_PATH_OPENGL does not try to find MesaGL.
So the compile stops with ld not finding -lGL here (no opengl on my
system). Did you write the AC_PATH_OPENGL macro yourself? Is it
generated from some program? Got from elsewhere?

What do you think about having an "install_tutorial" target?
 
TIA,

Jens
Attachments:

-acconfig.h---------------------------------
/* Define to the name of the distribution.  */
#undef PACKAGE

/* Define to the version of the distribution.  */
#undef VERSION
---------------------------------------------

-config.h.in---------------------------------
/* config.h.in.  Generated automatically from configure.in by autoheader.  */

/* Define if the X Window System is missing or not being used.  */
#undef X_DISPLAY_MISSING

/* Define to the name of the distribution.  */
#undef PACKAGE

/* Define to the version of the distribution.  */
#undef VERSION

/* Define if you have the <ansidecl.h> header file.  */
#undef HAVE_ANSIDECL_H
--------------------------------------------
---
Jens.Ritter@weh.rwth-aachen.de       grimaldi@debian.org
KeyID: 2048/E451C639 1998/01/28
Print: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37
      Hiermit untersage ich die Nutzung und Uebermittlung meiner Daten zu
      Werbezwecken oder fuer die Markt- bzw. Meinungsforschung gemaess
      Par. 28 Abs. 3 Bundesdatenschutzgesetz.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET