Skip to content

PYTHON_VERSION_SUFFIX issue #26

Closed
Closed

Description

@ivanstepanovftw

i think it must be
PYTHON_VERSION_SUFFIX=3
instead of
PYTHON_VERSION_SUFFIX=-py3
-py3 working, but Boost returns /usr/lib/libboost_python.so that usually links to /usr/lib/libboost_python2.so.

Activity

  1. Achimh3011 commented on Oct 28, 2018

    @Achimh3011
    Member

    Which OS/Distro? Unfortunately, each distro uses a different suffix somehow.

  2. ivanstepanovftw commented on Oct 28, 2018

    @ivanstepanovftw
    Author

    Manjaro

  3. mahaidong commented on Nov 8, 2018

    @mahaidong

    in mojave, when using brew python3 as default python:

    brew install boost-python3
    mkdir build && cd build
    cmake ..
    make
    make test
    

    it works for me.

    But it is so difficult to build in python@2.
    brew install boost-python will use the system python to compile libboost_python27-mt.dylib .

    at any python2 environment :

    mkdir build && cd build
    cmake ..
    make
    

    it can pass, but make test will fail.

    finally, I use dirty way to solve this problem.
    After cmake, in the CMakeCache.txt file I change to PYTHON_EXECUTABLE:FILEPATH=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 .

    Then make test succeed.

  4. Achimh3011 commented on Sep 14, 2019

    @Achimh3011
    Member

    @ivanstepanovftw You can add a test for manjaro to build.sh and raise a PR.

  5. ivanstepanovftw commented on Sep 14, 2019

    @ivanstepanovftw
    Author

    @ivanstepanovftw You can add a test for manjaro to build.sh and raise a PR.

    Maybe later, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions