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

[McIDAS #JRK-547142]: install mcidas2009 in a SUN Solaris10x86_64 machine



Hi Hsie,

re:
> I have trouble compile mcidas2009 on a SUN Solaris x86_64 machine
> (stratus.al.noaa.gov).  Attached is the makelog file.  Could you please
> take a look at the make output and give me some instructions.

 ...
> ./mccomp -O -vendor -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 -c convdlmc.c
> mccomp: Using default optimizations
> rm -f convdlmc.o
> -c -O0 -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/usr/dt/include 
> -I/usr/openwin/include -I/usr/local/include convdlmc.c
> ./mccomp: -c: not found
> compile       convdlmc.c:             FAILED

When I logged onto stratus to investigate the cause of the compilation
failure, I found that your Fortran compiler does not like the '-xarch='
flag.  I changed the setting in ~mcidas/.cshrc to:

setenv MySQL_ROOT /usr/local/mysql
#setenv XARCH      "-xarch=m64 -U__x86_64__"
setenv XARCH      "-m64 -U__x86_64__"

to follow guidelines I read in the man page for f95 (f77 actually runs
f95 with some flags set).  I then logged off and logged back on to force
the revised settings to become active.  I found that I had to 'clobber'
the previous attempt at the build since the C source code had been
compiled in 32-bit mode (related to the '-xargs=' setting in ~mcidas/.cshrc).

As I write this note, the compilation is proceeding: the error seen
when trying to build 'convdlm' is gone.  I will leave the build running
to see if any new errors arise.

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: JRK-547142
Department: Support McIDAS
Priority: Normal
Status: Open


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.