Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Boost C++ could not be installed in LEAP 15.1

  1. #11

    Default Re: Boost C++ could not be installed in LEAP 15.1

    Quote Originally Posted by arvidjaar View Post
    You need libboost*-devel packages. Which exactly depends on which headers you need. If in doubt, you can simply do
    Code:
    zypper in 'libboost*-devel'
    which installs everything.
    - installs everything from repositories user already have.

  2. #12

    Default Re: Boost C++ could not be installed in LEAP 15.1

    Quote Originally Posted by tsu2 View Post
    +1.

    Also,
    Some recommendations...
    Install the C Development pattern (for the newcomer, use YaST Software Manager, Patterns view)
    It should install all the likely base development libraries you'll need, and I'd guess nearly 100% that libboost will be installed... It's such a commonly needed library.

    As @arvidjaar describes, you should know that libraries used to build/compile have a "-devel" appended to the package name. Regular "ready to run" libraries used to simply run things (often pre-compiled code) won't be designated that way.

    I'd also recommend that for Development related questions including setup like this and anything thereafter, you should post in the Development forums instead of this Forum which is mainly frequented by Users looking for answers.

    TSU
    Thank you for the information. My problem is solved by trial and error, but good to know there are patterns. I am newbie, so did not know what forum is appropriate.

    I still think there is this problem with the link to install boost, which is misleading and does not work. I appreciate experts taking some action on that.

  3. #13

    Default Re: Boost C++ could not be installed in LEAP 15.1

    Quote Originally Posted by karlmistelberger View Post
    As a newbie I installed iteratively required packages by trial and error, which is tedious. But patterns are a great feature:

    Code:
    erlangen:~ # zypper search --type pattern --installed-only --details 
    erlangen:~ #
    Code:
    erlangen:~ # zypper install --type pattern lamp_server
    erlangen:~ #
    Thank you. These examples are helpful for my future work.

  4. #14
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    3,376

    Cool Re: Boost C++ could not be installed in LEAP 15.1

    Quote Originally Posted by anatomist.noelectrons View Post
    I still think there is this problem with the link to install boost, which is misleading and does not work.
    Yes, simply searching for Boost related to openSUSE doesn't bring up anything easily understood – on the other hand, Internet searches often produce such results …

    Taking a look into the openSUSE repositories for “Boost” reveals that, openSUSE offers Boost C++ Libraries – the source code is available in the “boost-base” RPM package.
    Performing “zypper info boost-base” from a CLI produces the information that “boost-base” is a source package and, the following list of binary library packages are built when the source code is compiled:
    Code:
        S | Name                                           | Version
        --+------------------------------------------------+-------------------
          | boost-base-debugsource                         | 1.66.0-lp151.5.3.1
        i | boost-license1_66_0                            | 1.66.0-lp151.5.3.1
        i | boost_1_66-jam                                 | 1.66.0-lp151.5.3.1
          | libboost_atomic1_66_0                          | 1.66.0-lp151.5.3.1
          | libboost_atomic1_66_0-32bit                    | 1.66.0-lp151.5.3.1
          | libboost_atomic1_66_0-32bit-debuginfo          | 1.66.0-lp151.5.3.1
          | libboost_atomic1_66_0-debuginfo                | 1.66.0-lp151.5.3.1
          | libboost_atomic1_66_0-devel                    | 1.66.0-lp151.5.3.1
          | libboost_chrono1_66_0                          | 1.66.0-lp151.5.3.1
          | libboost_chrono1_66_0-debuginfo                | 1.66.0-lp151.5.3.1
          | libboost_chrono1_66_0-devel                    | 1.66.0-lp151.5.3.1
          | libboost_container1_66_0                       | 1.66.0-lp151.5.3.1
          | libboost_container1_66_0-32bit                 | 1.66.0-lp151.5.3.1
          | libboost_container1_66_0-32bit-debuginfo       | 1.66.0-lp151.5.3.1
          | libboost_container1_66_0-debuginfo             | 1.66.0-lp151.5.3.1
          | libboost_container1_66_0-devel                 | 1.66.0-lp151.5.3.1
          | libboost_context1_66_0                         | 1.66.0-lp151.5.3.1
          | libboost_context1_66_0-32bit                   | 1.66.0-lp151.5.3.1
          | libboost_context1_66_0-32bit-debuginfo         | 1.66.0-lp151.5.3.1
          | libboost_context1_66_0-debuginfo               | 1.66.0-lp151.5.3.1
          | libboost_context1_66_0-devel                   | 1.66.0-lp151.5.3.1
          | libboost_coroutine1_66_0                       | 1.66.0-lp151.5.3.1
          | libboost_coroutine1_66_0-32bit                 | 1.66.0-lp151.5.3.1
          | libboost_coroutine1_66_0-32bit-debuginfo       | 1.66.0-lp151.5.3.1
          | libboost_coroutine1_66_0-debuginfo             | 1.66.0-lp151.5.3.1
          | libboost_coroutine1_66_0-devel                 | 1.66.0-lp151.5.3.1
        i | libboost_date_time1_66_0                       | 1.66.0-lp151.5.3.1
          | libboost_date_time1_66_0-32bit                 | 1.66.0-lp151.5.3.1
          | libboost_date_time1_66_0-32bit-debuginfo       | 1.66.0-lp151.5.3.1
          | libboost_date_time1_66_0-debuginfo             | 1.66.0-lp151.5.3.1
          | libboost_date_time1_66_0-devel                 | 1.66.0-lp151.5.3.1
          | libboost_fiber1_66_0                           | 1.66.0-lp151.5.3.1
          | libboost_fiber1_66_0-32bit                     | 1.66.0-lp151.5.3.1
          | libboost_fiber1_66_0-32bit-debuginfo           | 1.66.0-lp151.5.3.1
          | libboost_fiber1_66_0-debuginfo                 | 1.66.0-lp151.5.3.1
          | libboost_fiber1_66_0-devel                     | 1.66.0-lp151.5.3.1
        i | libboost_filesystem1_66_0                      | 1.66.0-lp151.5.3.1
          | libboost_filesystem1_66_0-32bit                | 1.66.0-lp151.5.3.1
          | libboost_filesystem1_66_0-32bit-debuginfo      | 1.66.0-lp151.5.3.1
          | libboost_filesystem1_66_0-debuginfo            | 1.66.0-lp151.5.3.1
          | libboost_filesystem1_66_0-devel                | 1.66.0-lp151.5.3.1
          | libboost_graph1_66_0                           | 1.66.0-lp151.5.3.1
          | libboost_graph1_66_0-32bit                     | 1.66.0-lp151.5.3.1
          | libboost_graph1_66_0-32bit-debuginfo           | 1.66.0-lp151.5.3.1
          | libboost_graph1_66_0-debuginfo                 | 1.66.0-lp151.5.3.1
          | libboost_graph1_66_0-devel                     | 1.66.0-lp151.5.3.1
        i | libboost_headers1_66_0-devel                   | 1.66.0-lp151.5.3.1
        i | libboost_iostreams1_66_0                       | 1.66.0-lp151.5.3.1
          | libboost_iostreams1_66_0-32bit                 | 1.66.0-lp151.5.3.1
          | libboost_iostreams1_66_0-32bit-debuginfo       | 1.66.0-lp151.5.3.1
          | libboost_iostreams1_66_0-debuginfo             | 1.66.0-lp151.5.3.1
          | libboost_iostreams1_66_0-devel                 | 1.66.0-lp151.5.3.1
        i | libboost_locale1_66_0                          | 1.66.0-lp151.5.3.1
          | libboost_locale1_66_0-32bit                    | 1.66.0-lp151.5.3.1
          | libboost_locale1_66_0-32bit-debuginfo          | 1.66.0-lp151.5.3.1
          | libboost_locale1_66_0-debuginfo                | 1.66.0-lp151.5.3.1
          | libboost_locale1_66_0-devel                    | 1.66.0-lp151.5.3.1
          | libboost_log1_66_0                             | 1.66.0-lp151.5.3.1
          | libboost_log1_66_0-debuginfo                   | 1.66.0-lp151.5.3.1
          | libboost_log1_66_0-devel                       | 1.66.0-lp151.5.3.1
          | libboost_math1_66_0                            | 1.66.0-lp151.5.3.1
          | libboost_math1_66_0-32bit                      | 1.66.0-lp151.5.3.1
          | libboost_math1_66_0-32bit-debuginfo            | 1.66.0-lp151.5.3.1
          | libboost_math1_66_0-debuginfo                  | 1.66.0-lp151.5.3.1
          | libboost_math1_66_0-devel                      | 1.66.0-lp151.5.3.1
        i | libboost_program_options1_66_0                 | 1.66.0-lp151.5.3.1
          | libboost_program_options1_66_0-32bit           | 1.66.0-lp151.5.3.1
          | libboost_program_options1_66_0-32bit-debuginfo | 1.66.0-lp151.5.3.1
          | libboost_program_options1_66_0-debuginfo       | 1.66.0-lp151.5.3.1
          | libboost_program_options1_66_0-devel           | 1.66.0-lp151.5.3.1
          | libboost_random1_66_0                          | 1.66.0-lp151.5.3.1
          | libboost_random1_66_0-32bit                    | 1.66.0-lp151.5.3.1
          | libboost_random1_66_0-32bit-debuginfo          | 1.66.0-lp151.5.3.1
          | libboost_random1_66_0-debuginfo                | 1.66.0-lp151.5.3.1
          | libboost_random1_66_0-devel                    | 1.66.0-lp151.5.3.1
          | libboost_regex1_66_0                           | 1.66.0-lp151.5.3.1
          | libboost_regex1_66_0-32bit                     | 1.66.0-lp151.5.3.1
          | libboost_regex1_66_0-32bit-debuginfo           | 1.66.0-lp151.5.3.1
          | libboost_regex1_66_0-debuginfo                 | 1.66.0-lp151.5.3.1
          | libboost_regex1_66_0-devel                     | 1.66.0-lp151.5.3.1
          | libboost_serialization1_66_0                   | 1.66.0-lp151.5.3.1
          | libboost_serialization1_66_0-32bit             | 1.66.0-lp151.5.3.1
          | libboost_serialization1_66_0-32bit-debuginfo   | 1.66.0-lp151.5.3.1
          | libboost_serialization1_66_0-debuginfo         | 1.66.0-lp151.5.3.1
          | libboost_serialization1_66_0-devel             | 1.66.0-lp151.5.3.1
          | libboost_signals1_66_0                         | 1.66.0-lp151.5.3.1
          | libboost_signals1_66_0-32bit                   | 1.66.0-lp151.5.3.1
          | libboost_signals1_66_0-32bit-debuginfo         | 1.66.0-lp151.5.3.1
          | libboost_signals1_66_0-debuginfo               | 1.66.0-lp151.5.3.1
          | libboost_signals1_66_0-devel                   | 1.66.0-lp151.5.3.1
          | libboost_stacktrace1_66_0                      | 1.66.0-lp151.5.3.1
          | libboost_stacktrace1_66_0-32bit                | 1.66.0-lp151.5.3.1
          | libboost_stacktrace1_66_0-32bit-debuginfo      | 1.66.0-lp151.5.3.1
          | libboost_stacktrace1_66_0-debuginfo            | 1.66.0-lp151.5.3.1
          | libboost_stacktrace1_66_0-devel                | 1.66.0-lp151.5.3.1
        i | libboost_system1_66_0                          | 1.66.0-lp151.5.3.1
          | libboost_system1_66_0-32bit                    | 1.66.0-lp151.5.3.1
          | libboost_system1_66_0-32bit-debuginfo          | 1.66.0-lp151.5.3.1
          | libboost_system1_66_0-debuginfo                | 1.66.0-lp151.5.3.1
          | libboost_system1_66_0-devel                    | 1.66.0-lp151.5.3.1
          | libboost_test1_66_0                            | 1.66.0-lp151.5.3.1
          | libboost_test1_66_0-32bit                      | 1.66.0-lp151.5.3.1
          | libboost_test1_66_0-32bit-debuginfo            | 1.66.0-lp151.5.3.1
          | libboost_test1_66_0-debuginfo                  | 1.66.0-lp151.5.3.1
          | libboost_test1_66_0-devel                      | 1.66.0-lp151.5.3.1
        i | libboost_thread1_66_0                          | 1.66.0-lp151.5.3.1
          | libboost_thread1_66_0-32bit                    | 1.66.0-lp151.5.3.1
          | libboost_thread1_66_0-32bit-debuginfo          | 1.66.0-lp151.5.3.1
          | libboost_thread1_66_0-debuginfo                | 1.66.0-lp151.5.3.1
          | libboost_thread1_66_0-devel                    | 1.66.0-lp151.5.3.1
          | libboost_timer1_66_0                           | 1.66.0-lp151.5.3.1
          | libboost_timer1_66_0-debuginfo                 | 1.66.0-lp151.5.3.1
          | libboost_timer1_66_0-devel                     | 1.66.0-lp151.5.3.1
          | libboost_type_erasure1_66_0                    | 1.66.0-lp151.5.3.1
          | libboost_type_erasure1_66_0-32bit              | 1.66.0-lp151.5.3.1
          | libboost_type_erasure1_66_0-32bit-debuginfo    | 1.66.0-lp151.5.3.1
          | libboost_type_erasure1_66_0-debuginfo          | 1.66.0-lp151.5.3.1
          | libboost_type_erasure1_66_0-devel              | 1.66.0-lp151.5.3.1
          | libboost_wave1_66_0                            | 1.66.0-lp151.5.3.1
          | libboost_wave1_66_0-32bit                      | 1.66.0-lp151.5.3.1
          | libboost_wave1_66_0-32bit-debuginfo            | 1.66.0-lp151.5.3.1
          | libboost_wave1_66_0-debuginfo                  | 1.66.0-lp151.5.3.1
          | libboost_wave1_66_0-devel                      | 1.66.0-lp151.5.3.1
    Possibly superfluous but, C++ developers use these libraries to provide support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing.

  5. #15
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,772
    Blog Entries
    2

    Default Re: Boost C++ could not be installed in LEAP 15.1

    IIRC the last time I likely posted public code for installing a C/C++ development environment was to build by script the Leela chess engine (see below)

    You can inspect the code on this page for the full unattended setup that automatically detects the version of openSUSE installed (ie TW or LEAP, and what distro version number), install the appropriate repositories for the installed openSUSE, install the necessary C/C++ development libraries plus any other tools that might be needed, and then when the development tools and libraries/dependencies are installed clone the main Leela project and build the entire thing.

    The code
    https://github.com/putztzu/lc0/blob/...penSUSE_lc0.sh

    The specific C/C++ Development pattern you should install
    Code:
    zypper in -y -t pattern devel_C_C++ 
    I wrote the code to presumably work indefinitely with all openSUSE versions at that time and future versions like 15.2 with zero maintenance as long as the Leela project itself didn't need new dependencies.
    But, I haven't inspected or maintained that code since it was submitted.
    Unless a person had a reason to build from source, I wouldn't recommend what I wrote, instead Malcolm built and is maintaining packages in the openSUSE repos which supports not just generic OpenBLAS (which is only what my code supports) but also both nVidia and AMD GPU computing.

    But, the code I wrote might still be useful for someone who wants code that does unattended installs (or manual installs).

    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #16

    Default Re: Boost C++ could not be installed in LEAP 15.1

    Thank you for the info.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •