On 17 April 2013 16:26, Doug Currie <doug.cur...@gmail.com> wrote:
> Installed luarocks-2.0.13 using
>
> ./configure --versioned-rocks-dir
>
> Now:
>
>> luarocks-2.0.13 e$ luarocks list
>>
>> Installed rocks:
>> ----------------
>>
>
> OK, it doesn't see my installed rocks, I guess that's expected.
>
> But:
>
>> luarocks-2.0.13 e$ sudo luarocks install lsqlite3
>> Password:
>> Installing 
>> http://www.luarocks.org/repositories/rocks/lsqlite3-0.9.1-1.src.rock...
>> Using 
>> http://www.luarocks.org/repositories/rocks/lsqlite3-0.9.1-1.src.rock... 
>> switching to 'build' mode
>> Archive:  
>> /private/tmp/luarocks_luarocks-rock-lsqlite3-0.9.1-1-4122/lsqlite3-0.9.1-1.src.rock
>>   […]
>> export MACOSX_DEPLOYMENT_TARGET=10.6; cc -arch i686 -arch x86_64 -O2 -fPIC 
>> -I//usr/local/include -c lsqlite3.c -o lsqlite3.o -I/usr/local/include
>> export MACOSX_DEPLOYMENT_TARGET=10.6; cc -arch i686 -arch x86_64 -bundle 
>> -undefined dynamic_lookup -all_load -o lsqlite3.so -L//usr/local/lib 
>> lsqlite3.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib: -lsqlite3
>>
>> Error: Failed loading manifest for /usr/local//lib/luarocks/rocks-5.2: 
>> cannot open /usr/local//lib/luarocks/rocks-5.2/manifest: No such file or 
>> directory -- corrupted local rocks tree? Cannot install new version.
>> luarocks-2.0.13 e$

Very strange. I tried hard to reproduce this here, but to no avail.
Any further information you could provide might help. Off the top of
my head:

* the contents of all config.lua files mentioned by `luarocks help`
* /usr/local/share/lua/5.2/luarocks/site_config.lua
* `find /usr/local/lib/luarocks`

Also, could you confirm the OS and version?

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to