[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[McIDAS #NEK-233980]: McIDAS-X MCGUI



Hi Ryan,

re:
> I am recieving the following error when I run mcidasx.  The gui presents
> itself, but it does not pass the configuration menu, starting mcidasx
> crashes.
>
> Some info:  This is a fresh install, no previous versions installed.
> Version is 2009.  Compiler is gcc version 4.1.2 20080704 (Red Hat
> 4.1.2-48).  I checked the makelog and gfortran and gcc were in fact
> being used.
>
> =======================================================
>
> [mcidas@xxxxxx ~]$ Error in startup script: invalid command name
> "fileToList"
>      while executing
> "fileToList $mcrcfile"
>      (procedure "readMcidasrc" line 139)
>      invoked from within
> "readMcidasrc "$home/.mcidasrc""
>      ("0" arm line 2)
>      invoked from within
> "switch $nargs {
>        0 {
>            readMcidasrc "$home/.mcidasrc"
>            startMcidas $optn
>        }
>        1 {
>            if { !([string match "confi..."
>      (file "/home/mcidas/mcidas2009/src/mcidas" line 678)
>

This indicates an incomplete/install and/or incomplete setting
of needed environment variables before running Unidata McIDAS.

re:
> ========================================================
> I noticed in the compile log there were some errors, this is what I
> could find:
>
>
> ./tclcomp ./mccomp -O -I. -I../netcdf/libsrc -I../hdf/hdf/src
> -I../hdf/mfhdf/libsrc -I../jpeg -I../libpng -I../zlib -I../tiff/libtiff
> -I../libgeotiff -I../jasper/src/libjasper/include -I../g2clib -I../bzip2
> -I../tcl -I../tcl/generic -I../tk -I../tk/generic -I../tk/unix -c wishcrex.c
> ./tclcomp: eval: line 52: unexpected EOF while looking for matching `''
> ./tclcomp: eval: line 53: syntax error: unexpected end of file
> mccomp: Using default optimizations
> rm -f wishcrex.o

I have seen this error on Ubuntu Linux systems only.  The "fix" for those
systems was to change the shell used in the tclcomp script:

cd ~mcidas/mcidas2009/src

change:

#!/bin/sh

to:

#!/bin/bash

Please give this a try and restart the build/installation:

make
make install

re:
> Thank you for your help,

No worries.  NB: I am currently out of the office and have limited access to
email, so any follow-up replies from me may be slower than I would like.

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: NEK-233980
Department: Support McIDAS
Priority: Normal
Status: Closed