Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PST Extension installation failed on Windows and Mac OS #2

Open
AbderrahimAl opened this issue Apr 22, 2024 · 1 comment
Open

PST Extension installation failed on Windows and Mac OS #2

AbderrahimAl opened this issue Apr 22, 2024 · 1 comment

Comments

@AbderrahimAl
Copy link
Member

The extension was tested successfully both on Linux and Mac OS (intel processor). The issue is encountered when trying to install it in Windows and in Mac OS (M1).

× Building wheel for libpff-python (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [59 lines of output]
      running bdist_wheel
      running build
      running build_ext
      configure:
      Building:
         libcerror support:                        local
         libcthreads support:                      local
         libcdata support:                         local
         libclocale support:                       local
         libcnotify support:                       local
         libcsplit support:                        local
         libuna support:                           local
         libcfile support:                         local
         libcpath support:                         local
         libbfio support:                          local
         libfcache support:                        local
         libfdata support:                         local
         libfdatetime support:                     local
         libfguid support:                         local
         libfvalue support:                        local
         libfwnt support:                          local
         libfmapi support:                         local
         DEFLATE compression support:              local
      
      Features:
         Multi-threading support:                  pthread
         Wide character type support:              no
         pfftools are build as static executables: no
         Python (pypff) support:                   no
         Verbose output:                           no
         Debug output:                             no
      
      
      building 'pypff' extension
      creating build
      creating build/temp.macosx-11.0-arm64-cpython-311
      creating build/temp.macosx-11.0-arm64-cpython-311/libbfio
      creating build/temp.macosx-11.0-arm64-cpython-311/libcdata
      creating build/temp.macosx-11.0-arm64-cpython-311/libcerror
      creating build/temp.macosx-11.0-arm64-cpython-311/libcfile
      creating build/temp.macosx-11.0-arm64-cpython-311/libclocale
      creating build/temp.macosx-11.0-arm64-cpython-311/libcnotify
      creating build/temp.macosx-11.0-arm64-cpython-311/libcpath
      creating build/temp.macosx-11.0-arm64-cpython-311/libcsplit
      creating build/temp.macosx-11.0-arm64-cpython-311/libcthreads
      creating build/temp.macosx-11.0-arm64-cpython-311/libfcache
      creating build/temp.macosx-11.0-arm64-cpython-311/libfdata
      creating build/temp.macosx-11.0-arm64-cpython-311/libfdatetime
      creating build/temp.macosx-11.0-arm64-cpython-311/libfguid
      creating build/temp.macosx-11.0-arm64-cpython-311/libfmapi
      creating build/temp.macosx-11.0-arm64-cpython-311/libfvalue
      creating build/temp.macosx-11.0-arm64-cpython-311/libfwnt
      creating build/temp.macosx-11.0-arm64-cpython-311/libpff
      creating build/temp.macosx-11.0-arm64-cpython-311/libuna
      creating build/temp.macosx-11.0-arm64-cpython-311/pypff
      clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Applications/KNIME 5.2.3.app/Contents/Eclipse/bundling/envs/ai_redfield_pst/include -arch arm64 -fPIC -O2 -isystem /Applications/KNIME 5.2.3.app/Contents/Eclipse/bundling/envs/ai_redfield_pst/include -arch arm64 -DHAVE_CONFIG_H= -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfdatetime -Ilibfguid -Ilibfvalue -Ilibfwnt -Ilibfmapi -Ilibpff "-I/Applications/KNIME 5.2.3.app/Contents/Eclipse/bundling/envs/ai_redfield_pst/include/python3.11" -c libbfio/libbfio_error.c -o build/temp.macosx-11.0-arm64-cpython-311/libbfio/libbfio_error.o
      clang: error: no such file or directory: '5.2.3.app/Contents/Eclipse/bundling/envs/ai_redfield_pst/include'
      clang: error: no such file or directory: '5.2.3.app/Contents/Eclipse/bundling/envs/ai_redfield_pst/include'
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for libpff-python
ERROR: Could not build wheels for libpff-python, which is required to install pyproject.toml-based projects
@AbderrahimAl
Copy link
Member Author

Unfortunately, Building libpff-python library requires having C++ Built Tools installed.
This issue was solved for Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant