[Bug 955] New: Ruby library not found

http://bugs.orocos.org/show_bug.cgi?id=955

Summary: Ruby library not found
Product: Toolchain
Version: master
Platform: Intel 64bit
OS/Version: Mac OS X
Status: NEW
Severity: major
Priority: P3
Component: Typelib
AssignedTo: orocos-dev [..] ...
ReportedBy: jfdupuis00 [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Error message:

CMake Error: The following variables are used in this project, but they are set
to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake
files:
RUBY_LIBRARY (ADVANCED)
linked by target "typelib_ruby" in directory
/Users/jfdupuis/local/rosstacks/orocos_toolchain/typelib/bindings/ruby
linked by target "test_ruby" in directory
/Users/jfdupuis/local/rosstacks/orocos_toolchain/typelib/test/ruby

Cause:
FindRuby.cmake doesn't not set RUBY_LIBRARY

Temporary solution:
Modify orocos_toolchain/typelib/cmake/FindRuby.cmake:230 and add after
FIND_LIBRARY:
set(RUBY_LIBRARY /usr/lib/libruby.dylib)

Todo:
This should find the library in /usr/lib.
FIND_LIBRARY(RUBY_LIBRARY NAMES ${_RUBY_POSSIBLE_LIB_NAMES} HINTS
${RUBY_POSSIBLE_LIB_DIR} )

Proposed solution:
Modify RUBY_POSSIBLE_LIB_DIR to include /usr/lib

[Bug 955] Ruby library not found

http://bugs.orocos.org/show_bug.cgi?id=955

Jean-Francois Dupuis <jfdupuis00 [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE