astro-informatics / ssht

Fast and exact spin spherical harmonic transforms
http://astro-informatics.github.io/ssht/
GNU General Public License v3.0
11 stars 2 forks source link

Python module's build fails to find the ssht package #64

Open yurivict opened 2 years ago

yurivict commented 2 years ago

Instead it looks for conan for some reason:

===>  Configuring for py39-ssht-1.5.1
running config
===>  Building for py39-ssht-1.5.1

--------------------------------------------------------------------------------
-- Trying "Ninja" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
-- The C compiler identification is Clang 14.0.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /disk-samsung/freebsd-ports/math/py-ssht/work-py39/ssht-1.5.1/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja" generator - success
--------------------------------------------------------------------------------

Configuring Project
  Working directory:
    /disk-samsung/freebsd-ports/math/py-ssht/work-py39/ssht-1.5.1/_skbuild/freebsd-13.1-STABLE-amd64-3.9/cmake-build
  Command:
    cmake /disk-samsung/freebsd-ports/math/py-ssht/work-py39/ssht-1.5.1 -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/disk-samsung/freebsd-ports/math/py-ssht/work-py39/ssht-1.5.1/_skbuild/freebsd-13.1-STABLE-amd64-3.9/cmake-install -DPYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python3.9 -DPYTHON_VERSION_STRING:STRING=3.9.13 -DPYTHON_INCLUDE_DIR:PATH=/usr/local/include/python3.9 -DPYTHON_LIBRARY:FILEPATH=/usr/local/lib/libpython3.9.so -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/usr/local/lib/python3.9/site-packages/skbuild/resources/cmake -DBUILD_TESTING:BOOL=OFF -Dconan_deps=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE:STRING=Release

-- The C compiler identification is Clang 14.0.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Downloading conan.cmake from https://github.com/conan-io/cmake-conan
-- Conan: checking conan executable
CMake Error at _skbuild/freebsd-13.1-STABLE-amd64-3.9/cmake-build/conan.cmake:795 (message):
  Conan executable not found! Please install conan.
Call Stack (most recent call first):
  _skbuild/freebsd-13.1-STABLE-amd64-3.9/cmake-build/conan.cmake:531 (conan_check)
  cmake/conan_dependencies.cmake:12 (conan_cmake_install)
  CMakeLists.txt:17 (include)