Skip to content

pothospython fails to compile on macOS Mojave 10.14.6  #49

@krpandit

Description

@krpandit

brew install pothospython --head
==> Installing pothospython from pothosware/pothos
==> Cloning https://github.com/pothosware/PothosPython.git
Cloning into '/Users/kunal/Library/Caches/Homebrew/pothospython--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force

If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

Alternatively, manually download them from:
https://developer.apple.com/download/more/.

==> cmake .. -DUSE_PYTHON_CONFIG=ON -DPython_ADDITIONAL_VERSIONS=3
==> make install
Last 15 lines from /Users/kunal/Library/Logs/Homebrew/pothospython/02.make:
PyObjectRef::~PyObjectRef() in PythonProxy.cpp.o
PyObjectRef::operator=(PyObjectRef const&) in PythonHandle.cpp.o
getErrorString() in PythonHandle.cpp.o
PyObjectRef::~PyObjectRef() in PythonHandle.cpp.o
PyObjectRef::~PyObjectRef() in PythonConvert.cpp.o
"__Py_NoneStruct", referenced from:
PythonProxyHandle::call(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, Pothos::Proxy const*, unsigned long) in PythonHandle.cpp.o
convertNullToPyNone(std::__1::shared_ptrPothos::ProxyEnvironment, Pothos::NullObject const&) in PythonConvert.cpp.o
"__Py_TrueStruct", referenced from:
convertPyBoolToBool(Pothos::Proxy const&) in PythonConvert.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libPythonSupport.so] Error 1
make[1]: *** [CMakeFiles/PythonSupport.dir/all] Error 2
make: *** [all] Error 2

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