Open MikeLemo1 opened 4 months ago
vim /home/pong/.bashrc Delete the code containing luamake.
vim /home/pong/.bashrc Delete the code containing luamake.
deleting the line :alias luamake="~/.local/share/luamake/luamake"
doesn't do the trick...
and running ./luamake
after install prints:
Please use './compile/install.sh'.
If you want to compile luamake, please use ./compile/install.sh'. If you want to compile lua-debug, please switch to the directory of lua-debug.
.... When I run ./luamake after the install.sh it prints me the error Please use './compile/install.sh'.
and wont correct the symbolic link problem...
That's what I'm trying to say
I removed the line from "/root/.bashrc' using sudo -i but still it'll print (when trying to download dependencies for lua-debug using luamake luamake lua compile/download_deps.lua
) the following:
create_directories: "/usr/share/lua-debug/build/linux-x64/debug/lua54": (generic:13)Permission denied
which running this with sudo-i
manages to help it a little and start the build but not finish it without error like the following:
ninja: build stopped: subcommand failed.
[359/440] Compile C build/linux-x64/release/obj/luajit/lua/lib_math.obj
FAILED: build/linux-x64/release/obj/luajit/lua/lib_math.obj
gcc -MMD -MT build/linux-x64/release/obj/luajit/lua/lib_math.obj -MF build/linux-x64/release/obj/luajit/lua/lib_math.obj.d -std=c89 -O2 -Wall -I3rd/lua/luajit/src -Ibuild/linux-x64/release/bin -DLUAJIT_UNWIND_EXTERNAL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLUA_MULTILIB="lib" -DLUAJIT_ENABLE_LUA52COMPAT -DLUAJIT_NUMMODE=2 -DNDEBUG -fno-stack-protector -U_FORTIFY_SOURCE -fPIC -o build/linux-x64/release/obj/luajit/lua/lib_math.obj -c 3rd/lua/luajit/src/lib_math.c
In file included from 3rd/lua/luajit/src/lj_obj.h:13,
from 3rd/lua/luajit/src/lib_math.c:15:
3rd/lua/luajit/src/lj_def.h:136:25: warning: type defaults to ‘int’ in declaration of ‘inline’ [-Wimplicit-int]
Any idea what else do I need to clean / config / install to get luamake and lua-debug installed correctly?
I accidently installed and remove luamake and lua-debug (maybe in wront directories because I didn't make to complete the installation and I initially installed the repos at ~/Downloads/ and then tried '/usr/share/' and then deleted it becuase of error) and now the symbolic links and configs of luamake are messed up on the machine and it't not something the luamake/compile/install.sh fixes, only saying
sudo ./compile/build.sh -t clean
doesn't do much either (trying to install it in '~/.local/share/') How do you clean it and what is the general legacy/default install location on linux ubuntu for nvim lua dap useage?