To get around the "Could not find expected file" problem I modified 2.0.4's 
fs/lua.lua

--- Test for existance of a file.
-- @param file string: filename to test
-- @return boolean: true if file exists, false otherwise.
function exists(file)
   assert(file)
   file = normalize(file)
   return type(lfs.attributes(file)) == "table" -- note lfs.attributes call
end

e


On Jan 13, 2011, at 11:55 AM, Alexander Gladysh wrote:

> Sorry to nag, but — any news on this?
> 
> Can someone at least push these changes to the GitHub?
> 
> Alexander.
> 
> On Mon, Jan 3, 2011 at 16:59, Fabio Mascarenhas <[email protected]> wrote:
>> Hisham is probably going through a ton of email right now, but I will ask
>> him about this when he gets some time, and complain if he has been commiting
>> code without pushing it to github. :-)
>> --
>> Fabio Mascarenhas
>> 
>> On Mon, Dec 27, 2010 at 2:53 AM, Alexander Gladysh <[email protected]>
>> wrote:
>>> 
>>> On Mon, Dec 27, 2010 at 07:42, Alexander Gladysh <[email protected]>
>>> wrote:
>>>> On Mon, Dec 27, 2010 at 07:26, Alexander Gladysh <[email protected]>
>>>> wrote:
>>>>> On Mon, Dec 27, 2010 at 06:59, Alexander Gladysh <[email protected]>
>>>>> wrote:
>>> 
>>>>>> Error: Could not find expected file libuuid.so for LIBUUID -- you may
>>>>>> have to install LIBUUID in your system and/or set the LIBUUID_DIR
>>>>>> variable
>>> 
>>>>> The luuid fails to install under the LR 2.0.4 and installs without
>>>>> problems when I install LR 2.0.3 instead.
>>> 
>>>> The git bisect tells me that the problem is with the last commit:
>>> 
>>>> 
>>>> https://github.com/keplerproject/luarocks/commit/24af3a8dd304b0e56c1bfe78ba51651dba50b765
>>> 
>>>> Which is the most strange.
>>> 
>>> And is wrong. That's my mistake, as I accidentally marked this commit as
>>> bad.
>>> 
>>> The luuid installation works for this commit.
>>> 
>>> However, LR 2.0.4 has some modifications that are not on GitHub...
>>> Looks like these changes are breaking luuid install.
>>> 
>>> Alexander.
>>> 
>>> _______________________________________________
>>> 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
>> 
>> 
> 
> _______________________________________________
> 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

Reply via email to