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.
On Thu, 31 Aug 2000, Unidata Support wrote: > >To: Unidata Support <address@hidden> > >From: Mark Tucker <address@hidden> > >Subject: LDM & DBFILE > >Organization: UCAR/Unidata > >Keywords: 200008311438.e7VEchN00948 > > > Hi. I've upgraded our ldm to 5.1.2 on Solaris 8 using gcc. It appears > that there is a problem with the DBFILE action from pqsurf. I have _many_ > of entries in ldmd.log: > > Aug 31 13:51:59 cirrus pqact[7357]: ldmdb_open: 2: No child processes > Aug 31 13:52:06 cirrus last message repeated 8 times > > Aug 31 13:54:28 cirrus pqact[7357]: ldmdb_open: 2: No child processes > Aug 31 13:54:37 cirrus last message repeated 34 times > > Aug 31 14:35:50 cirrus pqact[9476]: ldmdb_open: 2: No child processes > Aug 31 14:36:03 cirrus last message repeated 35 times > > I have downloaded and installed gdbm-1.7.3 from ftp.gnu.org into /opt/sfw. > When I run configure I noted that the check for gdbm.h is failing: Mark, Your message got lost in the masses today. You need to make sure your build can find the gdbm.h file. Here's a url with the detail instructions: http://www.unidata.ucar.edu/glimpse/ldm/3185 Another detail, it seem that if one uses a new version of the gdbm, it doesn't work correctly. So use version gdbm-1.7.3 Robb... > > checking for gdbm.h... (cached) no > > Here's the environment: > > cirrus:~> env |sort > CC=/opt/sfw/bin/gcc > CFLAGS=-g > CPPFLAGS= > CPP_NETCDF=-I/usr/local/netcdf/include > CPP_UDUNITS=-I/usr/local/udunits/include > EDITOR=vi > FC=/opt/sfw/bin/g77 > FFLAGS=-g > GDBMLIB=-lgdbm > GROUP=udata > HISTORY=200 > HOME=/usr/local/ldm > HOST=cirrus > HOSTTYPE=i86pc > LDMBIN=/usr/local/ldm/bin > LDMHOME=/usr/local/ldm > LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/sfw/lib > LD_NETCDF=-L/usr/local/netcdf/lib -lnetcdf > LD_SOCKET=-L/usr/lib -lsocket > LD_UDUNITS=-L/usr/local/udunits/lib -ludunits > LOGNAME=ldm > MACHTYPE=i386 > MAIL=/var/mail//ldm > OSTYPE=solaris > PATH=/usr/bin:/usr/ccs/bin:/usr/ucb:/opt/sfw/bin:/usr/local/ldm/bin:/usr/local/ldm/decoders:/usr/local/ldm-mcidas/bin > PWD=/usr/local/ldm > REMOTEHOST=elmo.lsc.vsc.edu > SHELL=/bin/tcsh > SHLVL=1 > SSH_AUTH_SOCK=/tmp/ssh-fNo26229/agent.26229 > SSH_CLIENT=155.42.21.97 1020 22 > SSH_TTY=/dev/pts/3 > TERM=vt100 > TZ=GMT > USER=ldm > VENDOR=sun > > > ... and here's our entries from pqsurf.conf: > > WMO ^sao .. (...) ([0-3][0-9])([0-2][0-9]) DBFILE > /usr/local/ldm/data/weather/data/sao/(\2:yy)(\2:mm)\2\3.s > a_gdb \1 > WMO ^sao ... (...) ([0-3][0-9])([0-2][0-9]) DBFILE > /usr/local/ldm/data/weather/data/sao/(\2:yy)(\2:mm)\2\3.s > a_gdb \1 > WMO ^sao .. (....) ([0-3][0-9])([0-2][0-9]) DBFILE > /usr/local/ldm/data/weather/data/sao/(\2:yy)(\2:mm)\2\3.s > a_gdb \1 > WMO ^sao .. (....) ([0-3][0-9])([0-2][0-9]) FILE > /usr/local/ldm/data/surface/sao/(\2:yy)(\2:mm)\2\3.sa > WMO ^sao ... (....) ([0-3][0-9])([0-2][0-9]) DBFILE > /usr/local/ldm/data/weather/data/sao/(\2:yy)(\2:m > m)\2\3.sa_gdb \1 > WMO ^metar (....) ([0-3][0-9])([0-2][0-9]) FILE > /usr/local/ldm/data/surface/metar/(\2:yy)(\2:mm)\2\3.meta > r > WMO ^metar (....) ([0-3][0-9])([0-2][0-9]) FILE > /usr/local/ldm/data/weather/data/flatmetar/(\2:yy)(\2:mm) > \2\3.metar > WMO ^metar (....) ([0-3][0-9])([0-2][0-9]) DBFILE > /usr/local/ldm/data/weather/data/metar/(\2:yy)(\2:mm)\2\3 > .sa_metar \1 > > > =========================================== > > > > Mark Tucker > Information Technology > Lyndon State College > address@hidden > http://apollo.lsc.vsc.edu > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================