Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2022 19:31:03 +0800
From:      Archimedes Gaviola <archimedes.gaviola@gmail.com>
To:        d@delphij.net
Cc:        freebsd-database@freebsd.org
Subject:   Re: Berkeley DB 1.85 source install
Message-ID:  <CAJFbk7GN9UYsGcVDD657GYzctmKp=BZMdtuaYu572NGK-F5sEA@mail.gmail.com>
In-Reply-To: <f7f2b39e-c5ec-effa-e556-25343ecc4794@delphij.net>
References:  <CAJFbk7E4N2asLt0X65riGE=R-Uk=EaJGdTo-za1A1mqzGZ4sCg@mail.gmail.com> <f7f2b39e-c5ec-effa-e556-25343ecc4794@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000007f8e0c05da2c0461
Content-Type: text/plain; charset="UTF-8"

On Mon, Mar 14, 2022 at 2:16 AM Xin Li <delphij@delphij.net> wrote:

> Hi,
>
> On 2/20/22 17:59, Archimedes Gaviola wrote:
> > (re-posted as this might be the proper channel to ask)
> >
> > Hi,
> >
> > With 13.0-RELEASE, I would like to compile and install the Berkeley DB
> > 1.85 source from /usr/src/lib/libc/db however only in its parent
> > directory /usr/src/lib/libc I could perform the "make" command. Is there
> > a way to compile specific to the db only? If it's possible then what are
> > the "make" parameters I should include to invoke?
>
> No, unless write the build glues.  /usr/src/lib/libc/db was a trimmed
> down and customized version of Berkeley DB 1.86, and it's not intended
> for standard alone use (and therefore, it's unlikely that we would
> accept changes to add build glues for it to build it as a standard alone
> library).
>
> If you need Berkeley DB 1.85 (or 1.86), you should be able to find the
> original tarball on the Internet and start from there.
>
> Cheers,
>


Hi Xin Li,

Thanks for your response and feedback. The challenge I encountered with the
original Berkeley DB 1.85 or 1.86 sources is the need for porting as I've
tried compiling, it requires fixing the source code' errors in order to
work in 13.0-RELEASE or 14.0-CURRENT. That's why I wonder how the project
is still able to compile the old 1.86 sources in the base system though
you've said that it's been trimmed down and customized.

Thanks,
Archimedes

--0000000000007f8e0c05da2c0461
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Mon, Mar 14, 2022 at 2:16 AM Xin L=
i &lt;<a href=3D"mailto:delphij@delphij.net">delphij@delphij.net</a>&gt; wr=
ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On 2/20/22 17:59, Archimedes Gaviola wrote:<br>
&gt; (re-posted as this might be the proper channel to ask)<br>
&gt; <br>
&gt; Hi,<br>
&gt; <br>
&gt; With 13.0-RELEASE, I would like to compile and install the Berkeley DB=
 <br>
&gt; 1.85 source from /usr/src/lib/libc/db however only in its parent <br>
&gt; directory /usr/src/lib/libc I could perform the &quot;make&quot; comma=
nd. Is there <br>
&gt; a way to compile specific to the db only? If it&#39;s possible then wh=
at are <br>
&gt; the &quot;make&quot; parameters I should include to invoke?<br>
<br>
No, unless write the build glues.=C2=A0 /usr/src/lib/libc/db was a trimmed =
<br>
down and customized version of Berkeley DB 1.86, and it&#39;s not intended =
<br>
for standard alone use (and therefore, it&#39;s unlikely that we would <br>
accept changes to add build glues for it to build it as a standard alone <b=
r>
library).<br>
<br>
If you need Berkeley DB 1.85 (or 1.86), you should be able to find the <br>
original tarball on the Internet and start from there.<br>
<br>
Cheers,<br></blockquote><div><br></div><div><br></div><div>Hi Xin Li,</div>=
<div><br></div><div>Thanks for your response and feedback. The challenge I =
encountered with the original Berkeley DB 1.85 or 1.86 sources is the need =
for porting as I&#39;ve tried compiling, it requires fixing the source code=
&#39; errors in order to work in 13.0-RELEASE or 14.0-CURRENT. That&#39;s w=
hy I wonder how the project is still able to compile the old 1.86 sources i=
n the base system though you&#39;ve said that it&#39;s been trimmed down an=
d customized.</div><div><br></div><div>Thanks,</div><div>Archimedes =C2=A0 =
<br></div></div></div>

--0000000000007f8e0c05da2c0461--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJFbk7GN9UYsGcVDD657GYzctmKp=BZMdtuaYu572NGK-F5sEA>