This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
luarocks install torchx | |
Installing https://raw.githubusercontent.com/torch/rocks/master/torchx-scm-1.rockspec... | |
Using https://raw.githubusercontent.com/torch/rocks/master/torchx-scm-1.rockspec... switching to 'build' mode | |
Cloning into 'torchx'... | |
remote: Counting objects: 23, done. | |
remote: Compressing objects: 100% (21/21), done. | |
remote: Total 23 (delta 0), reused 11 (delta 0), pack-reused 0 | |
Receiving objects: 100% (23/23), 24.58 KiB | 0 bytes/s, done. | |
git submodule init | |
git submodule update | |
cmake -E make_directory build; | |
cd build; | |
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/usr2/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/usr2/torch/install/lib/luarocks/rocks/torchx/scm-1"; | |
make | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git | |
-- The C compiler identification is SunPro 5.9.0 | |
-- The CXX compiler identification is SunPro 5.9.0 | |
-- Check for working C compiler: /opt/sunstudio/bin/cc | |
-- Check for working C compiler: /opt/sunstudio/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working CXX compiler: /opt/sunstudio/bin/CC | |
-- Check for working CXX compiler: /opt/sunstudio/bin/CC -- broken | |
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:54 (message): | |
The C++ compiler "/opt/sunstudio/bin/CC" is not able to compile a simple | |
test program. | |
It fails with the following output: | |
Change Dir: /tmp/luarocks_torchx-scm-1-2448/torchx/build/CMakeFiles/CMakeTmp | |
Run Build Command:/usr/bin/gmake "cmTryCompileExec3791930097/fast" | |
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3791930097.dir/build.make | |
CMakeFiles/cmTryCompileExec3791930097.dir/build | |
gmake[1]: Entering directory | |
`/tmp/luarocks_torchx-scm-1-2448/torchx/build/CMakeFiles/CMakeTmp' | |
/usr/bin/cmake -E cmake_progress_report | |
/tmp/luarocks_torchx-scm-1-2448/torchx/build/CMakeFiles/CMakeTmp/CMakeFiles | |
1 | |
Building CXX object | |
CMakeFiles/cmTryCompileExec3791930097.dir/testCXXCompiler.cxx.o | |
/opt/sunstudio/bin/CC -o | |
CMakeFiles/cmTryCompileExec3791930097.dir/testCXXCompiler.cxx.o -c | |
/tmp/luarocks_torchx-scm-1-2448/torchx/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx | |
Linking CXX executable cmTryCompileExec3791930097 | |
/usr/bin/cmake -E cmake_link_script | |
CMakeFiles/cmTryCompileExec3791930097.dir/link.txt --verbose=1 | |
/opt/sunstudio/bin/CC | |
CMakeFiles/cmTryCompileExec3791930097.dir/testCXXCompiler.cxx.o -o | |
cmTryCompileExec3791930097 | |
/lib64/libm.so: file not recognized: File format not recognized | |
gmake[1]: Leaving directory | |
`/tmp/luarocks_torchx-scm-1-2448/torchx/build/CMakeFiles/CMakeTmp' | |
gmake[1]: *** [cmTryCompileExec3791930097] Error 1 | |
gmake: *** [cmTryCompileExec3791930097/fast] Error 2 | |
CMake will not be able to correctly generate this project. | |
Call Stack (most recent call first): | |
-- Configuring incomplete, errors occurred! | |
make: *** No targets specified and no makefile found. Stop. | |
Error: Build error: Failed building. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment