View Full Version : syntax error in maya6.5.bin


Krimble2000
03 March 2005, 12:21 PM
Hello,
I'm just starting with Linux Redhat 9.0, I,ve installed maya6.5 but when I want to run the maya6.5.bin from the commmand shell I get this message:

Maya6.5: line 23: syntax error near unexpected token `"$OSname"'
Maya6.5: line 23: `switch ("$OSname") '

Can anybody help me with this problem?

This is the script:

#!/bin/csh -f
#Tag 0x00C98a00
#*
#*+***********************************************************************
#*
#* Module:
#* maya
#*
#*-***********************************************************************
#*

set maya_exec = maya.bin


#
# Determine if launched from the desktop or a shell. This will tell
# us how to display error messages later.
#

set tty = 1

set $OSname = `/bin/uname -s`
switch ("$OSname")
case Linux:
set lib = lib
set lsFlags = '-l'
breaksw

case IRIX*:
set lib = lib32
set libn32 = 1
set lsFlags = '-Hl'
if ( -x /bin/tty ) then
if ( "`tty`" !~ /dev/* ) then
set tty = 0
endif
endif

set OSversion = `/bin/uname -r`
switch ( "$OSversion")
case 5.3:
case 6.[234]:
set errMsg = "This version of Maya will not run on Irix

shehbahn
03 March 2005, 06:47 PM
your file is incomplete is why... try finding it on the install CD or contact AW support and ask them to mail you the file.

CGTalk Moderation
03 March 2005, 06:47 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.


1