From nobody Mon Mar 14 11:31:03 2022 X-Original-To: freebsd-database@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3CF0C1A288FD for ; Mon, 14 Mar 2022 11:31:15 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KHDrK4ph0z4lYY for ; Mon, 14 Mar 2022 11:31:13 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-ej1-x62c.google.com with SMTP id kt27so33274353ejb.0 for ; Mon, 14 Mar 2022 04:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=P/7jLZWXf/Ldyzb9Ap4RnuzF3fS3Qr5r3pOWv2QWPn0=; b=KyuB4XjEDVZ006YsI9RnE/0AwnFdkgV/iGnoDee1JUFGhwR+49cs6cYuOAZXkyulDf 3R7gqu6b/0Ru5UnMmCtCzWcrcnohkQMCOtxmI3aFgWj/f4uMSWu2QSQQlu6cxwc++p7j 8PSpT68Lz+INl9dKJCsnN7jSY7AE8XRjdA9pNLjR6BwYIgcyrr59iAXxLvpdMWJyh754 PyE1T6xzb/thOw3GNy53SMjQo9b2LzSn2tzc0CcLNk17tl0vxZV0MjCSHCvqlMp3+7aG 93dAObbqE7qh0sdV+CCFF+mKY/E9S9lSn8XyuF7p0do346E7anNVsmaanSOzGwVyFc8n JnNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=P/7jLZWXf/Ldyzb9Ap4RnuzF3fS3Qr5r3pOWv2QWPn0=; b=DTGPXwefIT+wweQpNUKZeWyIIoZc/nNeoLPujEEKlkz+snSxr/+WJjJW15iTdx4cpR dBj/D1kdd3GMcIGM9WPteBIS3bdHgQn7y/xPxsHe+gb76LwwU+HJQkguAAl7gYK4btPN IQonEdHMe+ZpfL/0/52ocE43ugFnvCJE9vqw6NG2/CmZ3gruVOT2Q1Nc5odqBmrg2iJv yHTykd7euwm3dWfcqU0xTtyIvbXFDRR/R4/osJpBHkfw/gRmPbCJHsbIUMV5zkG4Ah5/ Syxlbbgl0Hz30WZLvRfmoDwftOfCM9SKmkkLGkIlFZRTLo6Mb6DszDV/RQewgw5iQ+1I VuqA== X-Gm-Message-State: AOAM532Z3hF/SGb2oFHjAtuHp7bZ8zGLp9JChv/KQy01HcpOFOH0yua8 +bbWKkOe8iedAZjb3ZEAv/bZE4FnD3Ndn5YxkuIC2weBAjQ= X-Google-Smtp-Source: ABdhPJymRcWXzagg7zEZ8qNrDsVhLkTS2/KsVfDQBEeB3L+Tij1B86s9hw5cRZdshz2c1MnSCp01OzbnKe/BpCSFaA0= X-Received: by 2002:a17:906:4fc4:b0:6da:b4c6:fadb with SMTP id i4-20020a1709064fc400b006dab4c6fadbmr19261656ejw.282.1647257472436; Mon, 14 Mar 2022 04:31:12 -0700 (PDT) List-Id: Database use and development under FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-database List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-database@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Archimedes Gaviola Date: Mon, 14 Mar 2022 19:31:03 +0800 Message-ID: Subject: Re: Berkeley DB 1.85 source install To: d@delphij.net Cc: freebsd-database@freebsd.org Content-Type: multipart/alternative; boundary="0000000000007f8e0c05da2c0461" X-Rspamd-Queue-Id: 4KHDrK4ph0z4lYY X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=KyuB4XjE; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of archimedesgaviola@gmail.com designates 2a00:1450:4864:20::62c as permitted sender) smtp.mailfrom=archimedesgaviola@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-database@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62c:from]; MLMMJ_DEST(0.00)[freebsd-database]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --0000000000007f8e0c05da2c0461 Content-Type: text/plain; charset="UTF-8" On Mon, Mar 14, 2022 at 2:16 AM Xin Li 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


=
On Mon, Mar 14, 2022 at 2:16 AM Xin L= i <delphij@delphij.net> wr= ote:
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" comma= nd. Is there
> a way to compile specific to the db only? If it's possible then wh= at are
> the "make" parameters I should include to invoke?

No, unless write the build glues.=C2=A0 /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 w= hy I wonder how the project is still able to compile the old 1.86 sources i= n the base system though you've said that it's been trimmed down an= d customized.

Thanks,
Archimedes =C2=A0 =
--0000000000007f8e0c05da2c0461--