Greetings again

I'm trying but failing to get lgdbm installed (on devuan daedalus) by
  apt install lgdbm
or also by download the tar file and installing by hand,
but in both cases I get:

  lgdbm 20130702-1 depends on lua >= 5.1 (5.3-1 provided by VM)
  gcc -O2 -fPIC -I/usr/include/lua5.3 -c lgdbm.c -o lgdbm.o -I/usr/include
  lgdbm.c: In function ‘luaopen_gdbm’:
  lgdbm.c:263:2: warning: implicit declaration of function 'luaL_register';
    did you mean 'lua_register'? [-Wimplicit-function-declaration]
  263 |  luaL_register(L,MYNAME,R);
      |  ^~~~~~~~~~~~~
      |  lua_register

It might have been just a matter of replacing luaL_register with lua_register
but the worrd luaL_register does not occur in the code
  260  luaL_newmetatable(L,MYTYPE);
  261  luaL_setfuncs(L,R,0);
  262  lua_pushliteral(L,"version");          /** version */
  263  lua_pushliteral(L,MYVERSION);
  264  lua_pushstring(L,gdbm_version);
  265  lua_concat(L,2);
  266  lua_settable(L,-3);

Something very similar has happened before :
  https://sourceforge.net/p/luarocks/mailman/message/33877260/

I'm 75 now, and I've spent all day getting nowhere with this :-(
So what I really need is for someone younger than me to adopt lgdbm

lgdbm is required by CommandLineUI.lua and that's required by
many of the things I need.
I worked fine on previous versions of devuan.

Can someone at least please tell me how to modify the above code ?
Or (very preferably) could someone please adopt lgdbm ?

Peter

https://pjb.com.au   peterbil...@fastmail.com   (03) 6278 9410

A comfortable life and a creative life are mutually exclusive.
  -- Robert Fripp
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to