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

Error installing qtlua and lua-cjson #2

Open
ProGamerGov opened this issue Oct 4, 2016 · 3 comments
Open

Error installing qtlua and lua-cjson #2

ProGamerGov opened this issue Oct 4, 2016 · 3 comments

Comments

@ProGamerGov
Copy link

ProGamerGov commented Oct 4, 2016

ubuntu@ip-Address:~/torch$ luarocks install qtlua
Installing https://raw.githubusercontent.com/torch/rocks/master/qtlua-scm-1.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/qtlua-scm-1.rockspec... switching to 'build' mode
Cloning into 'qtlua'...
remote: Counting objects: 169, done.
remote: Compressing objects: 100% (163/163), done.
remote: Total 169 (delta 12), reused 124 (delta 2), pack-reused 0
Receiving objects: 100% (169/169), 363.48 KiB | 0 bytes/s, done.
Resolving deltas: 100% (12/12), done.
Checking connectivity... done.
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUA=/home/ubuntu/torch/install/bin/luajit -DLUA_BINDIR="/home/ubuntu/torch/install/bin" -DLUA_INCDIR="/home/ubuntu/torch/install/include" -DLUA_LIBDIR="/home/ubuntu/torch/install/lib" -DLUADIR="/home/ubuntu/torch/install/lib/luarocks/rocks/qtlua/scm-1/lua" -DLIBDIR="/home/ubuntu/torch/install/lib/luarocks/rocks/qtlua/scm-1/lib" -DCONFDIR="/home/ubuntu/torch/install/lib/luarocks/rocks/qtlua/scm-1/conf" && make

-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.5/Modules/FindQt4.cmake:1326 (message):
  Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
  CMakeLists.txt:38 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_qtlua-scm-1-8207/qtlua/build/CMakeFiles/CMakeOutput.log".

Error: Build error: Failed building.

And the second error.

ubuntu@ip-Address:~$ luarocks install lua-cjson
Installing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lua-cjson-2.1.0-1.src.rock...
Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lua-cjson-2.1.0-1.src.rock... switching to 'build' mode

Error: Failed unpacking rock file: /tmp/luarocks_luarocks-rock-lua-cjson-2.1.0-1-4081/lua-cjson-2.1.0-1.src.rock
ubuntu@ip-Address:~$

Everything else seemed to install without issue.

Edit:

The lua-cjson issue is solved with sudo apt-get install unzip.

@jcjohnson
Copy link
Owner

I'm not sure what's causing the qtlua issue - maybe try opening an issue over at https://github.com/torch/qtlua?

@ProGamerGov
Copy link
Author

@jcjohnson I just did here: torch/qtlua#34 My searching for an answer led me to see that the issue popped up in 2013-2014 and was fixed by the qtlua devs. Maybe it returned?

@jcjohnson
Copy link
Owner

If you are on Ubuntu can you try

sudo apt-get install libqt4-dev

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

2 participants