Re: Hint for installing Berkeley DB 5.3.28

"lfs" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <175006949783.7.12748976138042670689.765770686@4forl1st5.slmail.me>
On Sunday, June 15th, 2025 at 16:50, Bruce Dubbs <[email protected]> wrote:
> 
> On 6/15/25 9:38 AM, Alec Bloss ([email protected] via blfs-dev Mailing List) wrote:
> 
> > Since this software package is no longer in the book and is listed as deprecated, but
> > some applications may still need it, I've written instructions on how to build
> > Berkely DB for LFS as it's no longer entirely straightforward and I just spent a few
> > hours figuring it out myself. The instructions in BLFS 12.0 don't work anymore
> > either, so I think this hint is necessary for those who need BDB.
> > 
> > I've attached it as a txt file - if that doesn't come through, please reply and let
> > me know. Released as public domain.
> 
> 
> I've addrd the file to the hints repository:
> 
> https://www.linuxfromscratch.org/hints/downloads/files/Berkeley_DB_procedure.txt

Questions on the commands in that hint, for which many thanks, Alec.

In the 12.0 BLFS, the Book merely configured the vanilla tarball with

../dist/configure --prefix=/usr      \
                  --enable-compat185 \
                  --enable-dbm       \
                  --disable-static   \
                  --enable-cxx

whereas the hint is now much more explicit, in terms of
many --disable options, except for --disable-static, vis:

../dist/configure --prefix=/usr \
  --enable-compat185            \
  --enable-dbm                  \
  --enable-cxx                  \
  --disable-option-checking     \
  --disable-silent-rules        \
  --disable-maintainer-mode     \ 
  --disable-dependency-tracking \
  --disable-java                \
  --disable-sql                 \
  --disable-stl                 \
  --with-mutex=POSIX/pthreads/library


If one doesn't have those in the configure, have the package's
default options been changed so that those options would now be 
enabled by default?

Similarly, if one added --disable-static to the configure, is
that no longer respected, or seen to cause problems?

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.