leafo / gifine

Quickly record and edit gifs and videos of your desktop
286 stars 14 forks source link

Problems with gobject-introspection upon install #1

Closed fritzy closed 7 years ago

fritzy commented 7 years ago

In Ubuntu 16.10, I've installed all of the dependencies listed in the README, and attempted to install a dependency of lgi. The ubuntu package of lua-lgi appears to be older than what you want.


Reading package lists... Done
Building dependency tree       
Reading state information... Done
gobject-introspection is already the newest version (1.50.0-1ubuntu2).
^[[A0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
fritzy@groose:~/local/app$ luarocks install --local --server=http://luarocks.org/dev gifine
Warning: falling back to wget - install luasec to get native HTTPS support
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-162/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-162/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.```
leafo commented 7 years ago

I don't know how things are setup on ubuntu, but these are the two packages I need to have installed for lgi to build:

There's probably a dev version of gobject introspection that you're missing

fritzy commented 7 years ago

I ended up searching for which package contained the "pc" file and found libgirepository1.0-dev

Thanks!