On Mon, 19 Aug 2013 15:25:56 -0400 Robert Heller <[email protected]>
wrote:

> At Mon, 19 Aug 2013 14:55:52 -0400 Robert Heller
> <[email protected]> wrote:
> 
> > 
> > At Tue, 20 Aug 2013 04:05:17 +1000 Enlightenment developer list
> > <[email protected]> wrote:
> > 
> > > 
> > > 
> > > 
> > > On Mon, 19 Aug 2013 13:55:44 -0400 Robert Heller
> > > <[email protected]> wrote:
> > > 
> > > > liblua5.2-dev - Development files for the Lua language version
> > > > 5.2
> > > > 
> > > > Do I need one (or more) of these packages as well?
> > > 
> > > Try that one.
> > > 
> > 
> > To re-iterate, dpkg-query -l \*lua\* displays:
> > 
> > Desired=Unknown/Install/Remove/Purge/Hold
> > | 
> > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> > ||/ Name
> > ||Version                            Architecture Description
> > +++-====================================-==================================-============-==========================================================================
> > ii  liblua5.2-0:i386
> > 5.2.1-3                            i386         Shared library for
> > the Lua interpreter version 5.2 ii
> > liblua5.2-dev:i386
> > 5.2.1-3                            i386         Development files
> > for the Lua language version 5.2 un
> > lua
> > <none>                                          (no description
> > available) ii  lua5.2
> > 5.2.1-3                            i386         Simple, extensible,
> > embeddable programming language ii
> > luatex
> > 0.70.1.20120524-3                  i386         next generation TeX
> > engine un  luatex-snapshot
> > <none>                                          (no description
> > available) ii  texlive-luatex
> > 2012.20120611-5                    all          TeX Live: LuaTeX
> > packages
> > 
> > Note: liblua5.2-0, liblua5.2-dev, and lua5.2 are all installed
> > (plus luatex, what is probably not relevant).  Edje cannot find LUA
> > even though it is installed.  Something is weird here.  Either
> > Debian's lua packages are broken or Edje's configure script is
> > broken.  Unless there is some -private-dev package needed somewhere.
> > 
> > OK, I *think* I have found a possible problem (and a possible
> > solution):
> > 
> > Edje's configure script is "checking for lua_newstate in -llua...",
> > but liblua5.2-dev install /usr/lib/i386-linux-gnu/liblua5.2.a (and
> > liblua5.2-0 installs /usr/lib/i386-linux-gnu/liblua5.2.so.0.0.0).
> > 
> > I am guessing I will have to patch the configure script...
> 
> Here is a patch:
> 
> *** configure.ac~     2013-07-30 10:42:43.000000000 -0400
> --- configure.ac      2013-08-19 15:14:40.722094696 -0400
> ***************
> *** 238,244 ****
>      [PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1.0],
> requirement_lua="lua5.1", [PKG_CHECK_MODULES([LUA], [lua-5.1 >=
> 5.1.0], requirement_lua="lua-5.1", [PKG_CHECK_MODULES([LUA], [lua51
> >= 5.1.0], requirement_lua="lua51", !
> >[have_lua="no"])])])])
>   
>   if test "x${have_lua}" = "xno" ; then
>      AC_MSG_CHECKING([whether lua_newstate() is in liblua])
> --- 238,245 ----
>      [PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1.0],
> requirement_lua="lua5.1", [PKG_CHECK_MODULES([LUA], [lua-5.1 >=
> 5.1.0], requirement_lua="lua-5.1", [PKG_CHECK_MODULES([LUA], [lua51
> >= 5.1.0], requirement_lua="lua51", !
> >[PKG_CHECK_MODULES([LUA], [lua5.2 >= 5.2.0],
> >requirement_lua="lua5.2",
> !               [have_lua="no"])])])])])
>   
>   if test "x${have_lua}" = "xno" ; then
>      AC_MSG_CHECKING([whether lua_newstate() is in liblua])

Good catch, thanks.  I'll fix that up after I've had breakfast.

In the future, diff -u format would be better for patches.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to