Message: Re: ../install/bin/geant4.csh ans tcsh Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: ../install/bin/geant4.csh ans tcsh 

Forum: Installation and Configuration
Re: None ../install/bin/geant4.csh ans tcsh (Jean Jacquemier )
Date: 15 Nov, 2012
From: Ben Morgan <Ben Morgan>

Hi Jean,

On Thu, 15 Nov 2012 15:58:00 GMT, Jacquemier Jean wrote:
> As mention in the error message, the (t)csh script generated by cmake
> could not be sourced in another script.
> 
> This is still annoying. If it is possible, I would appreciate an
> improvement in next release
> 
> Best regards, Jean
> 
> ************************************************************
> source  /home/jean/Applications/Geant4/trunk/install/bin/geant4.csh  
> ERROR: geant4.csh could NOT self-locate Geant4 installation
> because it was sourced (i.e. embedded) in another script.
> This issue is specific to (t)csh
> You need to use:
>   cd where_script_is ; source geant4.csh
> or:
>   source where_script_is/geant4.csh where_script_is
> 
> ************************************************************
> 

This is a limitation of the C shell family, and the only workaround is as described in the error message, either cd and source, or supply the location as an argument. I'll make the message a bit clearer on that, but there's little else we can do I'm afraid.

Cheers,

Ben.

 Add Message Add Message
to: "Re: ../install/bin/geant4.csh ans tcsh"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]