sm00thslp / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

0.9.20-r9903 add_subdirectory given source "misc/liblua" which is not an existing directory. #825

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[tt@myhost hedgewars]$ cmake .
-- Building 0.9.20-r9903 (9d79a52c5586)
-- Using RELEASE configuration
-- LUA will be provided by the bundled sources
CMake Error at CMakeLists.txt:135 (add_subdirectory):
  add_subdirectory given source "misc/liblua" which is not an existing directory.

-- Configuring incomplete, errors occurred!

OS: Centos 6.5 x86_64 
All needed library installed (including lua, lua-devel and existing 
/usr/lib64/liblua-5.1.so)

ps
I see same issue in "Issue 278" - but I can't found fix.

Post here fix, please.

Original issue reported on code.google.com by leont...@gmail.com on 18 Oct 2014 at 10:34

GoogleCodeExporter commented 9 years ago
It seems cmake doesn't find your liblua.

Please try this:

Run

    export CMAKE_LIBRARY_PATH=/usr/lib64

before running cmake

Original comment by sheepyluva on 18 Oct 2014 at 11:57

GoogleCodeExporter commented 9 years ago
It helps. Thank you.

Original comment by leont...@gmail.com on 19 Oct 2014 at 9:36

GoogleCodeExporter commented 9 years ago
/usr/lib64 is a legacy path for 32/64 systems, /usr/lib/ should be the right 
folder, with symlinks as needed. Unfortunately we can't add workarounds like 
this in the configuration files, so marking this as invalid.

Original comment by vittorio...@gmail.com on 22 Nov 2014 at 9:14