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

Re: Decoders



stephen,

didn't get a chance to login yesterday, how about today at 17:30 Z?

robb...


On Tue, 1 Feb 2005, Latimer, S wrote:

> I tried to configure the decoders package again (after doing the previous 
> e-mailed operations on udunits) and could not find the gribtocdl and gribtonc 
> again.
> If you need to access my computer, let me know so I can log off.  Thanks,
>
> Stephen L.
>
> Stephen Latimer
> Meteorology Graduate Student
> Texas Tech University ATMO
> Lubbock, TX 79409
>
>
>
> -----Original Message-----
> From: Robb Kambic [mailto:address@hidden]
> Sent: Mon 1/31/2005 18:05
> To: Latimer, S
> Subject: RE: Possible Errors
>
> thanks for permission changes
>
> the netcdf package worked ok, but the udunits now is the problem. can you
> download it and build it.
>
> same commands as the ones used to build netcdf
>
>
> robb...
>
>
> On Mon, 31 Jan 2005, Latimer, S wrote:
>
> > I changed the ownership on the files by using the chown command.  You 
> > should be able to access the files now.
> >
> > Stephen
> >
> > Stephen Latimer
> > Meteorology Graduate Student
> > Texas Tech University ATMO
> > Lubbock, TX 79409
> >
> >
> >
> > -----Original Message-----
> > From: Robb Kambic [mailto:address@hidden]
> > Sent: Mon 1/31/2005 16:57
> > To: Latimer, S
> > Cc: decoders
> > Subject: RE: Possible Errors
> >
> > On Mon, 31 Jan 2005, Latimer, S wrote:
> >
> > > I downloaded what I think is the src release (NetCDF Source Code, V3.6.0 
> > > (netcdf.tar.Z) ).  I then gunzipped and untarred it.  Then I followed the 
> > > commands you listed below.  After performing those commands, I then 
> > > attempted to re-execute the commands given previously for the decoders 
> > > package.  It still gave the same erros.
> > looks like the netcdf release built ok
> > > Also, I think I gave you full permissions by changing the chmod of the 
> > > directory /usr/local.  It looks as if you have rwx permissions on those 
> > > files.
> >
> > i still don't have permission to change the decoders file. a simple way to
> > do it would be at /usr/local  chown robb decoders-3.0.7 then at
> >
> > /usr/local/decoders-3.0.7   chown -R robb
> >
> > after you are up and running you can change the ownership back
> >
> > robb...
> > >
> > > Stephen
> > >
> > > Stephen Latimer
> > > Meteorology Graduate Student
> > > Texas Tech University ATMO
> > > Lubbock, TX 79409
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Robb Kambic [mailto:address@hidden]
> > > Sent: Mon 1/31/2005 14:55
> > > To: Latimer, S
> > > Cc: decoders
> > > Subject: Re: Possible Errors
> > >
> > > On Mon, 31 Jan 2005, Latimer, S wrote:
> > >
> > > > I changed the directories as listed below in the CUSTOMIZE file.  After 
> > > > running the command below, I found the following errors after executing 
> > > > the below commands:
> > > >
> > > > % make
> > > >
> > >
> > > the problem is that the netcdf binary release you have is not compatiable
> > > with the decoders build. you need to download the netcdf src release and
> > > build it.  it usually builds 1st time. a couple of things,
> > >
> > > % CC=gcc;export CC
> > > % FC="";export FC
> > > % ./configure  from src dir
> > > % make
> > > % make test
> > > % make install
> > >
> > > my login didn't have any permissions so i couldn't fix any errors, all i
> > > could do is look around for problems
> > >
> > > robb...
> > >
> > >
> > > > In file included from gribtonc.c:24:
> > > > nc.h:12:20: netcdf.h: No such file or directory
> > > > In file included from gribtonc.c:24:
> > > > nc.h:30: parse error before "nc_type"
> > > > nc.h:30: warning: no semicolon at end of struct or union
> > > > nc.h:36: parse error before '}' token
> > > > nc.h:36: warning: data definition has no type or storage class
> > > > nc.h:40: parse error before "nclong"
> > > > nc.h:40: warning: no semicolon at end of struct or union
> > > > nc.h:41: warning: data definition has no type or storage class
> > > > nc.h:65: parse error before "lset"
> > > > nc.h:65: warning: no semicolon at end of struct or union
> > > > nc.h:66: warning: data definition has no type or storage class
> > > > nc.h:69: parse error before '}' token
> > > > nc.h:69: warning: data definition has no type or storage class
> > > > nc.h:79: parse error before "ncvar"
> > > > nc.h:79: warning: no semicolon at end of struct or union
> > > > nc.h:83: parse error before "models"
> > > > nc.h:83: warning: data definition has no type or storage class
> > > > nc.h:84: parse error before '*' token
> > > > nc.h:84: warning: data definition has no type or storage class
> > > > nc.h:91: parse error before '}' token
> > > > nc.h:91: warning: data definition has no type or storage class
> > > > nc.h:106: parse error before '*' token
> > > > nc.h:106: warning: data definition has no type or storage class
> > > > nc.h:107: parse error before "ncfile"
> > > > In file included from gribtonc.c:33:
> > > > units.h:29: parse error before "ncfile"
> > > > gribtonc.c: In function `do_nc':
> > > > gribtonc.c:229: `ncp' undeclared (first use in this function)
> > > > gribtonc.c:229: (Each undeclared identifier is reported only once
> > > > gribtonc.c:229: for each function it appears in.)
> > > > make[1]: *** [gribtonc.o] Error 1
> > > > make[1]: Leaving directory `/usr/local/decoders-3.0.7/src/gribtonc'
> > > > make: *** [gribtonc/all] Error 1
> > > >
> > > > % make test  (not sure whether the below statements are indeed errors)
> > > >
> > > > which: no ncgen in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin
> > > > :/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
> > > > metar tested ...... NOT OK
> > > > ascii tested ...... NOT OK
> > > > ldmConnect tested . NOT OK
> > > > metar tested ...... NOT OK
> > > > syn tested ........ NOT OK
> > > > buoy tested ....... NOT OK
> > > > upperair tested ... NOT OK
> > > >
> > > > % make install
> > > >
> > > > In file included from gribtonc.c:24:
> > > > nc.h:12:20: netcdf.h: No such file or directory
> > > > In file included from gribtonc.c:24:
> > > > nc.h:30: parse error before "nc_type"
> > > > nc.h:30: warning: no semicolon at end of struct or union
> > > > nc.h:36: parse error before '}' token
> > > > nc.h:36: warning: data definition has no type or storage class
> > > > nc.h:40: parse error before "nclong"
> > > > nc.h:40: warning: no semicolon at end of struct or union
> > > > nc.h:41: warning: data definition has no type or storage class
> > > > nc.h:65: parse error before "lset"
> > > > nc.h:65: warning: no semicolon at end of struct or union
> > > > nc.h:66: warning: data definition has no type or storage class
> > > > nc.h:69: parse error before '}' token
> > > > nc.h:69: warning: data definition has no type or storage class
> > > > nc.h:79: parse error before "ncvar"
> > > > nc.h:79: warning: no semicolon at end of struct or union
> > > > nc.h:83: parse error before "models"
> > > > nc.h:83: warning: data definition has no type or storage class
> > > > nc.h:84: parse error before '*' token
> > > > nc.h:84: warning: data definition has no type or storage class
> > > > nc.h:91: parse error before '}' token
> > > > nc.h:91: warning: data definition has no type or storage class
> > > > nc.h:106: parse error before '*' token
> > > > nc.h:106: warning: data definition has no type or storage class
> > > > nc.h:107: parse error before "ncfile"
> > > > In file included from gribtonc.c:33:
> > > > units.h:29: parse error before "ncfile"
> > > > gribtonc.c: In function `do_nc':
> > > > gribtonc.c:229: `ncp' undeclared (first use in this function)
> > > > gribtonc.c:229: (Each undeclared identifier is reported only once
> > > > gribtonc.c:229: for each function it appears in.)
> > > > make[3]: *** [gribtonc.o] Error 1
> > > > make[3]: Leaving directory `/usr/local/decoders-3.0.7/src/gribtonc'
> > > > make[2]: *** [installed_binfiles] Error 1
> > > > make[2]: Leaving directory `/usr/local/decoders-3.0.7/src/gribtonc'
> > > > make[1]: *** [installed_programs] Error 2
> > > > make[1]: Leaving directory `/usr/local/decoders-3.0.7/src/gribtonc'
> > > > make: *** [gribtonc/install] Error 1
> > > >
> > > >
> > > > I then switched to the bin directory using 'cd ../bin' and ls with only 
> > > > gribdump and ncgen listed.
> > > > Thanks again for all of your help.
> > > >
> > > > Stephen
> > > >
> > > >
> > > >
> > > >
> > > > Stephen Latimer
> > > > Meteorology Graduate Student
> > > > Texas Tech University ATMO
> > > > Lubbock, TX 79409
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Robb Kambic [mailto:address@hidden]
> > > > Sent: Mon 1/31/2005 13:39
> > > > To: Latimer, S
> > > > Cc: decoders
> > > > Subject: RE: udunits and netCDF
> > > >
> > > >
> > > > here's what i found.
> > > >
> > > > your /usr/local/decoders-3.0.7/src/CUSTOMIZE file has the wrong paths:
> > > >
> > > > you have
> > > > CPP_NETCDF=/usr/local/netcdf/include
> > > >
> > > > should be
> > > >
> > > > CPP_NETCDF=/usr/local/netcdf-3.6.0/include
> > > >
> > > > again should be
> > > >
> > > > LD_NETCDF='-L/usr/local/netcdf-3.6.0/lib -lnetcdf'
> > > >
> > > > udunits likewise:
> > > >
> > > > CPP_UDUNITS=-I/usr/local/udunits-1.11.7/include
> > > > LD_UDUNITS='-L/usr/local/udunits-1.11.7/lib -ludunits'
> > > >
> > > > do these commands:
> > > >
> > > > % cd /usr/local/decoders-3.0.7/src
> > > > % rm config.log config.status
> > > > % ./configure
> > > > % make   look for error messages
> > > > % make test   look for error messages/ perl decoders will fail, that's 
> > > > ok
> > > > % make install
> > > > % cd ../bin
> > > > % ls      should have gribdump gribtocdl gribtonc
> > > > % UDUNITS_PATH=/usr/local/udunits-1.11.7/etc/udunits.dat;export 
> > > > UDUNITS_PATH
> > > > % ls $UDUNITS_PATH   should find file udunits.dat
> > > >
> > > >
> > > > at this point you should be able to run the gribtonc with the invocation
> > > > you did before.  if it says file not found, prefix with ./
> > > >
> > > > robb...
> > > > ===============================================================================
> > > > Robb Kambic                                Unidata Program Center
> > > > Software Engineer III                      Univ. Corp for Atmospheric 
> > > > Research
> > > > address@hidden             WWW: http://www.unidata.ucar.edu/
> > > > ===============================================================================
> > > >
> > > >
> > > >
> > > >
> > >
> > > ===============================================================================
> > > Robb Kambic                                  Unidata Program Center
> > > Software Engineer III                        Univ. Corp for Atmospheric 
> > > Research
> > > address@hidden               WWW: http://www.unidata.ucar.edu/
> > > ===============================================================================
> > >
> > >
> > >
> > >
> >
> > ===============================================================================
> > Robb Kambic                            Unidata Program Center
> > Software Engineer III                          Univ. Corp for Atmospheric 
> > Research
> > address@hidden                 WWW: http://www.unidata.ucar.edu/
> > ===============================================================================
> >
> >
> >
> >
>
> ===============================================================================
> Robb Kambic                              Unidata Program Center
> Software Engineer III                    Univ. Corp for Atmospheric Research
> address@hidden                   WWW: http://www.unidata.ucar.edu/
> ===============================================================================
>
>
>
>

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================