[opensuse] Boost on Tumbleweed
Mysteriously, the c++ Boost libraries are not built for Tumbleweed https://build.opensuse.org/package/show/devel%3Alibraries%3Ac_c%2B%2B/boost%... Should one just add Factory repo? I try not to mix these things... I see that it has been done for 1.66 by a user. I don't know if the build works. But it builds. https://build.opensuse.org/package/show/home%3Acshnick/boost-static-devel Anyone know why it's not built for Tumbleweed? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 6/12/19 8:10 PM, Roger Oberholtzer wrote:
Mysteriously, the c++ Boost libraries are not built for Tumbleweed
https://build.opensuse.org/package/show/devel%3Alibraries%3Ac_c%2B%2B/boost%...
Should one just add Factory repo? I try not to mix these things...
First question would be, do you need Boost 1.70? 1.69 is not enough? If you need 1.70, get the binaries installed as RPMs. Generally not a good idea to pull in the entire devel:libraries:c_c++ project into your distro, unless for testing purposes only.
I see that it has been done for 1.66 by a user. I don't know if the build works. But it builds.
https://build.opensuse.org/package/show/home%3Acshnick/boost-static-devel
No, those are static libraries. These are way out of date anyway as official Tumbleweed version already has 1.69 anyway.
Anyone know why it's not built for Tumbleweed?
openSUSE_Factory in devel:libraries:c_c++ is actually openSUSE:Factory/snapshot which is openSUSE_Tumbleweed. - Adam -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Jun 13, 2019 at 9:43 AM Adam Majer <amajer@suse.de> wrote:
First question would be, do you need Boost 1.70? 1.69 is not enough? If you need 1.70, get the binaries installed as RPMs. Generally not a good idea to pull in the entire devel:libraries:c_c++ project into your distro, unless for testing purposes only.
The immediate use states: latest version advised, 1.56 minimum: for boost::geometry, boost::program_options, boost::filesystem, boost::variant
I see that it has been done for 1.66 by a user. I don't know if the build works. But it builds.
https://build.opensuse.org/package/show/home%3Acshnick/boost-static-devel
No, those are static libraries. These are way out of date anyway as official Tumbleweed version already has 1.69 anyway.
I don't want static libraries. It was more that I was curious.
openSUSE_Factory in devel:libraries:c_c++ is actually openSUSE:Factory/snapshot which is openSUSE_Tumbleweed.
So perhaps I will just grab the RPMs from there and install them. That works for me. I have long since discovered the mess one can get into when mixing repos across releases. Is this generally the case when there is no explicit Tumbleweed repo: if there is a openSUSE:Factory/snapshot it should work as well? Or is this only the case for some repos? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 6/13/19 11:36 AM, Roger Oberholtzer wrote:
On Thu, Jun 13, 2019 at 9:43 AM Adam Majer <amajer@suse.de> wrote:
First question would be, do you need Boost 1.70? 1.69 is not enough? If you need 1.70, get the binaries installed as RPMs. Generally not a good idea to pull in the entire devel:libraries:c_c++ project into your distro, unless for testing purposes only.
The immediate use states: latest version advised, 1.56 minimum: for boost::geometry, boost::program_options, boost::filesystem, boost::variant
Ok, then for testing purposes just install the latest. But you should be OK with the Tumbleweed version (1.69) as well. 1.70 is not quite ready for Tumbleweed as there is a problem building MPI python extension which needs to be sorted.
openSUSE_Factory in devel:libraries:c_c++ is actually openSUSE:Factory/snapshot which is openSUSE_Tumbleweed.
So perhaps I will just grab the RPMs from there and install them. That works for me.
I have long since discovered the mess one can get into when mixing repos across releases.
Yes, but be careful as there are lots of packages like zypper and libzypp that uses boost. You can break your system if you are not careful. Maybe only do this in a VM for testing purposes with your program. If you need a running system, then just use the Boost from Tumbleweed which is already 1.69. Only few months old ;) Use VM to make sure that your program still compiles with new boost, but I don't think there were many breaking changes.
Is this generally the case when there is no explicit Tumbleweed repo: if there is a openSUSE:Factory/snapshot it should work as well? Or is this only the case for some repos?
Yes, it should work. - Adam -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Jun 13, 2019 at 11:48 AM Adam Majer <amajer@suse.de> wrote:
Yes, but be careful as there are lots of packages like zypper and libzypp that uses boost. You can break your system if you are not careful. Maybe only do this in a VM for testing purposes with your program.
If you need a running system, then just use the Boost from Tumbleweed which is already 1.69. Only few months old ;) Use VM to make sure that your program still compiles with new boost, but I don't think there were many breaking changes.
In fact, I was planning on adding the program to OBS as I think it is generally useful for Mapping/GPS. So getting it to build in OBS is a goal. Ideally I would use the system's version of Boost as I do not think there is any other requirement. Hopefully it would not replace any libraries used by things like libzypp. But before setting it up in OBS, I wanted to get it to compile locally. And my machine for this is Tumbleweed. Which started all this.... -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 6/13/19 12:05 PM, Roger Oberholtzer wrote:
But before setting it up in OBS, I wanted to get it to compile locally. And my machine for this is Tumbleweed. Which started all this....
Then just zypper in libboost_filesystem-devel libboost_program_options-devel and you are set. Don't pull things from devel projects when you don't need to. If it will fail to build with new Boost, someone (like me) will let you know. - Adam -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Adam Majer
-
Roger Oberholtzer