Open iar74 opened 6 years ago
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:
install(TARGETS lrdb_server LIBRARY DESTINATION ${INSTALL_LIBDIR})
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".
Hi,
I am trying to install LRDB via lua rocks (v2.4.3). It finds the rockspec, clones from github (7144514a607cb5bc322ed41c7c5e954d6fbeb140) 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!