Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345993 - dev-util/cmake-2.8.1-r2: error when trying to find ruby library.
Summary: dev-util/cmake-2.8.1-r2: error when trying to find ruby library.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-11-18 19:22 UTC by warptrosse
Modified: 2010-12-25 17:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/usr/share/cmake/Modules/FindRuby.cmake patch (FindRuby.cmake_patch,201 bytes, patch)
2010-11-18 19:29 UTC, warptrosse
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description warptrosse 2010-11-18 19:22:00 UTC
When using /usr/share/cmake/Modules/FindRuby.cmake script from cmake and ruby18 an error occurs... it is unable to obtain the correct ruby library path.


Reproducible: Always

Steps to Reproduce:
1. emerge -av cmake ruby
2. add FindRuby.cmake script to your CMakeLists.txt ==> INCLUDE(FindRuby)
3. Try to access to RUBY_LIBRARY cmake variable

Actual Results:  
cmake returns NOT_FOUND

Expected Results:  
ruby library path

Attached the fix :)
Comment 1 warptrosse 2010-11-18 19:29:01 UTC
Created attachment 254749 [details, diff]
/usr/share/cmake/Modules/FindRuby.cmake patch

just add a new library name posibility
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-11-19 01:11:03 UTC
I've fixed the summary as this appears to be about ruby and not perl.

When you add a patch, please use the unified diff format (diff -u).
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2010-12-25 17:04:34 UTC
Similar patch added to main tree in version 2.8.3-r1.
Thanks for the idea.