Strange... change `local VER` to `version`.
On Mar 18, 2015 1:49 AM, "Sean Conner" <s...@conman.org> wrote:

> It was thus said that the Great Hisham once stated:
> > > >   I'm not sure what all is involved, but if it's too hard and I'm the
> > only
> > > > one doing this crazy thing, I'll understand.
> > >
> > >   Can I ask for one more options?  A "make uninstall"?  I have
> *seriously*
> > > messed up my install of LuaRocks on my machine, to the point where
> LuaRocks
> > > jus does no work and "make bootstrap" is now failing (at root!):
> > >
> > > Error: /home/spc/apps/luarocks/rockspec: Mandatory field version is
> missing.
> > > make: *** [bootstrap] Error 1
> > > [root]lucy:/home/spc/apps/luarocks>
> > >
> > >   Also, a note about trying to install LuaRocks in a different prefix
> of the
> > > bootstrap one is not recommended at this time.
> > >
> > >   -spc (Even recloning the git repo didn't fix the bootstrap problem
> ... )
> >
> > What does the `rockspec` file look like? Does it lack a version field?
>
>   From "git clone git://github.com/keplerproject/luarocks.git"
>
> package = "LuaRocks"
> local VER = "scm-1"
>
> source = {
>    url = "--this rockspec is used by
> ake bootstrap only--",
> }
>
> description = {
>    summary = "A deployment and management system for Lua modules.",
>    detailed = [[
>       LuaRocks allows you to install Lua modules as self-contained
>       packages called "rocks", which also contain version dependency
>       information. This information is used both during installation,
>       so that when one rock is requested all rocks it depends on are
>       installed as well, and at run time, so that when a module is
>       required, the correct version is loaded. LuaRocks supports both
>       local and remote repositories, and multiple local rocks trees.
>    ]],
>    license = "MIT/X11",
>    homepage = "http://www.luarocks.org";,
>    maintainer = "Hisham Muhammad"
> }
>
> dependencies = {
>    "lua >= 5.1"
> }
>
> build = {
>    type = "make",
>    install_target = "install_rock",
>    build_pass=false,
>    install_variables = {
>       BINDIR="$(BINDIR)",
>       LUADIR="$(LUADIR)",
>       LUA="$(LUA)",
>    }
> }
>
> > I'm not a fan of make uninstall, because if things can go wrong
> installing,
> > imagine removing files...
>
>   Understandable, but I'd rather not have to track down every little bit by
> hand either ...
>
> > Uninstall should amount to removing the luarocks modules and binaries.
> You
> > might have remaining files. Check also the Lua paths in your environment.
> > If you want to fully start over, move ~/.luarocks to a temp location too.
>
>   And I did remove *everything* (that I could think of:
>
>         # as root
>         cd /usr/local
>         /bin/rm -rf `find . -name 'luarocks'`
>
>         % as me
>         cd
>         mv .luarocks .x-luarocks
>
> and still I have problems ...
>
>   -spc
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Luarocks-developers mailing list
> Luarocks-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/luarocks-developers
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to