On Mon, 4 Oct 1999, Dave Wreski wrote:

> [ This is the conclusion of a discussion about fwtk on RH6, and problems
> compiling.  It seems the compat-glibc-5.2-2.0.7.1 package is required, as
> well as updating the AUXLIB define in the stock Makefile.config:

<db1/ndbm.h>, seems a better idea than the compat stuff since it's probably 
more default-ish to put in glibc-devel-2.1.1-6 than the compat stuff.

It compiles cleanly, someone with an auth db should probably try to run 
it though ;)  

> AUXLIB=-lndbm -lcrypt
> 
> Would you mind adding this to the FWTK FAQ? ]
> 
> > > cc -I.. -g -c db.c -o db.o > > db.c:16: ndbm.h: No such file or directory
> > > make[1]: *** [db.o] Error 1
> > 
> > Yep, I missed it...
> > 
> > > The i386-glibc20-linux is from the compat-glibc20 package, which I didn't
> > > have installed.  After installing it, gcc still can't find it.  If I point
> > > it directly at that header, I get:
> > 
> > Adding this, -lndbm, and -lcrypt seems to have solved all the problems here.
> 
> Yes, that worked for me too.  Not at first, though.  I added it to the
> DBMLIB define, instead of the AUXLIB define.  Argh.  Is ndbm an older
> database?  Are we not using gdbm these days?

I put -lndbm into DBMLIB.  

In case it's not clear, all occurances of ndbm.h (3?) which seem to all be in 
auth/*.c want changed to point to a valid ndbm.h under RH6.0.  6.1 comes 
out tomorrow, who knows if it'll change things :)

Paul
-----------------------------------------------------------------------------
Paul D. Robertson      "My statements in this message are personal opinions
[EMAIL PROTECTED]      which may have no basis whatsoever in fact."
                                                                     PSB#9280

-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to