Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Build bpy #628

Open
mrakitin opened this issue Apr 3, 2019 · 1 comment
Open

Build bpy #628

mrakitin opened this issue Apr 3, 2019 · 1 comment
Milestone

Comments

@mrakitin
Copy link
Member

mrakitin commented Apr 3, 2019

A CHX user's requested to build bpy. Here is what we found about this non-standard package:

I spent some time trying to install cmake in our Debian 7.9 Docker image, but it fails due to the repositories were archived/moved from the standard location. @tacaswell suggested to use deb http://archive.debian.org/debian wheezy main, which worked, but after an attempt to build the package, it turned out the version of cmake was pretty old. Attempted to use conda's version of cmake, which worked better, however the following error was observed:

  -- Found Git: /usr/bin/git (found version "1.7.10.4")
  CMake Error at /conda/envs/bpy/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
    Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
  Call Stack (most recent call first):
    /conda/envs/bpy/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
    /conda/envs/bpy/share/cmake-3.14/Modules/FindJPEG.cmake:100 (find_package_handle_standard_args)
    build_files/cmake/platform/platform_unix.cmake:51 (find_package)
    build_files/cmake/platform/platform_unix.cmake:55 (find_package_wrapper)
    CMakeLists.txt:879 (include)


  -- Configuring incomplete, errors occurred!
  See also "/tmp/pip-install-do015pee/bpy/build/temp.linux-x86_64-3.6/CMakeFiles/CMakeOutput.log".
  error: command 'cmake' failed with exit status 1
@mrakitin
Copy link
Member Author

mrakitin commented Apr 3, 2019

The issue above was resolved by conda install jpeg, however the following error came up:

    -- Found Git: /usr/bin/git (found version "1.7.10.4")
    -- Found JPEG: /conda/envs/bpy/lib/libjpeg.so (found version "90")
    -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7")
    CMake Error at /conda/envs/bpy/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
      Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
    Call Stack (most recent call first):
      /conda/envs/bpy/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
      /conda/envs/bpy/share/cmake-3.14/Modules/FindPNG.cmake:143 (find_package_handle_standard_args)
      build_files/cmake/platform/platform_unix.cmake:51 (find_package)
      build_files/cmake/platform/platform_unix.cmake:56 (find_package_wrapper)
      CMakeLists.txt:879 (include)

That one was resolved by conda install libpng. Next bunch of errors:

    -- SSE2 Support: detected.
    -- Found Git: /usr/bin/git (found version "1.7.10.4")
    -- Found JPEG: /conda/envs/bpy/lib/libjpeg.so (found version "90")
    -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7")
    -- Found PNG: /conda/envs/bpy/lib/libpng.so (found version "1.6.36")
    -- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.4.9")
    CMake Error at /conda/envs/bpy/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
      Could NOT find PythonLibsUnix (missing: PYTHON_LIBRARY PYTHON_LIBPATH
      PYTHON_INCLUDE_DIR PYTHON_INCLUDE_CONFIG_DIR)
    Call Stack (most recent call first):
      /conda/envs/bpy/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
      build_files/cmake/Modules/FindPythonLibsUnix.cmake:181 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
      build_files/cmake/platform/platform_unix.cmake:83 (find_package)
      CMakeLists.txt:879 (include)

@mrakitin mrakitin added this to the nsls-ii-forge milestone Sep 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant