Date: Sun, 26 Jun 2022 22:53:49 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Dan Langille <dan@langille.org> Cc: Jos Chrispijn <bsduser@cloudzeeland.nl>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Moving from BDB5 to BDB18 Message-ID: <CAN6yY1v=4xMy=M4MC2E6Yi9oRq_GjdR7qH9CT8WS-_bZ7xX50Q@mail.gmail.com> In-Reply-To: <31a00676-5ce0-63be-4cda-8d1e4801c937@langille.org> References: <63e462b6-5c6d-9130-7f9c-06f35841d157@cloudzeeland.nl> <CAN6yY1vaaknSEB5o3=N6YNMKoJbEsGwBu8ZMqXgbx1Jwp0gegA@mail.gmail.com> <bc3285ef-9c40-cfad-28a1-e0bccbd1fc2a@cloudzeeland.nl> <CAN6yY1vvFefs1hLtepVmB5Q9voawvcWe0-3E1JmPM65dDg3MqA@mail.gmail.com> <31a00676-5ce0-63be-4cda-8d1e4801c937@langille.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000486dff05e2678cd7 Content-Type: text/plain; charset="UTF-8" On Sun, Jun 26, 2022 at 5:26 PM Dan Langille <dan@langille.org> wrote: > Kevin Oberman wrote on 5/19/22 8:17 PM: > > On Thu, May 19, 2022 at 5:19 AM Jos Chrispijn <bsduser@cloudzeeland.nl> > wrote: > >> Kevin Oberman: >> >> > That is exactly what that means. As the shareable for db18 is not the >> > same as for db5, all programs linked to db5 must be reinstalled. so >> that >> > they link to any of the several shareables db installs. >> >> Can you tell how do I force them to use bdb18? >> Can imagine that they automagically force installation of bdb5 again on >> re-compile? >> >> Thanks, Jos >> > > For some reason, quite likely, a good one, the default in ports/Mk/ > bsd.default-versions.mk is still 5. You can either edit the Makefile for > each of the ports linked against 5 to 18 or edit the default for BDB to > 18. > > > Jos: did you succeed? > > Kevin: Wouldn't this be enough to picked up db18? > > DEFAULT_VERSIONS+=bdb=18 > > I ask because that didn't fix devel/apr1 for me. It still built with db5 > I edited the ports/Mk/bsd.default-versions.mk, rebuilt all of the ports that depend on BDB and that worked. Just tried devel/apr1 and it was happy to build against bdb18. This is after an update to ports/Mk has replaced the 18 with 5. I see bsd.sanity.mk has several references to BDB and ports/Mk/Uses/bdb.mk has some stuff that really tries to build things with 18. > pkg info -d apr apr-1.7.0.1.6.1_2: expat-2.4.8 gdbm-1.23 db18-18.1.40 Note that I no longer have db5 installed... only db18. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000486dff05e2678cd7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:tahoma,sans-serif;font-size:small">On Sun, Jun 26, 2022 at 5:26 PM= Dan Langille <<a href=3D"mailto:dan@langille.org">dan@langille.org</a>&= gt; wrote:<br></div></div><div class=3D"gmail_quote"><blockquote class=3D"g= mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex"> <div><span>Kevin Oberman wrote on 5/19/22 8:17=20 PM:</span><br> <blockquote type=3D"cite"> =20 <div dir=3D"ltr"><div style=3D"font-family:tahoma,sans-serif;font-size:sm= all">On Thu, May 19,=20 2022 at 5:19 AM Jos Chrispijn <<a href=3D"mailto:bsduser@cloudzeeland.nl= " target=3D"_blank">bsduser@cloudzeeland.nl</a>> wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)= ;padding-left:1ex">Kevin Oberman:<br> <br> > That is exactly what that means. As the shareable for db18 is not=20 the <br> > same as for db5, all programs linked to db5 must be reinstalled. so that <br> > they link to any of the several shareables db installs.<br> <br> Can you tell how do I force them to use bdb18?<br> Can imagine that they automagically force installation of bdb5 again on <br= > re-compile?<br> <br> Thanks, Jos<br></blockquote></div><div><br></div><div><div style=3D"font-fa= mily:tahoma,sans-serif;font-size:small">For some reason, quite likely, a go= od one, the=20 default in ports/Mk/<a href=3D"http://bsd.default-versions.mk" target=3D"_b= lank">bsd.default-versions.mk</a> is still 5. You can=20 either edit the Makefile for each of the ports linked against 5 to 18 or edit the default for BDB=C2=A0 to 18. <br></div><br> </div></div> </blockquote> <br> Jos: did you succeed?<br> <br> Kevin: Wouldn't this be enough to picked up db18?<br> <br> DEFAULT_VERSIONS+=3Dbdb=3D18<br> <br> I ask because that didn't fix devel/apr1 for me. It still built with db= 5<br></div></blockquote><div><br></div><div style=3D"font-family:tahoma,san= s-serif;font-size:small" class=3D"gmail_default">I edited the ports/Mk/<a h= ref=3D"http://bsd.default-versions.mk">bsd.default-versions.mk</a>, rebuilt= all of the ports that depend on BDB and that worked.</div><div style=3D"fo= nt-family:tahoma,sans-serif;font-size:small" class=3D"gmail_default"><br></= div><div style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"g= mail_default">Just tried devel/apr1 and it was happy to build against bdb18= . This is after an update to ports/Mk has replaced the 18 with 5. I see <a = href=3D"http://bsd.sanity.mk">bsd.sanity.mk</a> has several references to B= DB and ports/Mk/Uses/<a href=3D"http://bdb.mk">bdb.mk</a> has some stuff th= at really tries to build things with 18.</div><div style=3D"font-family:tah= oma,sans-serif;font-size:small" class=3D"gmail_default">> pkg info -d ap= r<br>apr-1.7.0.1.6.1_2:<br> expat-2.4.8<br> gdbm-1.23<br> db18-18.1.40</div= ><div style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"gmai= l_default"><br></div><div style=3D"font-family:tahoma,sans-serif;font-size:= small" class=3D"gmail_default">Note that I no longer have db5 installed... = only db18.<br></div></div><br>-- <br><div dir=3D"ltr" class=3D"gmail_signat= ure"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div= dir=3D"ltr">Kevin Oberman, Part time kid herder and retired Network Engine= er<br>E-mail: <a href=3D"mailto:rkoberman@gmail.com" target=3D"_blank">rkob= erman@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B3= 18AB39EF1B055683</div></div></div></div></div></div></div></div></div> --000000000000486dff05e2678cd7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1v=4xMy=M4MC2E6Yi9oRq_GjdR7qH9CT8WS-_bZ7xX50Q>