bug-zile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-zile] Google Summer of Code 2014


From: Garnaik Sumeet
Subject: Re: [Bug-zile] Google Summer of Code 2014
Date: Sat, 8 Mar 2014 23:12:19 +0530

Hello Sir,
           Installing luarocks using 'apt-get' installs lua5.1 as a prerequisite....and I thought of removing liblua-5.1 and installing 5.2,but I guess that won't be possible since a lot of programs like brasero,vlc and all depend on it.....so I installed luarocks from the tar...and it worked just fine with dependency as lua5.2.

Now as you said,I removed commands.lua used 'make V=1' and the following was the output.....

LUA_INIT= LUA_INIT_5_2=            \
      LUA_PATH='/home/sumefsp/COMPUTING/OPEN-SOURCE/zile/lib/?.lua;/home/sumefsp/COMPUTING/OPEN-SOURCE/zile/lib/?.lua;;'            \
      /usr/local/bin/lua ./lib/zmacs/zlc ./lib/zmacs/zlisp/bind.zl ./lib/zmacs/zlisp/buffer.zl ./lib/zmacs/zlisp/edit.zl ./lib/zmacs/zlisp/file.zl ./lib/zmacs/zlisp/killring.zl ./lib/zmacs/zlisp/help.zl ./lib/zmacs/zlisp/line.zl ./lib/zmacs/zlisp/lisp.zl ./lib/zmacs/zlisp/macro.zl ./lib/zmacs/zlisp/marker.zl ./lib/zmacs/zlisp/minibuf.zl ./lib/zmacs/zlisp/move.zl ./lib/zmacs/zlisp/registers.zl ./lib/zmacs/zlisp/search.zl ./lib/zmacs/zlisp/undo.zl ./lib/zmacs/zlisp/variables.zl ./lib/zmacs/zlisp/window.zl  > 'lib/zmacs/commands.lua' || rm -f 'lib/zmacs/commands.lua'
test -f 'lib/zmacs/commands.lua'
if ( touch doc/zmacs.1.w && rm -f doc/zmacs.1.w; ) >/dev/null 2>&1; \
    then                            \
      builddir='.'                \
      ./build-aux/missing --run            \
        /usr/bin/help2man                        \
          '--output=doc/zmacs.1'                    \
          '--no-info'                    \
          '--name=Zmacs'                    \
          --include './lib/zmacs/man-extras'    \
          './lib/zmacs/help2man-wrapper';        \
    fi
help2man: can't get `--help' info from ./lib/zmacs/help2man-wrapper
Try `--no-discard-stderr' if option outputs to stderr
make: *** [doc/zmacs.1] Error 1



Thank you,

Sumeet Garnaik


On Sat, Mar 8, 2014 at 5:43 AM, Gary V. Vaughan <address@hidden> wrote:

On Mar 8, 2014, at 10:42 AM, Reuben Thomas <address@hidden> wrote:

> On 7 March 2014 21:27, Garnaik Sumeet <address@hidden> wrote:
>> Sir,
>>      In case of bootstrap.cloning the specl,the server timed out,I have been trying this every couple hrs for about 10 hrs,it timed out every time.
>>
> So you had no problem cloning zile from savannah.gnu.org, but you had a problem cloning specl from github.com? Do you have problems with other github URLs? Or is your problem with any use of the git protocol (in which case you can follow the instructions under "Development sources" in README.md to automatically have git convert git URLs to https URLs)?
>
>> After running make for the first time I got the following as the output
>>
>>   ZLC      lib/zmacs/commands.lua
>> /usr/bin/lua: ./lib/zmacs/zlc:22: module 'std.io' not found:
>>     no field package.preload['std.io']
>>     no file '/home/sumefsp/COMPUTING/OPEN-SOURCE/zile/lib/std/io.lua'
>>     no file '/home/sumefsp/COMPUTING/OPEN-SOURCE/zile/lib/std/io.lua'
>>     no file './std/io.lua'
>>     no file '/usr/local/share/lua/5.1/std/io.lua'
>>     no file '/usr/local/share/lua/5.1/std/io/init.lua'
>>     no file '/usr/local/lib/lua/5.1/std/io.lua'
>>     no file '/usr/local/lib/lua/5.1/std/io/init.lua'
>>     no file '/usr/share/lua/5.1/std/io.lua'
>>     no file '/usr/share/lua/5.1/std/io/init.lua'
>>     no file './std/io.so'
>>     no file '/usr/local/lib/lua/5.1/std/io.so'
>>     no file '/usr/lib/i386-linux-gnu/lua/5.1/std/io.so'
>>     no file '/usr/lib/lua/5.1/std/io.so'
>>     no file '/usr/local/lib/lua/5.1/loadall.so'
>>     no file './std.so'
>>     no file '/usr/local/lib/lua/5.1/std.so'
>>     no file '/usr/lib/i386-linux-gnu/lua/5.1/std.so'
>>     no file '/usr/lib/lua/5.1/std.so'
>>     no file '/usr/local/lib/lua/5.1/loadall.so'
>> stack traceback:
>>     [C]: in function 'require'
>>     ./lib/zmacs/zlc:22: in main chunk
>>
>>     [C]: ?
>> test -f 'lib/zmacs/commands.lua'
>> make: *** [lib/zmacs/commands.lua] Error 1
>>
> OK, that looks like a bug. Gary?

First thing to check is where luarocks installed lua-stdlib's io.lua file, and
determine why that location is missing from the 'no file' list above.

Upgrading to Lua 5.2, and making sure luarocks is installing to a Lua 5.2 tree
is important too.

If it's not already clear what needs fixing at this point, then removing
lib/zmacs/commands.lua and recompiling with `make V=1` will show the full zlc
command that causes that error.

HTH,
--
Gary V. Vaughan (gary AT vaughan DOT pe)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]