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

20000802:

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 20000802:
  • Date: Wed, 02 Aug 2000 11:21:48 -0600

>From: mcidas <address@hidden>
>Organization: University of Missouri
>Keywords: 200008021634.e72GYiT27550 McIDAS-X build

Pat,

>Yup.  I tried to abort the message.  But I still have a problem.  We
>are attempting to compile McIDAS and get the following error:

First, I am assuming that you are tyring to build McIDAS-X on a Sun
Solaris 5.7 SPARC system; true?  The reason that I assume this is
that someone there downloaded a binary ldm-mcidas distribution for this
platform.

>##########################################
>Wed Aug  2 12:06:37 CDT 2000: BUILD BEGIN
>##########################################
>
>./mccomp -vendor -I. -I../netcdf/libsrc -c convdlmc.c
>cc -c -I. -I../netcdf/libsrc -I/usr/dt/include -I/usr/openwin/include convdlmc
> .c
>/usr/ucb/cc:  language optional software package not installed
>compile convdlmc.c:             FAILED
>
>I am no expert at this.  Would a copy of the .cshrc help?

The error message spit out by the compilation tells us what is going on:
your PATH has /usr/ucb included before the directory where your Sun
compilers should be installed (/opt/SUNWspro/bin).  In addition, you may
have the CC enviroment variable defined as /usr/ucb/cc.

If you have CC defined as /usr/ucb/cc, you need to change it to be
/opt/SUNWspro/bin/cc (if /opt/SUNWspro/bin is where the Sun C compiler
is to be found).  If your PATH is wrong (i.e., if /usr/ucb is before
/opt/SUNWspro) you need to correct your .cshrc file PATH entry.  After
changing .cshrc, you should:

logoff
log back on as 'mcidas'
cd mcidas7.6/src
make clobber
make all

>Thanks.

Tom

>From address@hidden Wed Aug  2 11:38:42 2000

Tom:

Yes, we are running Solaris 2.7 on the new Sun network.  We have done
as you suggested, and the compile process is currently underway.  We are
breaking for lunch and will check on the status afterwards (1/2 hr - 1 hr).

You were right---we did have /usr/ucb in the wrong spot.

Thanks again.

Pat