Re: [ROOT] .rootrc paths problems

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri May 07 2004 - 15:56:04 MEST


Hi Julien,

 currently the ./.rootrc overrides ~/.rootrc overrides
$ROOTSYS/etc/system.rootrc. So in ./.rootrc you have to specify the
complete path, not just the path you want to add.

Cheers, Fons.



On Fri, 2004-05-07 at 11:54, Julien Bolmont wrote:
> Hello,
> 
> I'm trying to customize my '.rootrc' in a directory where I have 
> several sub-directories:
> 
> dir/.rootrc
> dir/lib/
> dir/test/
> ...
> 
> I d'like to add 'lib/' to the Dynamic Path and 'test/' to the Macro 
> Path.
> 
> So I put
> 
> +Unix.*.Root.DynamicPath:                  lib
> +Unix.*.Root.MacroPath:                    test
> 
> into my '.rootrc' but the concatenation seems to fail.
> 
> I've tried also with
> 
> +Unix.*.Root.DynamicPath:                  :lib
> +Unix.*.Root.MacroPath:                    :test
> 
> but it failed too.
> 
> The failure consists on this on Mac OS X (3.10/02 installed with fink) :
> 
> ibook2 AMSFS> root
> Error in <TUnixSystem::DynamicPathName>: Gpad[.so | .sl | .dl | .a] 
> does not exist in .:/sw/lib/root :lib:/usr/local/lib
> Error in <TUnixSystem::DynamicPathName>: GX11[.so | .sl | .dl | .a] 
> does not exist in .:/sw/lib/root :lib:/usr/local/lib
>    *******************************************
>    *                                         *
>    *        W E L C O M E  to  R O O T       *
>    *                                         *
>    *   Version   3.10/02     26 March 2004   *
>    *                                         *
>    *  You are welcome to visit our Web site  *
>    *          http://root.cern.ch            *
>    *                                         *
>    *******************************************
> 
> Compiled for macosx with thread support.
> 
> CINT/ROOT C/C++ Interpreter version 5.15.115, Dec 9 2003
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> Error in <TUnixSystem::DynamicPathName>: Graf3d[.so | .sl | .dl | .a] 
> does not exist in .:/sw/lib/root :lib:/usr/local/lib
> Error in <TUnixSystem::DynamicPathName>: Tree[.so | .sl | .dl | .a] 
> does not exist in .:/sw/lib/root :lib:/usr/local/lib
> Error in <TUnixSystem::DynamicPathName>: Matrix[.so | .sl | .dl | .a] 
> does not exist in .:/sw/lib/root :lib:/usr/local/lib
> Error in <TUnixSystem::DynamicPathName>: Minuit[.so | .sl | .dl | .a] 
> does not exist in .:/sw/lib/root :lib:/usr/local/lib
> Error in <TUnixSystem::DynamicPathName>: Postscript[.so | .sl | .dl | 
> .a] does not exist in .:/sw/lib/root :lib:/usr/local/lib
> Error in <TUnixSystem::DynamicPathName>: Gpad[.so | .sl | .dl | .a] 
> does not exist in .:/sw/lib/root :lib:/usr/local/lib
> Error in <TUnixSystem::DynamicPathName>: Html[.so | .sl | .dl | .a] 
> does not exist in .:/sw/lib/root :lib:/usr/local/lib
> root [0]
> 
> 
> On Linux there is no error messages but it does not work properly.
> 
> How can I solve this problem ?
> 
> 
> Thanks a lot for your answer !
> 
> Cheers,
> Julien
> 
> 
> 
> 
> ------------------------------------------------------
> Julien Bolmont
> Ingénieur diplômé - doctorant
> Groupe d'Astroparticules de Montpellier
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



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