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

[McIDAS #MET-935016]: McIDAS - Cannot get mcunpack to execute -- keep getting message to define McINST_ROOT



Hi Alan,

Given that you now have gcc installed, it would be quicker if I could login
to your machine as the user 'mcidas' and snoop around to see what is causing
your build problems.  Can you give me login (SSH) access to your machine?

I believe I told you previously that I run Fedora Core 4 on my machine at
home so I can do development at home, and I do not have any of the
problems you are seeing.

Aside: I just upgraded to FC5 at home, and did find a bug in the 'configure'
script for both the Tcl and Tk packages bundled with McIDAS.  This was an
interesting situation since the bug has been in the script for many releases
of Tcl/Tk, and it has not caused any problems in McIDAS builds on a wide
variety of Operating Systems -- until FC5!


> After your last email, I double checked the if-then statements in
> the .bashrc file.  Being new to linux and shell types, I had entered the
> code as it was given on the instruction sheet.  That is, although I was
> running a bash shell, I had specified $HOME/admin/mcidas_env.csh rather
> than /mcidas_env.sh.  I changed this and one other error in that
> conditional statement and it seems the environment variables are being
> set properly.  The output from the env command when logged in as
> <mcidas> user is as follows:
> 
> address@hidden ~]$ env
> SSH_AGENT_PID=2801
> HOSTNAME=Constellation
> DESKTOP_STARTUP_ID=
> SHELL=/bin/bash
> TERM=xterm
> HISTSIZE=1000
> CPPFLAGS=-DNDEBUG -Df2cFortran
> MCHOME=/home/mcidas
> GTK_RC_FILES=/etc/gtk/gtkrc:/home/mcidas/.gtkrc-1.2-gnome2
> WINDOWID=41943140
> MCCOMPRESS=GZIP
> USER=mcidas
> LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
> GNOME_KEYRING_SOCKET=/tmp/keyring-FdOaDK/socket
> SSH_AUTH_SOCK=/tmp/ssh-hTOYUT2756/agent.2756
> KDEDIR=/usr
> SESSION_MANAGER=local/Constellation:/tmp/.ICE-unix/2756
> McINST_ROOT=/home/mcidas
> MCTABLE_WRITE=/home/mcidas/data/ADDESITE.TXT
> MAIL=/var/spool/mail/mcidas
> DESKTOP_SESSION=default
> PATH=/home/mcidas/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
> GDM_XSERVER_LOCATION=local
> F90=
> INPUTRC=/etc/inputrc
> PWD=/home/mcidas
> LANG=en_US.UTF-8
> GDMSESSION=default
> CXX=
> SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
> MCDATA=/home/mcidas/workdata
> HOME=/home/mcidas
> SHLVL=2
> MCTABLE_READ=/home/mcidas/workdata/MCTABLE.TXT;/home/mcidas/data/ADDESITE.TXT
> GNOME_DESKTOP_SESSION_ID=Default
> CFLAGS=-O
> FC=g77
> VENDOR=-g77
> LOGNAME=mcidas
> XCD_disp_file=/home/mcidas/workdata/DECOSTAT.DAT
> MCGUI=/home/mcidas/bin
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Hd6xFVPUOr,guid=9edf2844c09137d629344a422306a000
> LESSOPEN=|/usr/bin/lesspipe.sh %s
> MCPATH=/home/mcidas/workdata:/home/mcidas/data:/home/mcidas/help
> CC=gcc
> DISPLAY=:0.0
> G_BROKEN_FILENAMES=1
> COLORTERM=gnome-terminal
> FFLAGS=-O -Wuninitialized -fno-automatic -ff90-intrinsics-hide
> XAUTHORITY=/home/mcidas/.Xauthority
> _=/usr/bin/env
> address@hidden ~]$
> 
> 
> It seems like the CXX and F90 variables are empty strings.  I ran make
> clobber and then make all.  Still getting the error pertaining to
> the /hdf directory.  The last few lines/messages from the terminal are:
> 
> 
> 
> if [ `uname -s` = "SunOS" ]; then               \
> 
> PATH=/usr/xpg4/bin:/home/mcidas/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
>                \
> export PATH                             \
> ; fi                                            \
> ; cd ../hdf && LDFLAGS=-lm && export LDFLAGS && \
> ../src/./mclog sh ./configure --prefix=/home/mcidas\
> --with-jpeg=`pwd`/../jpeg,`pwd`/../jpeg\
> --with-zlib=`pwd`/../zlib,`pwd`/../zlib\
> --disable-fortran
> configure       /home/mcidas/mcidas2005/hdf:    FAILED (See
> '/home/mcidas/mcidas2005/hdf/../src/makelog' for details.)
> 
> make: *** [../hdf/config.status] Error 1
> 
> Should I still give it a try to set the variables you mentioned from the
> terminal and then see what I find?
> 
> I will append both the makelog.txt and the config.log files.  Like you
> said, I believe we are getting close--can't be too much more in the way!
> I do thank you for your help and patience!  Ever considered becoming a
> counselor?
> 
> Thanks,...Alan

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: MET-935016
Department: Support McIDAS
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.