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

./install.sh fails in Mac OS Monterey 12.5 ( M1 Pro ) #301

Open
kaustav1996 opened this issue Aug 5, 2022 · 2 comments
Open

./install.sh fails in Mac OS Monterey 12.5 ( M1 Pro ) #301

kaustav1996 opened this issue Aug 5, 2022 · 2 comments

Comments

@kaustav1996
Copy link

Here is what I am getting when I run ./install.sh

./install.sh                     ✔  178  14:01:31
Prefix set to /Users/kaustav1996/torch/install
Installing Lua version: LUAJIT21
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at exe/luajit-rocks/CMakeLists.txt:9 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at exe/luajit-rocks/CMakeLists.txt:10 (CMAKE_POLICY):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at exe/luajit-rocks/luarocks/CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at exe/luajit-rocks/luarocks/CMakeLists.txt:4 (CMAKE_POLICY):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


ld: warning: Linking with PIE, -image_base will be ignored
/bin/sh: line 1: 88808 Killed: 9               ./minilua /Users/kaustav1996/torch/exe/luajit-rocks/luajit-2.1/dynasm/dynasm.lua -D P64 -D FFI -D DUALNUM -D FPU -D HFABI -o /Users/kaustav1996/torch/build/exe/luajit-rocks/luajit-2.1/buildvm_arch.h /Users/kaustav1996/torch/exe/luajit-rocks/luajit-2.1/src/vm_arm64.dasc
make[2]: *** [exe/luajit-rocks/luajit-2.1/buildvm_arch.h] Error 137
make[1]: *** [exe/luajit-rocks/luajit-2.1/CMakeFiles/buildvm.dir/all] Error 2
make: *** [all] Error 2
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: /Users/kaustav1996/torch/install/lib/libluajit.dylib (No such file or directory)
./install.sh: line 107: /Users/kaustav1996/torch/install/bin/luarocks: No such file or directory
Installing common Lua packages
./install.sh: line 111: /Users/kaustav1996/torch/install/bin/luarocks: No such file or directory
@gesijia174
Copy link

I have the same issue. Have you resolved yet?

@hariv24
Copy link

hariv24 commented Apr 4, 2024

I have the same issue. Have you resolved yet?

I too have the same problem, did you find a solution ?

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

3 participants