I wrote:
>   /usr/local/lib/lua/5.1/gdbm.so: undefined symbol: lua_setglobal
> ... AIUI, lua_setglobal ought to exist in 5.1 and 5.2 ...

Hisham wrote:
> lua_setglobal is a function in 5.2 and a macro in 5.1.

Aaah...

> ... You seem to have both lua.h from 5.1 and 5.2 in your include path,
> and you're getting the wrong one when building lgdbm...
> try passing LUA_INCDIR="/usr/include" and let's see what happens.

I couldn't get that to work; so I decided to go low-tech
and put 5.2 on one machine, and 5.1 on another (the laptop).
And then it worked beautifully first time :-)

> the same install of luarocks with different interpreters tends to
> cause these problems, unless you prepare separate config-5.1.lua
> and config-5.2.lua files setting all variables appropriately...

That might be fun, but it's good if the test is simpler than what
you're testing.  So from now on I'll be on two machines, and my
testing should improve as a result of the increased simplicity.

Many thanks for your help!

Regards,  Peter Billam

http://www.pjb.com.au      [email protected]     (03) 6278 9410
"Follow the charge, not the particle."  --  Richard Feynman
 from The Theory of Positrons, Physical Review, 1949

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to