-
Notifications
You must be signed in to change notification settings - Fork 35
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
Installation error in Arch linux #25
Comments
I'm also on Arch. I'm getting a different error, but I'll report it here instead of opening a new issue.
The file
|
@lendle My workaround for most things that can only work with python2 on Arch is to put this simple script early in my PATH:
Then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting an error when trying to install gfx.js on Arch linux. The trace it looks like the install doesn't like Arch:
Using https://raw.github.com/clementfarabet/gfx.js/master/gfx.js-scm-0.rockspec... switching to 'build' mode
Cloning into 'gfx.js'...
remote: Counting objects: 249, done.
remote: Compressing objects: 100% (177/177), done.
remote: Total 249 (delta 72), reused 175 (delta 61)
Receiving objects: 100% (249/249), 5.41 MiB | 857.00 KiB/s, done.
Resolving deltas: 100% (72/72), done.
Checking connectivity... done.
ls
LICENSE bin gfx.js-scm-0.rockspec index.js install.sh package.json static
README.md clients img install-python.sh lib server.js templates
bash install.sh
==> installing Node.js dependencies
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64
npm ERR! System Linux 3.16.1-1-ARCH
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/luarocks_gfx.js-scm-0-1351/gfx.js
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.27
npm ERR! code EBADPLATFORM
make: Entering directory '/tmp/luarocks_gfx.js-scm-0-1351/gfx.js/node_modules/pty.js/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
SOLINK_MODULE(target) Release/obj.target/pty.node
SOLINK_MODULE(target) Release/obj.target/pty.node: Finished
COPY Release/pty.node
make: Leaving directory '/tmp/luarocks_gfx.js-scm-0-1351/gfx.js/node_modules/pty.js/build'
make: Entering directory '/tmp/luarocks_gfx.js-scm-0-1351/gfx.js/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
COPY Release/validation.node
make: Leaving directory '/tmp/luarocks_gfx.js-scm-0-1351/gfx.js/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
make: Entering directory '/tmp/luarocks_gfx.js-scm-0-1351/gfx.js/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
COPY Release/validation.node
make: Leaving directory '/tmp/luarocks_gfx.js-scm-0-1351/gfx.js/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/luarocks_gfx.js-scm-0-1351/gfx.js/npm-debug.log
npm ERR! not ok code 0
==> installing static resources into ~/.gfx.js/
==> installing torch client into /usr/local/bin/../share/lua/5.1/gfx/
==> Torch client installed globally, run me like this:
$ luajit -lgfx.start
or
$ luajit -lgfx.go
(this will start the gfx server automatically)
gfx command-line binary installed. Use it to display images quickly
$ gfx test.jpg
Warning: Directory 'doc' not found
Updating manifest for /usr/local/lib/luarocks/rocks
gfx.js scm-0 is now built and installed in /usr/local/ (license: MIT)
The text was updated successfully, but these errors were encountered: