Roelof, >Date: Fri, 19 May 2000 06:37:02 +0000 >From: Roelof Burger <address@hidden> >Organization: metsys >To: Steve Emmerson <address@hidden> >Subject: problems with udunits >Keywords: 200005190634.e4J6Y9T14983 In the above message, you wrote: > i installed the udunits package without any problems > included the binary in my path variable > tried out the command - udunits - > and it worked perfectly, > i then rebooted my machine, then i got the following error when trying the > command: > > fgets(): Is a directory > udunits(3): Error occurred at line 1 > udunits(3): Couldn't read units-file "/usr/local/udunits-1.11.7" > udunits: Couldn't initialize udunits(3) package > > i deleted everything and started over again - again with no problems, but this > time, it kept giving me the errors. i must be doing something very stupid. > > can you maybe help me? The UDUNITS library reads an initialization file at startup. The file is, nominally, "udunits.dat" in the "etc/" installation subdirectory. The pathname of this file may be specified by the UDUNITS_PATH environment variable. Do you have that environment variable set? If so, is it set to "/usr/local/udunits-1.11.7/etc/udunits.dat"? Regards, Steve Emmerson <http://www.unidata.ucar.edu>
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.