[Sidefx-houdini-list] tcsh: Undefined variable - houdini.setup

Floyd Gillis floyd at afcg.com
Sat Oct 30 01:38:20 EDT 2010

Hi Peter,

It's the -X option, which I ran earlier.  I know the line... it's in 

"test ! -z "$tcsh" && source houdini_setup_csh || .  ./houdini_setup_bash"

That line hasn't changes since at least h9.  I think something has 
changed with the latest debian lenny stable release.

I've changed every one of my "csh script.sh" commands to "tcsh 
script.sh" and changed all my shell headers from "#!/bin/csh -f" to 
"#!/bin/tcsh -f" and things seem to be working again.  Like I said... it 
sort of makes sense, but strange that I have to do it now after all 
these years.

Cheers... and best to your family!


On 30/10/2010 2:00 PM, Peter Bowmar wrote:
> Hey Floyd,
> I don't have Linux in front of me this second, but if you run "tcsh
> -h" or something like that, take a look at the flags to tcsh and one
> of them is a "debug mode" that will echo each line as it executes it.
> This will help track down what line is causing the problem, perhaps
> narrowing it down...
> Cheers,
> Peter B
> On 29 October 2010 21:22, Floyd Gillis<floyd at afcg.com>  wrote:
>> This is probably more of a linux question...
>> Am working (and have always worked) in tcsh.
>> Had to rebuild my linux system yesterday... still tweaking and
>> fine-tuning... but am having a strange problem when I try to source
>> houdini.setup from a shell.  I now get a "tcsh: Undefined variable"
>> error message.  I can source houdini.setup from the command line without
>> any errors.  I'm sure something has changed in linux because even my
>> scripts for houdini 10 now give the same error message.
>> I've always ran my render shells from the command line like so... "csh
>> render.sh"... and this shell would then run other executable shells that
>> sourced houdini.setup without any problem.  All my shells have
>> "#!/bin/csh -f" as their first line.
>> I'm finding limited success when I change the first line of the shells
>> to "#!/bin/tcsh -f" or run shells from the command line with "tcsh
>> render.sh" rather than "csh render.sh"... which kind of makes sense...
>> but again... was never necessary before.
>> Anyone else come across this?
>> h11.0.547
>> KDE: 3.5.10
>> System/Release: Debian Linux 2.6.26-2-amd64
>> Machine: x86_64
>> Thanks,
>> Floyd
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

More information about the Sidefx-houdini-list mailing list