Hello Hisham, thanks a lot for sorting that out. I forgot about the "complex" dependency.
I think it would be a good idea to add "numlua" to the luarocks repositories in the future. For that I will try to contact the author and maybe we can figure out a good way to that. It would be probably even better to get together and merge some of the additional numeric code that is out there into a reasonable numeric library. Stay tuned. Regards. Benjamin On Tue, Feb 1, 2011 at 4:46 PM, Hisham <[email protected]> wrote: > 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 >
_______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
