google-code-export / gpick

Automatically exported from code.google.com/p/gpick
2 stars 0 forks source link

Failed to bulid gpick in Ubuntu Lucid Lynx, "lua >= 5.1" is not satisfied #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Whenever I ran `scons' to build gpick in Ubuntu, I encountered the following 
problems:

scons: Reading SConscript files ...
Checking for dbus-glib-1 >= 0.76... yes
Checking for gtk+-2.0 >= 2.12.0... yes
Checking for lua >= 5.1... no
Checking for lua5.1 >= 5.1... no

I have installed package Lua5.1 in Ubuntu Lucid Lynx with the corresponding 
versions of lua5.1, `apt-cache show lua5.1 | grep Version" produces the output 
"Version: 5.1.4-5".

Is there any solution for this, guys?

Original issue reported on code.google.com by CMP...@gmail.com on 25 Oct 2010 at 8:25

GoogleCodeExporter commented 9 years ago
Hi, you should install liblua5.1-0-dev package, as lua5.1 package only installs 
library without any development files 

Original comment by thezbyg on 25 Oct 2010 at 10:07

GoogleCodeExporter commented 9 years ago
I can't.  liblua5.1(-0)-dev conflicts with clisp-dev and libreadline5-dev and I 
need libreadline5-dev for some other projects of mine.

Original comment by CMP...@gmail.com on 25 Oct 2010 at 2:03

GoogleCodeExporter commented 9 years ago
Then you can try applying attached patch. Lua library will be build together 
with Gpick and no external Lua library will be needed

Original comment by thezbyg on 25 Oct 2010 at 4:51

Attachments:

GoogleCodeExporter commented 9 years ago
It works pretty well.  Thank you.  I also tried to compile and package a 
version of Lua in Ubuntu Lucid and it worked, too.

One more thing, should the dependency of libboost be presented in the scons 
build script?

Original comment by CMP...@gmail.com on 28 Oct 2010 at 2:44

GoogleCodeExporter commented 9 years ago
At the moment only some Boost header files are required and no libraries, and 
only library dependencies are checked in build script, so - I think no

Original comment by thezbyg on 28 Oct 2010 at 4:28