Menu

Configure barfed on line #9

Help
2000-10-12
2000-10-20
  • Kate Schell

    Kate Schell - 2000-10-12

    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

     
    • K.S. Bhaskar

      K.S. Bhaskar - 2000-10-12

      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

       
      • K.S. Bhaskar

        K.S. Bhaskar - 2000-10-20

        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

         

Log in to post a comment.