On Wed, Jan 26, 2011 at 4:55 PM, Benjamin von Ardenne
<[email protected]> wrote:
> Greetings,
> I have released a first version of a Lua FFT Package that implements a very
> fast algorithm and uses complex numbers.
> The Source is available
> at: http://www.mindfarming.de/luafft/downloads/luafft-1.0.zip
> The Rockspec is available
> under http://www.mindfarming.de/luafft/downloads/luafft-1.0-1.rockspec

Does LuaFFT depend on NumLua?

Your rockspec installs luafft.lua only. After installing it here,
loading the "luafft" module fails because the "complex" module is
missing.

The ideal solution would be to create a rockspec for numlua, submit
that and declare numlua as a dependency for luafft. I took a look at
writing a rockspec for numlua but the build system for the whole thing
is somewhat complicated (for starters, it requires a Fortran
compiler).

Since you're shipping a copy of complex.lua with the sources, I
modified the rockspec so that it installs complex.lua -- when numlua
is added to the repository, it should probably be made into a
dependency, or the complex numbers module should be split into a
separate rock to avoid conflict/redundancy. But for now this solution
should suffice -- so the rockspec is now uploaded, thank you!

-- Hisham

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to