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

20000502: RE Re: 20000501: Motif headers for SGI



Ning,

You are almost done.
The NetCDF library is required if you want to build the dcncprof and
dcacars decoders for profiler and ACARS data provided in NetCDF format
by FSL. This data is provided via the IDD with the
feed types FSL2 and PCWS respectively. The PCWS feed is sent from FSL directly, 
while the
FSL2 feed can be obtained from your current upstream host.

If you Have the NetCDF library installed (available from 
ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf.tar.Z) then
just define the NETCDFINC and NETCDF variables in the section you show below
to point to the directory that contains the netcdf.h include file and
the path to the libnetcdf.a file respectively.

If you don't want to build those decoders now, just edit the Makefile:
$NAWIPS/unidata/ldmbridge/Makefile 
and remove those decoders from the DECODERS definition.
Eg, change:
DECODERS = dcgrib dcsynop dctrop dcwatch dcnldn dcstorm \
        dcncprof dcacars
to

DECODERS = dcgrib dcsynop dctrop dcwatch dcnldn dcstorm

(remove the continuation character \ at the end of the first line
and delete the next line "        dcncprof dcacars".

You should be able to complete the build, and then "make install".
Later, if you decide to build the decoders, you can just cd to the 
appropriate directories and run "make all" and "make install" to
add those decoders to your executable directory.

Steve Chiswell
Unidata User Support




>From: "Ning" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200005030158.e431wkG20101

>Hi
> Thanks!  The sys. admin in McGill installed the Motif, so now I can get
>through that part.
> I still got error message although I commented out all lines associated
>with netcdf in  the
>Makeinc.common. They look like these:
>
>#  NETCDF Section
>#
>WANTCDF = NO
>#  UNCOMMENT the following line if you to read NetCDF files
># WANTCDF = YES
>#
>#
>#  NetCDF Stubs You must have NetCDF and UdUnits installed on your
>#  system if you define WANTCDF=YES. Set appropriate Library and
>#  include directories in the next 4 lines
>#NETCDFINC       = /upc/netcdf/include
>#UDUNITSINC     = /upc/udunits/include
>#NETCDF          = /upc/netcdf/lib/libnetcdf.a
>#UDUNITS         = /upc/udunits/lib/libudunits.a
>#
>#NETCDF_NC       = $(NAWIPS)/unidata/lib/$(NA_OS)/nnet.a
>#NETCDF_GNET     = $(NAWIPS)/unidata/lib/$(NA_OS)/gnet.a
>#NETCDF_GEM      = $(NAWIPS)/unidata/lib/$(NA_OS)/gemcdf.a
>#NETCDFLIBS      = $(NETCDF_GNET) $(NETCDF_NC) $(UDUNITS) $(NETCDF)
>#
>#  END NetCDF stubs
>
>----------------------
>The error message :
>-------------------
>making in /usr/people/gempak/nawips-5.4/unidata/ldmbridge
>making in /usr/people/gempak/nawips-5.4/unidata/ldmbridge/dcgrib
>making in /usr/people/gempak/nawips-5.4/unidata/ldmbridge/dcsynop
>making in /usr/people/gempak/nawips-5.4/unidata/ldmbridge/dctrop
>making in /usr/people/gempak/nawips-5.4/unidata/ldmbridge/dcwatch
>making in /usr/people/gempak/nawips-5.4/unidata/ldmbridge/dcnldn
>        cd newsource; echo "making programs in newsource";\
>        make -f make.progs   all
>making programs in newsource
>making in /usr/people/gempak/nawips-5.4/unidata/ldmbridge/dcstorm
>making in /usr/people/gempak/nawips-5.4/unidata/ldmbridge/dcncprof
>        cc  -DUNDERSCORE -DIRIX -O    -c -I -DGEMPAK -D__STDC__
>decode_ncprof.c
>cfe: Error: decode_ncprof.c: 1: Cannot open file stdio.h for #include
>cfe: Error: decode_ncprof.c: 2: Cannot open file string.h for #include
>cfe: Error: decode_ncprof.c: 3: Cannot open file netcdf.h for #include
>cfe: Error: ./ulog.h: 9: Cannot open file syslog.h for #include
>*** Error code 1 (bu21)
>*** Error code 1 (bu21)
>*** Error code 1 (bu21)
>*** Error code 1 (bu21)
>
>Any suggestion ? Thanks!
>
>---Ning
>
>----- Original Message -----
>From: Unidata Support <address@hidden>
>To: Ning <address@hidden>
>Cc: <address@hidden>; <address@hidden>
>Sent: Tuesday, May 02, 2000 11:36 AM
>Subject: 20000501: Motif headers for SGI
>
>
>>
>> Ning,
>>
>> This error message:
>> cfe: Error: ./Nxmlib.h: 20: Cannot open file Xm/Xm.h for #include
>>
>> says that your operating system installation does not have the motif
>developers
>> option installed:
>> % showfiles | grep Xm.h
>>    f 26754 45350 motif_dev.sw.dev        usr/Motif-1.2/include/Xm/Xm.h
>>
>> When you install the motif_dev.sw.dev toolkit, you will have all the Motif
>headers
>> in the /usr/include/Xm directory on your system (/usr/include/Xm should be
>a link
>> to the /usr/Motif-1.2/include/Xm directory).
>>
>> Steve Chiswell
>> Unidata User Support
>>
>>
>>
>>
>> >From: "Ning" <address@hidden>
>> >Organization: UCAR/Unidata
>> >Keywords: 200005020022.e420M9G00385
>>
>> >This is a multi-part message in MIME format.
>> >
>> >------=_NextPart_000_000E_01BFB3B2.98F35E20
>> >Content-Type: text/plain;
>> > charset="iso-8859-1"
>> >Content-Transfer-Encoding: quoted-printable
>> >
>> >Hi
>> >
>> >This is Ning Bao. I'm helping  Dr. Gyakum (McGill University , Canada) =
>> >to install the gmpak.5.4 on his new=20
>> >SGI computer (IRIX Release 6.2 IP22)
>> >
>> > I download the gempak54upc_pl16.tar.Z  and followed  the instruction by
>=
>> >the unidata online note.=20
>> > I got the following error message after I started the make all >& =
>> >make.out &
>> >
>> >Making all in /usr/people/gempak/nawips-5.4/gempak5.4
>> >making in /usr/people/gempak/nawips-5.4/gempak5.4/source
>> >Making all in /usr/people/gempak/nawips-5.4/gempak5.4/source/nxmlib
>> >        cc  -DUNDERSCORE -DIRIX -O     -c NuiColorInit.c
>> >cfe: Error: ./Nxmlib.h: 20: Cannot open file Xm/Xm.h for #include
>> >*** Error code 1 (bu21)
>> >*** Error code 1 (bu21)
>> >*** Error code 1 (bu21)
>> >*** Error code 1 (bu21)  =20
>> >
>> >Any suggestion ? Thanks=20
>> >
>> >----Ning
>> >
>> >=20
>> >
>> >------=_NextPart_000_000E_01BFB3B2.98F35E20
>> >Content-Type: text/html;
>> > charset="iso-8859-1"
>> >Content-Transfer-Encoding: quoted-printable
>> >
>> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> ><HTML><HEAD>
>> ><META content=3D"text/html; charset=3Diso-8859-1" =
>> >http-equiv=3DContent-Type>
>> ><META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
>> ><STYLE></STYLE>
>> ></HEAD>
>> ><BODY bgColor=3D#ffffff>
>> ><DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV>
>> ><DIV>&nbsp;</DIV>
>> ><DIV><FONT face=3DArial size=3D2>This is Ning Bao. I'm helping  Dr. =
>> >Gyakum (McGill=20
>> >University , Canada) to install the gmpak.5.4 on his new </FONT></DIV>
>> ><DIV><FONT face=3DArial size=3D2>SGI computer (IRIX Release 6.2 =
>> >IP22)</FONT></DIV>
>> ><DIV>&nbsp;</DIV>
>> ><DIV><FONT face=3DArial size=3D2>&nbsp;I download the =
>> >gempak54upc_pl16.tar.Z&nbsp;=20
>> >and followed&nbsp; the instruction by the unidata online note. =
>> ></FONT></DIV>
>> ><DIV><FONT face=3DArial size=3D2>&nbsp;I got the following error message
>=
>> >after I=20
>> >started the make all &gt;&amp; make.out &amp;</FONT></DIV>
>> ><DIV>&nbsp;</DIV>
>> ><DIV><FONT face=3DArial size=3D2>Making all in=20
>> >/usr/people/gempak/nawips-5.4/gempak5.4<BR>making in=20
>> >/usr/people/gempak/nawips-5.4/gempak5.4/source<BR>Making all in=20
>>
>>/usr/people/gempak/nawips-5.4/gempak5.4/source/nxmlib<BR>&nbsp;&nbsp;&nbs=
>> >p;&nbsp;&nbsp;&nbsp;&nbsp;=20
>> >cc&nbsp; -DUNDERSCORE -DIRIX -O&nbsp;&nbsp;&nbsp;&nbsp; -c=20
>> >NuiColorInit.c<BR>cfe: Error: ./Nxmlib.h: 20: Cannot open file Xm/Xm.h =
>> >for=20
>> >#include<BR>*** Error code 1 (bu21)<BR>*** Error code 1 (bu21)<BR>*** =
>> >Error code=20
>> >1 (bu21)<BR>*** Error code 1 (bu21)&nbsp;&nbsp; </FONT></DIV>
>> ><DIV>&nbsp;</DIV>
>> ><DIV><FONT face=3DArial size=3D2>Any suggestion ? Thanks </FONT></DIV>
>> ><DIV>&nbsp;</DIV>
>> ><DIV><FONT face=3DArial size=3D2>----Ning</FONT></DIV>
>> ><DIV>&nbsp;</DIV>
>> ><DIV><FONT face=3DArial size=3D2>&nbsp;</FONT></DIV></BODY></HTML>
>> >
>> >------=_NextPart_000_000E_01BFB3B2.98F35E20--
>> >
>>
>>
>****************************************************************************
><
>> Unidata User Support                                    UCAR Unidata
>> (303)497-8644                                                  P.O. Box
>> address@hidden                                   Boulder, CO
>> --------------------------------------------------------------------------
>> Unidata WWW Service                        http://www.unidata.ucar.edu/
><
>>
>****************************************************************************
><
>>
>