[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19990121: xildoff problems in building GEMPAK
- Subject: 19990121: xildoff problems in building GEMPAK
- Date: Thu, 21 Jan 1999 15:39:34 -0700
Garry,
The Sparcworks compilers should be in /opt/SUNWSpro/bin,
and this should be in front of any directories in
your path that might have "cc" (such as /bin/cc).
In that directory, you should have "cc" and "f77" if
those compilers are installed on your system.
If you do not have the Sun fortran compiler installed,
you will need that to build the distribution. Most
universities have campus licenses for the compilers.
Without compilers, you will not be able to build the
distribution, and the only solution would be to
obtain a binary distribution from us.
Since your c compiler did not recognize the -xildoff
flag, it is possible that you were not using the correct
C compiler because the SPARCworks directory was not in
your path. The /bin/cc compiler is not an ansi compatible
compiler, and therefore will not work.
Steve Chiswell
Unidata User Support
>From: Gary Howe <address@hidden>
>Organization: .
>Keywords: 199901211944.MAA19307
>thanks fo rhe help your suggestion got me past that problem to another, it
>seems we do not have f77 install or i can not find it.
>
>the error i get is.
>----------------------------------------------------------------------------
>-----------------------------------------
>Making all in /unidata/NAWIPS-5.4/gempak5.4
>-n making in
>/unidata/NAWIPS-5.4/gempak5.4/source
>Making all in /unidata/NAWIPS-5.4/gempak5.4/source/nxmlib
>Making all in /unidata/NAWIPS-5.4/gempak5.4/source/appl
>-n making in
>/unidata/NAWIPS-5.4/gempak5.4/source/appl/access
>f77 -xildoff -O -c gendp.f
>sh: f77: not found
>*** Error code 1
>make: Fatal error: Command failed for target
>`/unidata/NAWIPS-5.4/lib/sol/appl.a(gendp.o)'
>Current working directory /unidata/NAWIPS-5.4/gempak5.4/source/appl/access
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>Current working directory /unidata/NAWIPS-5.4/gempak5.4/source/appl
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>Current working directory /unidata/NAWIPS-5.4/gempak5.4/source
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>Current working directory /unidata/NAWIPS-5.4/gempak5.4
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>
>----------------------------------------------------------------------------
>-----------------------------------------
>
>
>
>At 02:17 PM 1/15/99 -0700, you wrote:
>>>From: GH <address@hidden>
>>>Organization: .
>>>Keywords: 199901152015.NAA24788
>>
>>>I have gotten this error when trying to compile gempak coud you help ?
>>>
>>>
>>>
>>>Making all in /unidata/NAWIPS-5.4/gempak5.4
>>>-n making in
>>>/unidata/NAWIPS-5.4/gempak5.4/source
>>>Making all in /unidata/NAWIPS-5.4/gempak5.4/source/nxmlib
>>>cc -xildoff -O -DUNDERSCORE -DSunOS -c -I/usr/openwin/include
>>>-I/usr/dt/include NuiColorInit.c
>>>cc: Warning: illegal option -xildoff
>>>cc: acomp failed for NuiColorInit.c
>>>*** Error code 1
>>>make: Fatal error: Command failed for target
>>>`/unidata/NAWIPS-5.4/lib/sol/Nxmlib.a(NuiColorInit.o)'
>>>Current working directory /unidata/NAWIPS-5.4/gempak5.4/source/nxmlib
>>>*** Error code 1
>>>make: Fatal error: Command failed for target `all'
>>>Current working directory /unidata/NAWIPS-5.4/gempak5.4/source
>>>*** Error code 1
>>>make: Fatal error: Command failed for target `all'
>>>Current working directory /unidata/NAWIPS-5.4/gempak5.4
>>>*** Error code 1
>>>make: Fatal error: Command failed for target `all'
>>>
>>
>>Your compiler version is very old, and is complaining
>>about the -xildoff flag which is supported with the SC4.x compilers.
>>It is also possible that you are not using the cc compiler found in
>>/opt/SUNWspro/bin (instead you might have /bin/cc or gnu).
>>Ensure you are using SUN's C compiler and make programs by
>>setting your path with /opt/SUNWspro/bin:/usr/ccs/bin in
>>front of any other directories you might have C compilers in.
>>
>>If you are using an outdated SC3.x compiler instead of SC4.x,
>>you will need to edit the $NAWIPS/config/Makeinc.sol configuration file
>>and remove the -xildoff option from the list of flags for COPT, FOPT and
>>LDFLAGS, eg:
>>COPT = -O -DUNDERSCORE -D$(OS)
>>FOPT = -O
>>LDFLAGS =
>>
>>Once you edit out the -xildoff flag, you should be able to resume the
>>make by:
>>cd $NAWIPS
>>make all
>>
>>
>>Steve Chiswell
>>****************************************************************************
>>Unidata User Support UCAR Unidata Program
>>(303)497-8644 P.O. Box 3000
>>address@hidden Boulder, CO 80307
>>----------------------------------------------------------------------------
>>Unidata WWW Service http://www.unidata.ucar.edu/
>>****************************************************************************
>