We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I am trying to install LRDB via lua rocks (v2.4.3). It finds the rockspec, clones from github (7144514) but failes within cmake:
CMake Error at luarocks_cmake.txt:36 (install): install Library TARGETS given no DESTINATION! Call Stack (most recent call first): CMakeLists.txt:2 (include)
The respective line is:
install(TARGETS lrdb_server LIBRARY DESTINATION ${INSTALL_LIBDIR})
Seems to me that INSTALL_LIBDIR is not expanded to any value.
Now, I am not the expert when it comes to LuaRocks, is this a variable to be provided by lua-rocks? Or so I set this when installing lua rocks?
Any hint would be appreciated!
The text was updated successfully, but these errors were encountered:
Dug a little deeper. Seems to be a cmake problem. I am using cmake 3.9.4 on windows.
Changing luarocks_cmake.txt:l.36f from:
to
install(TARGETS lrdb_server ARCHIVE DESTINATION ${INSTALL_LIBDIR} LIBRARY DESTINATION ${INSTALL_LIBDIR})
builds it without error. Seems it is mocking about the link lib that is not placed anywhere without the archive.
However, I still need to figure out how to actually install it, as I built it off a local copy of lrdb.
Easy to reproduce: having luarocks installed, go to the root directory of lrdb, type "luarocks make".
Sorry, something went wrong.
No branches or pull requests
Hi,
I am trying to install LRDB via lua rocks (v2.4.3).
It finds the rockspec, clones from github (7144514) but failes within cmake:
CMake Error at luarocks_cmake.txt:36 (install):
install Library TARGETS given no DESTINATION!
Call Stack (most recent call first):
CMakeLists.txt:2 (include)
The respective line is:
install(TARGETS lrdb_server LIBRARY DESTINATION ${INSTALL_LIBDIR})
Seems to me that INSTALL_LIBDIR is not expanded to any value.
Now, I am not the expert when it comes to LuaRocks, is this a variable to be provided by lua-rocks? Or so I set this when installing lua rocks?
Any hint would be appreciated!
The text was updated successfully, but these errors were encountered: