Thanks for the response. I am new to this stuff, so sorry if I'm
asking stupid questions. After doing the configure with the CPPFLAGS
and LDFLAGS, is there a way to tell which database is used? The newer
(3.1.17) or the older one (2.somthing)? Is is better to use the
original source or the installation directory for the FLAGS? Also, I
believe that for CPPFLAGS I put in the directory for the headers and
for LDFLAGS I use the directory for the libraries. Is this correct and
where can I find info on what the -I, -L, and -R mean? Thanks again.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 11:06 AM
Subject: Re: Sasl 1.5.24 + Berkeley 3.1.17


> >From [EMAIL PROTECTED] Tue Jan  9 10:38 CST
2001
> >
> >env CPPFLAGS="-I/usr/local/src/db-3.1.17/build_unix" \
> >
> >
> >
     LDFLAGS="-L/usr/local/src/db-3.1.17/build_unix -R/usr/local/lib"
> >\
> >        ./configure --enable-login --disable-krb4 --disabble-gssapi
> >
> >when configuring, I noticed somthing in the output:
> >checking DB path to use... /etc/sasldb
> >checking for db.h... yes
> >checking for db_create in -ldb-3... no
> >checking for db_create in -ldb... yes
> >checking DB library to use... berkeley
> >checking for dlopen in -ldl... yes
> >
> >If I'm using db 3.1.17 and if this worked, should the db_create
> >in -ldb-3 be yes and the other no? And how can I tell for sure if
it
> >worked or not? Finally, if this did not work, what can I do to get
it
> >to work? Any help will be more than appreciated. Thanks.
>
> It's confusing because the configure program uses the term `DB'
> for two completely different purposes.  `DB path' refers to the
> location of the SASL database file, which defaults to /etc/sasldb.
> `DB library' refers to the software package to be used to implement
> this database, and defaults to `berkeley', the Berkeley database
> system.  Configure looks in standard locations for the header files
> and libraries of this system.  You can augment this search list
> with the CPPFLAGS and LDFLAGS environment variables.  If you have
> already installed a specific version of the Berkeley DB software,
> just use those environment variables to specify the installed
location.
> You can also specify the source location as you did above.  Both
> should be the same.
>
>
>
> --
> -Gary Mills-    -Unix Support-    -U of M Academic Computing and
Networking-

Reply via email to