[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[McIDAS #LKJ-818624]: trouble building McIDAS 2006 on Solaris 10 x86 with Sun compilers
- Subject: [McIDAS #LKJ-818624]: trouble building McIDAS 2006 on Solaris 10 x86 with Sun compilers
- Date: Tue, 08 Aug 2006 14:05:33 -0600
Hi Robert,
re:
> I have been unable to build McIDAS 2006 on Solaris 10 x86 with the Sun Studio
> 11 compilers.
Oops. I found that I did not correctly update ~mcidas/mcidas2006/src/mccomp.sh
to
change SSEC's default compiler set for Solaris x86 from gcc/g77 to vendor.
This
omission is causing the problem you are seeing.
Here is the change you need to make:
<as 'mcidas'>
cd ~mcidas/mcidas2006/src
-- edit mccomp.sh
change:
SunOS)
uname_p=`uname -p`
case $uname_p in
i386) # i.e. Solaris x86
gcc=true
g77=true
;;
*)
vendor=true
;;
esac
;;
to:
SunOS)
uname_p=`uname -p`
case $uname_p in
i386) # i.e. Solaris x86
vendor=true
# gcc=true ! <<<<< SSEC default changed 20040609 >>>>>
# g77=true ! <<<<< SSEC default changed 20040609 >>>>>
;;
*)
vendor=true
;;
esac
;;
I will update the v2006 distribution with this change next month.
> McIDAS v2005 built and runs
> fine with this combo. I did:
> setenv VENDOR -vendor
> in my .cshrc and then did a make mcx. I have attached my makelog file.
...
> ##########################################
> Tue Aug 8 03:53:11 GMT 2006: BUILD BEGIN
> ##########################################
>
> ./mccomp -O -vendor -I. -I../netcdf/libsrc -I../hdf/hdf/src
> -I../hdf/mfhdf/libsrc -I../jpeg -I../zlib -I../tiff/libtiff -I../libgeotiff
> -c convdlmc.c
> mccomp: Using default optimizations
> rm -f convdlmc.o
> -c -O -I. -I../netcdf/libsrc -I../hdf/hdf/src -I../hdf/mfhdf/libsrc -I../jpeg
> -I../zlib -I../tiff/libtiff -I../libgeotiff -I/usr/dt/include
> -I/usr/openwin/include -I/usr/local/include convdlmc.c
> ./mccomp: -c: not found
> compile convdlmc.c: FAILED
I made the change I indicated above and built -X/-XCD under Sun Studio 11 on
Solaris 10 x86
without error. I have not, however, exercised -XCD built using the Sun Studio
11 compilers.
Just so you know: SSEC does not support Solaris 10 on either SPARC or x86
hardware, and it
does not support use of the Sun compilers on x86.
In practice, the lack of SSEC support should only present problems in the
configuration of
the ADDE remote server, since the setup script mcinet2006.sh does not take into
account Solaris
10 differences. Like for other Solaris versions, mcinet2006.sh will modify
/etc/inetd.conf; the
problem is that Solaris 10 no longer uses /etc/inetd.conf for configuration.
What you will have
to do to use the ADDE remote server under Solaris 10 is use the OS 'inetconv'
utility as 'root'
to convert the McIDAS /etc/inetd.conf entry into the XML file used in Solaris
10,
/var/svc/manifest/network/mcidas-tcp.xml. If your OS is up to date, this should
be sufficient for you to setup the ADDE remote server access (we have this
running on our
GOES-West ADDE ingest/server machine, goeswest.unidata.ucar.edu). NB: We have
seen strange problems
with Solaris 10 installations that are not fully patched or that were "grown"
from beta Solaris 10
installs by patching.
> Thanks very much,
No worries.
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: LKJ-818624
Department: Support McIDAS
Priority: Normal
Status: Closed