Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to clean uninstall luamake and lua-debug #297

Open
MikeLemo1 opened this issue Jun 11, 2024 · 5 comments
Open

How to clean uninstall luamake and lua-debug #297

MikeLemo1 opened this issue Jun 11, 2024 · 5 comments

Comments

@MikeLemo1
Copy link

MikeLemo1 commented Jun 11, 2024

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

ninja: no work to do.
luamake alias already defined in /home/pong/.bashrc
Done.

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?

@actboy168
Copy link
Owner

vim /home/pong/.bashrc
Delete the code containing luamake.

@MikeLemo1
Copy link
Author

MikeLemo1 commented Jun 11, 2024

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'.

@actboy168
Copy link
Owner

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.

@MikeLemo1
Copy link
Author

.... 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

@MikeLemo1
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants