First off - my UNIX is rusty, so this is probably something I did.
I logged in as root, copied the distribution into /tmp, and edited .bashrc to contain the following:
#gtm_dist variable
gtm_dist=/usr/local/gtm
export gtm_dist
# Add gtm_dist & current directory to PATH
PATH=$PATH:$gtm_dist
PATH=$PATH:./
Then I ran "sh configure"
The following error messages appeared:
:command not found
:no such file or directory
:command not found
:command not found
:configure: Syntax error near unexpected token 'elif'
'onfigure: configure: Line 9 'elif [ $arch = "Linux" ]; then
Can anybody get me back onto the right track? Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The software should be downloaded in toto to a Linux machine and uncompressed and unpacked with something like tar zxvf <filename>. Using Winzip on a Windows PC as an intermediate step to unzip and uncompress can cause problems such as using <CR><LF> as line separators, which shells may not like.
Please do use the Support Forum (and check out Closed requests in case someone has run into the same problem before you).
-- Bhaskar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First off - my UNIX is rusty, so this is probably something I did.
I logged in as root, copied the distribution into /tmp, and edited .bashrc to contain the following:
#gtm_dist variable
gtm_dist=/usr/local/gtm
export gtm_dist
# Add gtm_dist & current directory to PATH
PATH=$PATH:$gtm_dist
PATH=$PATH:./
Then I ran "sh configure"
The following error messages appeared:
:command not found
:no such file or directory
:command not found
:command not found
:configure: Syntax error near unexpected token 'elif'
'onfigure: configure: Line 9 'elif [ $arch = "Linux" ]; then
Can anybody get me back onto the right track? Thanks
I don't see anything funny in configure at that point. A couple of questions:
Which shell were you running (sh / bash should work, csh / tcsh won't)?
Did you run "sh configure" from your current working directory? If so, was there a file called arch.gtc in that directory?
Also, you can post queries like this under "Support" in Source Forge.
-- Bhaskar / 20001012
This is just closure, for the record.
The software should be downloaded in toto to a Linux machine and uncompressed and unpacked with something like tar zxvf <filename>. Using Winzip on a Windows PC as an intermediate step to unzip and uncompress can cause problems such as using <CR><LF> as line separators, which shells may not like.
Please do use the Support Forum (and check out Closed requests in case someone has run into the same problem before you).
-- Bhaskar