Coder Social home page Coder Social logo

luarocks install fails about gifine HOT 6 CLOSED

leafo avatar leafo commented on June 29, 2024
luarocks install fails

from gifine.

Comments (6)

LiamDawe avatar LiamDawe commented on June 29, 2024 5

sudo apt install libgirepository1.0-dev (should be added to the list in the readme)

from gifine.

josefnpat avatar josefnpat commented on June 29, 2024

also, merry xmas!

~♠ luarocks --version
/usr/bin/luarocks 2.2.0
LuaRocks main command-line interface

from gifine.

leafo avatar leafo commented on June 29, 2024

the dependency lgi is failing to build, the error message says what's up:

No package 'gobject-introspection-1.0' found

did you install gobject-introspection to your system?

pacman -Syu gobject-introspection

from gifine.

josefnpat avatar josefnpat commented on June 29, 2024

Oh, I didn't recognize gobject-introspection - thought it was a lua dep.

I've installed it on Ubuntu 16.04:

$ sudo apt-get install gobject-introspection
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gobject-introspection is already the newest version (1.46.0-3ubuntu1).
The following package was automatically installed and is no longer required:
  ubuntu-core-launcher
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
$ sudo luarocks install --server=http://luarocks.org/dev gifine
Installing http://luarocks.org/dev/gifine-dev-1.rockspec...
Using http://luarocks.org/dev/gifine-dev-1.rockspec... switching to 'build' mode

Missing dependencies for gifine:
lgi 

Using https://rocks.moonscript.org/lgi-0.9.1-1.src.rock... switching to 'build' mode
make -C lgi
make[1]: Entering directory '/tmp/luarocks_lgi-0.9.1-1-7679/lgi/lgi'
pkg-config --exists 'gobject-introspection-1.0 >= 0.10.8' --print-errors
Package gobject-introspection-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-introspection-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gobject-introspection-1.0' found
Makefile:53: recipe for target '.depcheck' failed
make[1]: *** [.depcheck] Error 1
make[1]: Leaving directory '/tmp/luarocks_lgi-0.9.1-1-7679/lgi/lgi'
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 2

Error: Failed installing dependency: https://rocks.moonscript.org/lgi-0.9.1-1.src.rock - Build error: Failed building.

Does the 1.4 vs 1.0 matter?

from gifine.

leafo avatar leafo commented on June 29, 2024

try this: #1

from gifine.

josefnpat avatar josefnpat commented on June 29, 2024

Derp, I had looked through the issues, and hadn't checked the closed ones. This worked, thanks!

from gifine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.