[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] Boost.Build 1.73.0 Error
From:       Rene Rivera via Boost-build <boost-build () lists ! boost ! org>
Date:       2020-05-08 12:30:58
Message-ID: CAHEh_GhdLAKfiKownsjr5T-3=Ld2YiEfAdtXvFp-7r_MTEj_hw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Fri, May 8, 2020 at 1:52 AM Dennis Hart via Boost-build <
boost-build@lists.boost.org> 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

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr">On Fri, May 8, 2020 at 1:52 AM Dennis Hart via \
Boost-build &lt;<a href="mailto:boost-build@lists.boost.org">boost-build@lists.boost.org</a>&gt; \
wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><div \
style="margin:0px;font-size:12pt">Installed boost and then tried example...</div><div \
style="margin:0px;font-size:12pt"><div \
style="margin:0px;font-size:12pt">/usr/include/boost_1_73_0/build-develop/example/hello<br></div><div \
style="margin:0px;font-size:12pt"><br></div><div \
style="margin:0px;font-size:12pt">Looking for input on...</div></div><div \
style="margin:0px;font-size:12pt">How to solve this error after installing latest \
version boost (1.73.0)?</div><div style="margin:0px;font-size:12pt"><br></div><div \
style="margin:0px;font-size:12pt"><b>ERROR: rule \
&quot;[[bbv2.builtin.features.warnings]]`warnings`::&quot; unknown in module \
&quot;warnings-feature&quot;.<br></b></div><div \
style="margin:0px;font-size:12pt"><br></div><div \
style="margin:0px;font-size:12pt"><div style="margin: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="margin:0px;font-size:12pt"><br></div><div \
style="margin:0px;font-size:12pt">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.</div><div style="margin:0px;font-size:12pt"><br></div><div \
style="margin:0px;font-size:12pt">Here is link  <a \
href="https://lists.boost.org/Archives/boost/2020/03/248336.php" \
id="gmail-m_-5977329344270194551gmail-m_-5652548607565506557LPlnk945760" \
target="_blank">https://lists.boost.org/Archives/boost/2020/03/248336.php</a></div><div \
style="margin:0px"><div style="margin:0px;font-size:12pt"><br></div><div \
style="margin:0px;font-size:12pt">Below is boost version and boost.build version \
after install...</div><div \
style="margin:0px;font-size:12pt"><br></div></div></div><div \
style="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 \
&quot;BOOST_LIB_VERSION&quot;<br><div>//   BOOST_LIB_VERSION must be defined to be \
the same as BOOST_VERSION<br></div><div>#define BOOST_LIB_VERSION \
&quot;1_73&quot;</div></div><div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br></div><div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">$ \
b2 -v<br><div>Boost.Jam   Version 2015.07. OS=LINUX.<br></div><div>     Copyright \
1993-2002 Christopher Seiwald and Perforce Software, Inc.<br></div><div>     \
Copyright 2001 David Turner.<br></div><div>     Copyright 2001-2004 David \
Abrahams.<br></div><div>     Copyright 2002-2015 Rene Rivera.<br></div><div>     \
Copyright 2003-2015 Vladimir Prus.<br></div><div><br></div></div><div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size: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 version instead of the one that is included in the \
distribution. The one in the distribution \
says:</div><div><br></div><div>===<br></div><div>$ ./b2 -v<br>B2 Version 4.2. \
OS=LINUX.<br>   Copyright 1993-2002 Christopher Seiwald and Perforce Software, \
Inc.<br>   Copyright 2001 David Turner.<br>   Copyright 2001-2004 David Abrahams.<br> \
Copyright 2002-2019 Rene Rivera.<br>   Copyright 2003-2015 Vladimir \
Prus.<br></div><div>===<br \
clear="all"></div></div><div><br></div><div>HTH</div><div><br></div>-- <br><div \
dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">-- Rene \
Rivera<br>-- Grafik - Don&#39;t Assume Anything<br>-- Robot Dreams -  <a \
href="http://robot-dreams.net/" \
target="_blank">http://robot-dreams.net</a><br><br></div></div></div></div></div>



_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic