Jump to content

Recommended Posts

Posted

Did a fresh install of ZERO and noticed that cmake install is trying to copy liblua.so to my /usr/local/lib

CMake Error at dep/lualib/lua/cmake_install.cmake:60 (file):
  file INSTALL cannot copy file
  "/home/jayson/mangos/zero/build/dep/lualib/lua/liblua52.so" to
  "/usr/local/lib/liblua52.so": Permission denied.

Did I not notice this before or is this something new?

 

Thanks for your time.

Posted

It appears CMake doesn't have permission to access that location and CMake might be installed as a user instead of system wide.
Try using sudo make install and see if will install to that location.

Posted

Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/liblua52.so
-- Installing: /usr/local/include/lapi.h
-- Installing: /usr/local/include/lauxlib.h
-- Installing: /usr/local/include/lcode.h
-- Installing: /usr/local/include/lctype.h
-- Installing: /usr/local/include/ldebug.h
-- Installing: /usr/local/include/ldo.h
-- Installing: /usr/local/include/lfunc.h
-- Installing: /usr/local/include/lgc.h
-- Installing: /usr/local/include/llex.h
-- Installing: /usr/local/include/llimits.h
-- Installing: /usr/local/include/lmem.h
-- Installing: /usr/local/include/lobject.h
-- Installing: /usr/local/include/lopcodes.h
-- Installing: /usr/local/include/lparser.h
-- Installing: /usr/local/include/lstate.h
-- Installing: /usr/local/include/lstring.h
-- Installing: /usr/local/include/ltable.h
-- Installing: /usr/local/include/ltm.h
-- Installing: /usr/local/include/lua.h
-- Installing: /usr/local/include/luaconf.h
-- Installing: /usr/local/include/lualib.h
-- Installing: /usr/local/include/lundump.h
-- Installing: /usr/local/include/lvm.h
-- Installing: /usr/local/include/lzio.h
-- Installing: /usr/local/include/lua.hpp
-- Installing: /usr/local/lib/liblua52.a
-- Installing: /usr/local/bin/lua52_interpreter
-- Installing: /usr/local/bin/lua52_compiler
-- Installing: /usr/local/etc/ahbot.conf.dist
-- Up-to-date: /usr/local/bin/lua_scripts/extensions
-- Installing: /usr/local/bin/lua_scripts/extensions/ObjectVariables.ext
-- Installing: /usr/local/bin/lua_scripts/extensions/_Misc.ext
-- Up-to-date: /usr/local/bin/lua_scripts/extensions/StackTracePlus
-- Installing: /usr/local/bin/lua_scripts/extensions/StackTracePlus/StackTracePlus.ext
-- Installing: /usr/local/bin/lua_scripts/extensions/StackTracePlus/LICENSE
-- Installing: /usr/local/bin/lua_scripts/extensions/StackTracePlus/README.md
-- Installing: /usr/local/etc/aiplayerbot.conf.dist
-- Installing: /usr/local/bin/mangosd
-- Set non-toolchain portion of runtime path of "/usr/local/bin/mangosd" to ""
-- Installing: /usr/local/etc/mangosd.conf.dist
-- Installing: /usr/local/bin/realmd
-- Installing: /usr/local/etc/realmd.conf.dist
-- Installing: /usr/local/bin/tools/map-extractor
-- Installing: /usr/local/bin/tools/vmap-extractor
-- Installing: /usr/local/bin/tools/mmap-extractor
-- Installing: /usr/local/bin/tools/MoveMapGen.sh
-- Installing: /usr/local/bin/tools/offmesh.txt
-- Installing: /usr/local/bin/tools/mmap_excluded.txt
-- Installing: /usr/local/bin/tools/ExtractResources.sh
-- Installing: /usr/local/bin/tools/make_vmaps.bat
-- Installing: /usr/local/bin/tools/README.txt
 

 

Shouldn't it have installed to /mangos/zero instead of /usr/local?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use