Re: [ROOT] TGeant3 doesn't compile with new ROOT, Patch attached

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jun 21 2004 - 08:39:44 MEST


Hi Christian,

I do not understand your files!

 -geant3-fix.patch is not related to the CVS version
 -geant3-at.patch does not contain your proposed Makefile

Rene Brun

Christian Holm Christensen wrote:
> 
> Hi all,
> 
> The signatures of some of the member functions in TVirtualMC has changed
> from returning `Bool_t' to `void', causing failure to compile the
> TGeant3.  Here's a patch that fixes the problem.
> 
> The patch is called `geant3-fix.patch'
> 
> In an effort to make various software build nicer, I have done a
> conversion from the hand-crafted build system of TGeant3 to use
> Autotools.  It's still a `flat' Makefile (that is, no nested makes, as
> some find them offensive).  This has several advantages over the
> handcrafted build system:
> 
>       * More robust: Autotools is used by the OpenSource/Free Software
>         community at large, and is therefor extensively tested.
>       * The build sequence is what you expect:
> 
>           ./configure
>           make
>           make install
> 
>       * No need to set various environment variables to get things to
>         work.
>       * Better integration with ROOT.
> 
> I also added the code for the missing VMC examples, as well as a script
> called `geant321-config' (similar to root-config), and a Autoconf macro
> called `AC_PATH_GEANT321' in the file `geant321.m4' to easily use the
> the library in third-party projects.
> 
> The patch is called `geant3-at.patch'
> 
> If you apply the patch, the old build system is still there.  Only you
> have to run make as
> 
>   make -f Makefile.orig 1
> 
> Please refer to the README file.
> 
> Yours,
> 
> --
>  ___  |  Christian Holm Christensen
>   |_| |  -------------------------------------------------------------
>     | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
>      _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
>     _|            Denmark                    Office: (+45) 353  25 404
>  ____|   Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
>  | |
> 
>   --------------------------------------------------------------------------------
>                       Name: geant3-at.patch
>    geant3-at.patch    Type: text/x-patch
>                   Encoding: 7bit
> 
>                        Name: geant3-fix.patch
>    geant3-fix.patch    Type: text/x-patch
>                    Encoding: 7bit



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET