Re: [Boost-users] Building boost b2 lzma options
Next errors seem to be lzma related. Is this along the same lines as
with Zlib and bzip2?
To avoid confusion, this is 1.65.1, as well; not the announced 1.66.
Thanks!
On Mon, Nov 20, 2017 at 1:41 PM, Nelson, Erik - 2 via Boost-users
Michael Powell Sent: Monday, November 20, 2017 1:24 PM
I am building Boost and making progress. Thus far wondering what options to provide my B2. I added the zlib include path to the include="...;/path/to/zlib;...", and now seems to be wanting the LIB path?
I use
"-sBZIP2_SOURCE=/path/to/bzip2/src" "-sZLIB_SOURCE=/path/to/zlib/src"
And it adds the source to the build.
---------------------------------------------------------------------- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
On Tue, Nov 21, 2017 at 10:04 AM, Michael Powell
Next errors seem to be lzma related. Is this along the same lines as with Zlib and bzip2?
As far as I can tell, lzma is 7-zip related, then? So I need 7-zip "source", or at least the API, which itself is "7-zipped" for download. Go figure. Accurate? Yes/no/maybe? But I've already got Unzip and Gzip tool support included in my CMake build environment. So why not?
To avoid confusion, this is 1.65.1, as well; not the announced 1.66.
Thanks!
On Mon, Nov 20, 2017 at 1:41 PM, Nelson, Erik - 2 via Boost-users
wrote: Michael Powell Sent: Monday, November 20, 2017 1:24 PM
I am building Boost and making progress. Thus far wondering what options to provide my B2. I added the zlib include path to the include="...;/path/to/zlib;...", and now seems to be wanting the LIB path?
I use
"-sBZIP2_SOURCE=/path/to/bzip2/src" "-sZLIB_SOURCE=/path/to/zlib/src"
And it adds the source to the build.
---------------------------------------------------------------------- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
On Tue, Nov 21, 2017 at 10:28 AM, Michael Powell
On Tue, Nov 21, 2017 at 10:04 AM, Michael Powell
wrote: Next errors seem to be lzma related. Is this along the same lines as with Zlib and bzip2?
As far as I can tell, lzma is 7-zip related, then? So I need 7-zip "source", or at least the API, which itself is "7-zipped" for download. Go figure. Accurate? Yes/no/maybe?
At least as far as I can determine, I should be downloading the XZ LZMA implementation? Additionally, running into what looks like possibly ICU dependency include errors? i.e. http://site.icu-project.org/
But I've already got Unzip and Gzip tool support included in my CMake build environment. So why not?
To avoid confusion, this is 1.65.1, as well; not the announced 1.66.
Thanks!
On Mon, Nov 20, 2017 at 1:41 PM, Nelson, Erik - 2 via Boost-users
wrote: Michael Powell Sent: Monday, November 20, 2017 1:24 PM
I am building Boost and making progress. Thus far wondering what options to provide my B2. I added the zlib include path to the include="...;/path/to/zlib;...", and now seems to be wanting the LIB path?
I use
"-sBZIP2_SOURCE=/path/to/bzip2/src" "-sZLIB_SOURCE=/path/to/zlib/src"
And it adds the source to the build.
---------------------------------------------------------------------- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
On 11/21/2017 2:17 PM, Michael Powell via Boost-users wrote:
On Tue, Nov 21, 2017 at 10:28 AM, Michael Powell
wrote: On Tue, Nov 21, 2017 at 10:04 AM, Michael Powell
wrote: Next errors seem to be lzma related. Is this along the same lines as with Zlib and bzip2?
As far as I can tell, lzma is 7-zip related, then? So I need 7-zip "source", or at least the API, which itself is "7-zipped" for download. Go figure. Accurate? Yes/no/maybe?
At least as far as I can determine, I should be downloading the XZ LZMA implementation?
Yes the links for Windows and Linux are https://tukaani.org/xz/xz-5.2.3-windows.zip and https://tukaani.org/xz/xz-5.2.3-windows.7z. I unzipped the Windows one in E:\Utilities\lzma\xz523 and my user-config.jam line for x32 builds is: using lzma : 5.2.3 : <search>E:/Utilities/lzma/xz523/bin_i686 <include>E:/Utilities/lzma/xz523/include ; while my user-config.jam line for x64 builds is: using lzma : 5.2.3 : <search>E:/Utilities/lzma/xz523/bin_x86-64 <include>E:/Utilities/lzma/xz523/include ; I use different user-config.jam files when doing x32 and x64 version of compilers, each of which gets symbolically linked to user-config.jam at the right time.
Additionally, running into what looks like possibly ICU dependency include errors?
i.e. http://site.icu-project.org/
But I've already got Unzip and Gzip tool support included in my CMake build environment. So why not?
To avoid confusion, this is 1.65.1, as well; not the announced 1.66.
Thanks!
On Mon, Nov 20, 2017 at 1:41 PM, Nelson, Erik - 2 via Boost-users
wrote: Michael Powell Sent: Monday, November 20, 2017 1:24 PM
> I am building Boost and making progress. Thus far wondering what > options to provide my B2. I added the zlib include path to the > include="...;/path/to/zlib;...", and now seems to be wanting the LIB > path?
I use
"-sBZIP2_SOURCE=/path/to/bzip2/src" "-sZLIB_SOURCE=/path/to/zlib/src"
And it adds the source to the build.
---------------------------------------------------------------------- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
On Tue, Nov 21, 2017 at 4:03 PM, Edward Diener via Boost-users
On 11/21/2017 2:17 PM, Michael Powell via Boost-users wrote:
On Tue, Nov 21, 2017 at 10:28 AM, Michael Powell
wrote: On Tue, Nov 21, 2017 at 10:04 AM, Michael Powell
wrote: Next errors seem to be lzma related. Is this along the same lines as with Zlib and bzip2?
As far as I can tell, lzma is 7-zip related, then? So I need 7-zip "source", or at least the API, which itself is "7-zipped" for download. Go figure. Accurate? Yes/no/maybe?
At least as far as I can determine, I should be downloading the XZ LZMA implementation?
Yes the links for Windows and Linux are https://tukaani.org/xz/xz-5.2.3-windows.zip and https://tukaani.org/xz/xz-5.2.3-windows.7z. I unzipped the Windows one in E:\Utilities\lzma\xz523 and my user-config.jam line for x32 builds is:
using lzma : 5.2.3 : <search>E:/Utilities/lzma/xz523/bin_i686 <include>E:/Utilities/lzma/xz523/include ;
while my user-config.jam line for x64 builds is:
using lzma : 5.2.3 : <search>E:/Utilities/lzma/xz523/bin_x86-64 <include>E:/Utilities/lzma/xz523/include ;
I use different user-config.jam files when doing x32 and x64 version of compilers, each of which gets symbolically linked to user-config.jam at the right time.
Can those be configured via CMake? Is there full documentation over what the site-/user-config.jam file can contain? Thanks!
Additionally, running into what looks like possibly ICU dependency include errors?
i.e. http://site.icu-project.org/
But I've already got Unzip and Gzip tool support included in my CMake build environment. So why not?
To avoid confusion, this is 1.65.1, as well; not the announced 1.66.
Thanks!
On Mon, Nov 20, 2017 at 1:41 PM, Nelson, Erik - 2 via Boost-users
wrote: Michael Powell Sent: Monday, November 20, 2017 1:24 PM
>> >> I am building Boost and making progress. Thus far wondering what >> options to provide my B2. I added the zlib include path to the >> include="...;/path/to/zlib;...", and now seems to be wanting the LIB >> path?
I use
"-sBZIP2_SOURCE=/path/to/bzip2/src" "-sZLIB_SOURCE=/path/to/zlib/src"
And it adds the source to the build.
---------------------------------------------------------------------- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
AMDG On 11/21/2017 02:21 PM, Michael Powell via Boost-users wrote:
On Tue, Nov 21, 2017 at 4:03 PM, Edward Diener via Boost-users
wrote: <snip>I unzipped the Windows one in E:\Utilities\lzma\xz523 and my user-config.jam line for x32 builds is:
using lzma : 5.2.3 : <search>E:/Utilities/lzma/xz523/bin_i686 <include>E:/Utilities/lzma/xz523/include ;
while my user-config.jam line for x64 builds is:
using lzma : 5.2.3 : <search>E:/Utilities/lzma/xz523/bin_x86-64 <include>E:/Utilities/lzma/xz523/include ;
You don't necessarily need to switch user-config.jam. You can use the requirements argument to control which library is selected for a particular build variant: using lzma : 5.2.3 : <search>... <include>... : <address-model>32 ;
I use different user-config.jam files when doing x32 and x64 version of compilers, each of which gets symbolically linked to user-config.jam at the right time.
Can those be configured via CMake?
You can configure it from the command line with LZMA_INCLUDE/LZMA_LIBRARY_PATH.
Is there full documentation over what the site-/user-config.jam file can contain?
Yeah, that would be nice, wouldn't it? There's documentation zlib and bzip2 via b2 --help zlib, but that doesn't really help for lzma. In Christ, Steven Watanabe
participants (3)
-
Edward Diener
-
Michael Powell
-
Steven Watanabe