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

[McIDAS #OOQ-958289]: McIDAS 2007 on OS X install



Hi again Tom,

Well this is a quick follow-up!

I SSHed to buran and started poking around.  Here is what I found:

1) for some reason the files that were supposed to be unpacked into
   ~mcidas/admin were mostly not there.  The net affect of this is that the
   construct in ~mcidas/.bash_profile:

if [ -e $HOME/admin/mcidas_env.sh ]; then
  . $HOME/admin/mcidas_env.sh
fi

   would not result in the settings in mcidas_env.sh being read in since
   the file did not exist.

   To correct this problem, I re-unpacked the McIDAS v2007 distribution:

   <as 'mcidas'>
   cd ~mcidas
   ./mcunpack.sh
   . .bash_profile

   After doing this the environment variables needed for a build were
   defined.

2) I then tried to re-build the McIDAS distribution:

   <still as 'mcidas' and after 'sourcing' .bash_profile>
   cd ~mcidas/mcidas2007/src
   make clobber
   make all

   This failed with:

##########################################
Mon Oct  8 16:24:48 EDT 2007: BUILD BEGIN
##########################################

compile convdlmc.c:             done
compile convdlmf.f:             FAILED (See 
'/Users/mcidas/mcidas2007/src/makelog' for details.)

   A quick look at the end of ~mcidas/mcidas2007/src/makelog shows the reason 
for the
   failure:

g77 -c -O -Wuninitialized -fno-automatic -ff90-intrinsics-hide -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 convdlmf.f
./mccomp: line 1: g77: command not found
compile convdlmf.f:             FAILED

   So, your Fink update of the development environment evidently removed the 
Fortran compiler,
   g77.  I looked around to see if it was somewhere else, but I could not find 
it.  I did,
   however, find gfortran in /sw/bin.

3) I modified PATH in ~mcidas/.bash_profile to include /sw/bin so that gfortran 
could
   be found and used and changed the definition of VENDOR from -g77 to 
-gfortran.
   I then 'sourced' .bash_profile and started the build again:

   <as 'mcidas'>
   cd ~mcidas
   -- modify ~mcidas/.bash_profile
   . .bash_profile

   cd ~mcidas/mcidas2007/src
   make clobber
   make all

   The build appears to be proceeding nicely as I write this note.

I will write again once the rebuild has finished.

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