[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDBMLIB
- Subject: Re: GDBMLIB
- Date: Wed, 1 Sep 1999 15:15:00 -0600 (MDT)
Celia,
Here's some more information on making GDBM work.
I also encountered some difficulty with GDBM. Here's the steps I took to
make it work on solaris 5.6 using csh.
I used the gdbm-1.7.3.tar.gz distribution from ftp ftp.gnu.org/gnu/gdbm
% setenv GDBMLIB -lgdbm
-made sure the libgdbm.a was in the path of the LD_LIBRARY_PATH
environment variable
-made sure the gdbm.h was in the path of CPPFLAGS, with the -I option, ie
% setenv CPPFLAGS -I/local/gnu/gdbm-1.7.3
rm config.cache config.log config.status
% ./configure
% make install
% sudo make install_setuids
On Tue, 31 Aug 1999, Celia Chen wrote:
> Robb,
>
> Thank you for making it clear. I followed your instruction to rebuild
> ldm-5.0.8. However, I still don't see any gdb files being created.
> I am sending you some of the output from running pqsurf in verbose mode.
> Hope you can detact something from this output. Let me know if there
> is something else I can try.
>
> Thanks.
>
> Celia
>
> ========================
>
> Aug 31 20:06:05 pqsurf[3587]: Starting Up (3586)
> Mapping 2678784
> exec'ing: "pqact -v -l - -x -d /home/ldm -q /home/ldm/data/pqsurf.pq
> /home/ldm/etc/pqsurf.conf"
> Mapping 2678784
> Aug 31 20:06:06 pqact[3588]: Starting Up
> Aug 31 20:06:06 pqact[3588]: Successfully read pattern file
> "/home/ldm/etc/pqsurf.conf"
> Mapping 2678784
> Aug 31 20:06:06 pqact[3588]: lastmatch: 31d5b4fa16a7587b9ed2bd2819088fd5
> 80 19990831200329.313 IDS|DDPLUS 501004 metar PJON 312000 RRP
> Aug 31 20:06:06 pqact[3588]: TS_ZERO TS_ENDT {{ANY, ".*"}}
> Aug 31 20:06:06 pqact[3588]: 00000000000000000000000000000000 0
> 19990831200606.028 ANY 000 _BEGIN_
> End of Queue
> Aug 31 20:06:06 pqsurf[3587]: 19990831190605.992 TS_ENDT {{IDS|DDS,
> "^S[AIMNP]"}}
> surf: End of Queue
> to 19990831190551.269
> skip ded65134fc5b24816ae1cf95cc0f71d2 73 19990831195648.797
> IDS|DDPLUS 673001 metar KDHT 312000
> max_latency 0.124
> diff 2862.659
> heuristic depth break
> SIGALRM
> End of Queue
> SIGALRM
> surf: End of Queue
> to 19990831190921.262
> skip ded65134fc5b24816ae1cf95cc0f71d2 73 19990831195648.797
> IDS|DDPLUS 673001 metar KDHT 312000
> max_latency 0.124
> diff 2847.659
> heuristic depth break
> SIGALRM
> End of Queue
> SIGALRM
> surf: End of Queue
> to 19990831190936.262
> skip ded65134fc5b24816ae1cf95cc0f71d2 73 19990831195648.797
> IDS|DDPLUS 673001 metar KDHT 312000
> max_latency 0.124
> diff 2832.659
> heuristic depth break
> SIGALRM
> End of Queue
> SIGALRM
> surf: End of Queue
> to 19990831190951.262
> skip ded65134fc5b24816ae1cf95cc0f71d2 73 19990831195648.797
> IDS|DDPLUS 673001 metar KDHT 312000
> max_latency 0.124
> diff 2817.659
> heuristic depth break
> SIGALRM
> End of Queue
> SIGALRM
> surf: End of Queue
> to 19990831191006.262
> skip ded65134fc5b24816ae1cf95cc0f71d2 73 19990831195648.797
> IDS|DDPLUS 673001 metar KDHT 312000
> max_latency 0.124
> diff 2802.659
> heuristic depth break
> SIGALRM
> End of Queue
> SIGALRM
> surf: End of Queue
> to 19990831191021.262
> skip ded65134fc5b24816ae1cf95cc0f71d2 73 19990831195648.797
> IDS|DDPLUS 673001 metar KDHT 312000
> max_latency 0.124
> diff 2787.659
> heuristic depth break
> ===========================
> >
> > Celia,
> >
> > To make it clear, the compile to include the GDBM libraries needs to be
> > done by:
> >
> > % setenv GDBMLIB -lgdbm
> >
> > Set the LD_LIBRARY_PATH to include the path to the gdbm library. So if the
> > library is in /gnu/lib/libgdbm.a then set
> >
> > % setenv LD_LIBRARY_PATH /gnu/lib:$LD_LIBRARY_PATH
> >
> >
> > Also, find and put gdbm.h in the include dir of the distribution.
> >
> > ls ~ldm/ldm-5.0.8/include
> >
> > gdbm.h h_clnt.h ldmprint.h setenv.h fsStats.h
> > fbits.h ldm.h md5.h timestamp.h inetutil.h
> > lcm.h ldm4.h mkdirs_open.h alloc.h ulog.h
> > pq.h ldm_xlen.h paths.h alrm.h
> > ldmconfig.h
> > atofeedt.h ldmclnt.h prod_class.h fdnb.h
> >
> >
> > This is all done before running ./configure.
> >
> > 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/
===============================================================================