On 14 May 2013 08:34, <p...@pjb.com.au> wrote: > Greetings folks, > > I've just got a new midialsa working to fix a bug introduced > in alsa-lib 1.0.24 ... there's just one small quirk that I > haven't met before: > Error: Could not find expected file libasound.a, or libasound.so, > or libasound.so.* for ALSA -- you may have to install ALSA in your > system and/or pass ALSA_DIR or ALSA_LIBDIR to the luarocks command. > Example: luarocks install midialsa ALSA_DIR=/usr/local > > so after > find /usr/lib -name 'libasound.*' -print > I tried > luarocks install \ > http://www.pjb.com.au/comp/lua/midialsa-1.18-0.rockspec \ > ALSA_LIBDIR=/usr/lib/i386-linux-gnu/ > and that worked fine :-) > > I have just upgraded from debian squeeze to wheezy; > has that messed something up ?
It's just that the default lookup directories in LuaRocks are not configured to the Debian paths (and use traditional Unix dirs, such as /usr/lib). There have been discussions here on how to improve detection. I'm looking into this. So, it's not really a rockspec issue -- your rockspec should be fine for inclusion. -- Hisham http://hisham.hm/ ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers