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

19990325: McIDAS 7.5 Build Attempt (error)



>From: jannis <address@hidden>
>Organization: UCSD
>Keywords: 199903260203.TAA10824 McIDAS-X 7.50

Jeff,

>I am trying to install McIDAS on and SGI with IRIX 6.5.2 and am having trouble
>with the paths I think.
>
>I am to the point of "make mcx" and am getting the following message when I
>type this command:
>
>
>jedac 7% pwd
>/disk4/usr2/mcidas/mcidas7.5/src
>jedac 8% make mcx
>0: Event not found
>Couldn't find 'echo' command
>*** Error code 1 (bu21)
>jedac 9% 

The '0: Event not found' message almost looks like an X window DISPLAY
setup problem.

I really don't understand the 'Couldn't find 'echo' command' message.  On
our IRIX 6.5 systems, a 'which echo' gives '/usr/bin/echo'.

>I have attached copies of the .cshrc and .mcenv files;
>Also, here is the output from setenv:
>
>jedac 9% setenv
>HOME=/disk4/usr2/mcidas
>PATH=/usr/freeware/bin/:.:/disk4/usr2/mcidas/bin:/bin:/etc:/usr/bsd:/usr/bin:/
> us
>r/bin/X11:/usr/sbin:/usr/etc:/usr/lib:/usr/local/bin:/usr/demos/bin
>LOGNAME=mcidas
>HZ=100
>TZ=PST8PDT
>TERM=dtterm
>USER=mcidas
>LANG=C
>SHELL=/bin/csh
>REMOTEHOST=cyberia.ucsd.edu
>REMOTEUSER=UNKNOWN
>MAIL=/usr/mail/mcidas
>DISPLAY=cyberia:0.0
>PWD=/disk4/usr2/mcidas/mcidas7.5/src
>MSGVERB=text:action
>NOMSGLABEL=1
>NOMSGSEVERITY=1
>McINST_ROOT=/disk4/usr2/mcidas
>jedac 10% 
>
>
>** Another ODD thing is that when I login as mcidas, I get the following 
>message:
>
>0: Event not found
>
>The .cshrc is generating this I assume, and might help point to our problem.

This is the same message as above.  What happens when you 'source .cshrc'?

>Any suggestions as to what might be wrong?

I suspect that something is amiss in your .cshrc file, but what it could be
is not jumping to mind right now.  What is in /usr/freeware/bin?  What
happens if you remove this from your PATH?

By the way, I would set 'umask 002' in your .cshrc file like you did in
.mcenv.

># cshrc for:  Jeffrey L. Annis
>#
>
># list directories in columns
>alias ls 'ls -C'
>
># Remember last 100 commands
>set history = 100
>
>#setenv GRIB_ENV /usr/local/grib_v3.0
>set path = (. $HOME/bin /bin /etc /usr/bsd /usr/bin /usr/bin/X11 /usr/sbin /us
> r/etc /usr/lib /usr/local/bin /usr/demos/bin)
>
># For interactive shells, set the prompt to show the host name and event numbe
> r.
>if ( (! $?ENVONLY) && $?prompt ) then
>       if ( -o /bin/su ) then
>               set prompt="`hostname -s` \!# "
>       else
>               set prompt="`hostname -s` \!% "
>       endif
>
>setenv PATH /usr/freeware/bin/:$PATH
>
>alias cd3        'cd /disk3/'
>alias cd4        'cd /disk4/'
>alias cd         'cd \!*; echo $cwd; ls'
>alias du         'du -s * | sort -r -n'
>alias h          'history | more -cl'
>alias la         'ls -ax'
>alias ll         'ls -l'
>alias lo         'logout'
>alias ls         'ls -CF'
>alias lplog      'tail /usr/spool/lp/log'
>alias psme       'ps -f -u jannis'
>alias surf       'finger -l address@hidden'
>alias .          'echo $cwd'
>alias ..         'set dot=$cwd; cd ..;'
>alias xx         'xpsview \!* &'
>alias c          'clear'
>alias rm         'rm -i'
>alias lpc       'lp -d jedatek350'
>alias wlog      'jot /var/netscape/fasttrack/httpd-jedac/logs/access'
>alias ps2gif     '/usr/people/jannis/mybin/pstogif'
>alias ff         'find . -name \!* -print'
>alias nn        'nedit \!* &'
>alias cdw       'cd /var/www/htdocs'
>alias df        'df -k'
>
>endif

Outside of not knowing what is in /usr/freeware/bin and not having 'umask 002'
set, this looks reasonable.

>umask 002
>setenv McINST_ROOT /disk4/usr2/mcidas
>if (!${?MCPATH}) then 
>  setenv MCDATA /disk4/usr2/mcidas/workdata
>  setenv MCPATH ${MCDATA}:/disk4/usr2/mcidas/data:/disk4/usr2/mcidas/help
>  setenv MCGUI /disk4/usr2/mcidas/bin
>  setenv MCTABLE_READ "${MCDATA}/MCTABLE.TXT;/disk4/usr2/mcidas/data/ADDESITE.
> TXT"
>  setenv MCTABLE_WRITE "/disk4/usr2/mcidas/data/ADDESITE.TXT"
>  setenv XCD_disp_file $MCDATA/DECOSTAT.DAT
>endif
>setenv PATH ${MCGUI}:$PATH

Not that this would cause the problem you are reporting, but the settings
for MCTABLE_READ and MCTABLE_WRITE in .mcenv below are incorrect:

>umask 002
>MCDATA=/disk4/usr2/mcidas/workdata
>MCPATH=${MCDATA}:/disk4/usr2/mcidas/data:/disk4/usr2/mcidas/help
>MCGUI=/disk4/usr2/mcidas/bin
>MCTABLE_READ="/disk4/usr2/mcidas/data/MCTABLE.TXT"
>MCTABLE_WRITE="/disk4/usr2/mcidas/data/MCTABLE.TXT"
>PATH=${MCGUI}:
>export MCDATA MCPATH MCGUI MCTABLE_READ MCTABLE_WRITE PATH
>cd $MCDATA

They should be:

MCTABLE_READ="/disk4/usr2/mcidas/mcidas/data/MCTABLE.TXT"
MCTABLE_WRITE="/disk4/usr2/mcidas/mcidas/data/MCTABLE.TXT"

I am assuming here that the home directory for 'mcida' is /disk4/usr2/mcidas.

Would it be possible to get the 'mcidas' logon to your machine so I could
poke around at your problem?  Just looking at the output for .cshrc and
.mcenv is not causing anything to jump to mind.

Tom