View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009830CMakeModulespublic2009-11-03 15:552011-04-04 12:00
ReporterMeV 
Assigned ToDavid Cole 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in VersionCMake 2.8.4 
Summary0009830: Minor change on FindLua51.cmake
DescriptionI had to change FIND_LIBRARY a bit to get Lua 5.1 detected on my system (Ubuntu 64 bits, lua installed from repository). I changed line 31 from this: NAMES lua51 lua5.1 lua-5.1 lua
to this : NAMES "" lua51 lua5.1 lua-5.1 lua
Additional InformationThis should be also true for Lua 5.0 (FindLua50.cmake)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0018350)
Alex Neundorf (developer)
2009-11-05 13:13

You added an empty string as first name which is searched ? Why ?

Alex
(0018356)
MeV (reporter)
2009-11-05 17:58

Because without this empty string lua library was not found.
Lua is in those directories if this helps:
/usr/include/lua5.1
/usr/lib/
(0018363)
Alex Neundorf (developer)
2009-11-06 12:54

What's the exact name of the library ? Is it liblua51.so, i.e. which of the given names matches ?
Are there other lua libraries installed somewhere else which might get in the way in some way ?

Which exact version of cmake are you using ? 2.6.4 ?
It would be nice if you could check this behaviour also with 2.8.0 RC5: http://www.cmake.org/files/v2.8/ [^]

Alex
(0018753)
Alex Neundorf (developer)
2009-12-09 15:28

It would be nice if you could check this behaviour also with 2.8.0, now that it is out.
Is the problem still there ?

Alex
(0018908)
MeV (reporter)
2009-12-15 17:50

My CMake version was 2.6-patch2 (Ubuntu Jaunty default version)

The problem seems to be unreproducible with this version or with 2.8.0. It don't know what was the problem but it gone away. Sorry for wasting your time.

Last thing, CMake 2.6 and 2.8 doesn't detect lua in the same directory. 2.6 has this output: "Found Lua51: /usr/lib64/liblua5.1.so;/usr/lib/libm.so"
whereas 2.8 has this output: "Found Lua51: /usr/lib/liblua5.1.so;/usr/lib/libm.so"
In short, 2.6 detects Lua in /usr/lib64 whereas 2.8 detects it in /usr/lib.
Don't know why this difference exits.
(0024130)
David Cole (manager)
2010-12-15 07:04

Resolving issue as notes seem to indicate it is fixed already in 2.8.0... Please reopen if there is still some sort of problem.

Thanks.
(0026053)
David Cole (manager)
2011-04-04 12:00

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2009-11-03 15:55 MeV New Issue
2009-11-05 13:13 Alex Neundorf Note Added: 0018350
2009-11-05 17:58 MeV Note Added: 0018356
2009-11-06 12:54 Alex Neundorf Note Added: 0018363
2009-12-09 15:28 Alex Neundorf Note Added: 0018753
2009-12-15 17:50 MeV Note Added: 0018908
2010-12-15 07:03 David Cole Assigned To => David Cole
2010-12-15 07:03 David Cole Status new => assigned
2010-12-15 07:04 David Cole Note Added: 0024130
2010-12-15 07:04 David Cole Status assigned => resolved
2010-12-15 07:04 David Cole Fixed in Version => CMake 2.8.4
2010-12-15 07:04 David Cole Resolution open => fixed
2011-04-04 12:00 David Cole Note Added: 0026053
2011-04-04 12:00 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team