Re: Boost.Build 1.73.0 Error
Rene Rivera via Boost-build <[email protected]> Fri, 8 May 2020 07:30:58 -0500
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Message-ID | <CAHEh_GhdLAKfiKownsjr5T-3=Ld2YiEfAdtXvFp-7r_MTEj_hw@mail.gmail.com> |
--===============3101387174811621043== Content-Type: multipart/alternative; boundary="0000000000000197ee05a5222c94" --0000000000000197ee05a5222c94 Content-Type: text/plain; charset="UTF-8" On Fri, May 8, 2020 at 1:52 AM Dennis Hart via Boost-build < [email protected]> wrote: > Installed boost and then tried example... > /usr/include/boost_1_73_0/build-develop/example/hello > > Looking for input on... > How to solve this error after installing latest version boost (1.73.0)? > > > *ERROR: rule "[[bbv2.builtin.features.warnings]]`warnings`::" unknown in > module "warnings-feature".* > > If I remove the block comments in warnings-feature.jam the error simply > propogates to next jam file with block comment. > > Only thing I can find online is suggestion that may not be using latest > version of boost.build as error suggestive that b2 does not understand > block comments. > > Here is link https://lists.boost.org/Archives/boost/2020/03/248336.php > > Below is boost version and boost.build version after install... > > $ cat /usr/include/boost_1_73_0/boost/version.hpp | grep > "BOOST_LIB_VERSION" > // BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION > #define BOOST_LIB_VERSION "1_73" > > $ b2 -v > Boost.Jam Version 2015.07. OS=LINUX. > Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc. > Copyright 2001 David Turner. > Copyright 2001-2004 David Abrahams. > Copyright 2002-2015 Rene Rivera. > Copyright 2003-2015 Vladimir Prus. > > Thanks in advance > As your research has revealed, you are using an outdated b2 version instead of the one that is included in the distribution. The one in the distribution says: === $ ./b2 -v B2 Version 4.2. OS=LINUX. Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc. Copyright 2001 David Turner. Copyright 2001-2004 David Abrahams. Copyright 2002-2019 Rene Rivera. Copyright 2003-2015 Vladimir Prus. === HTH -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net --0000000000000197ee05a5222c94 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Fri, May 8, 2020 at 1:52 AM Dennis Har= t via Boost-build <<a href=3D"mailto:[email protected]">boost-= [email protected]</a>> wrote:<br></div><div class=3D"gmail_quote"><b= lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le= ft:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div style= =3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb= (0,0,0)"><div style=3D"margin:0px;font-size:12pt">Installed boost and then = tried example...</div><div style=3D"margin:0px;font-size:12pt"><div style= =3D"margin:0px;font-size:12pt">/usr/include/boost_1_73_0/build-develop/exam= ple/hello<br></div><div style=3D"margin:0px;font-size:12pt"><br></div><div = style=3D"margin:0px;font-size:12pt">Looking for input on...</div></div><div= style=3D"margin:0px;font-size:12pt">How to solve this error after installi= ng latest version boost (1.73.0)?</div><div style=3D"margin:0px;font-size:1= 2pt"><br></div><div style=3D"margin:0px;font-size:12pt"><b>ERROR: rule &quo= t;[[bbv2.builtin.features.warnings]]`warnings`::" unknown in module &q= uot;warnings-feature".<br></b></div><div style=3D"margin:0px;font-size= :12pt"><br></div><div style=3D"margin:0px;font-size:12pt"><div style=3D"mar= gin:0px;font-size:12pt">If I remove the block comments in warnings-feature.= jam the error simply propogates to next jam file with block comment.</div><= /div><div style=3D"margin:0px;font-size:12pt"><br></div><div style=3D"margi= n:0px;font-size:12pt">Only thing I can find online is suggestion that may n= ot be using latest version of boost.build as error suggestive that b2 does = not understand block comments.</div><div style=3D"margin:0px;font-size:12pt= "><br></div><div style=3D"margin:0px;font-size:12pt">Here is link=C2=A0<a h= ref=3D"https://lists.boost.org/Archives/boost/2020/03/248336.php" id=3D"gma= il-m_-5977329344270194551gmail-m_-5652548607565506557LPlnk945760" target=3D= "_blank">https://lists.boost.org/Archives/boost/2020/03/248336.php</a></div= ><div style=3D"margin:0px"><div style=3D"margin:0px;font-size:12pt"><br></d= iv><div style=3D"margin:0px;font-size:12pt">Below is boost version and boos= t.build version after install...</div><div style=3D"margin:0px;font-size:12= pt"><br></div></div></div><div style=3D"font-family:Calibri,Arial,Helvetica= ,sans-serif;font-size:12pt;color:rgb(0,0,0)">$ cat /usr/include/boost_1_73_= 0/boost/version.hpp | grep "BOOST_LIB_VERSION"<br><div>// =C2=A0B= OOST_LIB_VERSION must be defined to be the same as BOOST_VERSION<br></div><= div>#define BOOST_LIB_VERSION "1_73"</div></div><div style=3D"fon= t-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)= "><br></div><div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;fo= nt-size:12pt;color:rgb(0,0,0)">$ b2 -v<br><div>Boost.Jam =C2=A0Version 2015= .07. OS=3DLINUX.<br></div><div>=C2=A0 =C2=A0Copyright 1993-2002 Christopher= Seiwald and Perforce Software, Inc.<br></div><div>=C2=A0 =C2=A0Copyright 2= 001 David Turner.<br></div><div>=C2=A0 =C2=A0Copyright 2001-2004 David Abra= hams.<br></div><div>=C2=A0 =C2=A0Copyright 2002-2015 Rene Rivera.<br></div>= <div>=C2=A0 =C2=A0Copyright 2003-2015 Vladimir Prus.<br></div><div><br></di= v></div><div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-s= ize:12pt;color:rgb(0,0,0)">Thanks in advance</div></div></blockquote><div><= br></div><div>As your research has revealed, you are using an outdated b2 v= ersion instead of the one that is included in the distribution. The one in = the distribution says:</div><div><br></div><div>=3D=3D=3D<br></div><div>$ .= /b2 -v<br>B2 Version 4.2. OS=3DLINUX.<br>=C2=A0 Copyright 1993-2002 Christo= pher Seiwald and Perforce Software, Inc.<br>=C2=A0 Copyright 2001 David Tur= ner.<br>=C2=A0 Copyright 2001-2004 David Abrahams.<br>=C2=A0 Copyright 2002= -2019 Rene Rivera.<br>=C2=A0 Copyright 2003-2015 Vladimir Prus.<br></div><d= iv>=3D=3D=3D<br clear=3D"all"></div></div><div><br></div><div>HTH</div><div= ><br></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"lt= r"><div><div dir=3D"ltr">-- Rene Rivera<br>-- Grafik - Don't Assume Any= thing<br>-- Robot Dreams -=C2=A0<a href=3D"http://robot-dreams.net/" target= =3D"_blank">http://robot-dreams.net</a><br><br></div></div></div></div></di= v> --0000000000000197ee05a5222c94-- --===============3101387174811621043== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build --===============3101387174811621043==--