Notes |
|
(0004430)
|
Orion Poplawski
|
2006-07-11 12:08
|
|
Same with FindRuby, ruby is in /usr/bin/ruby and /usr/lib/ruby/1.8. |
|
|
(0004432)
|
Orion Poplawski
|
2006-07-11 12:19
|
|
Also with FindRuby, include file can be in /usr/lib64/ruby/1.8/x86_64-linux/ on x86_64.
And actually, libruby.so is called "libruby.so" not "libruby1.8.so" on Fedora. |
|
|
(0004439)
|
Orion Poplawski
|
2006-07-11 12:44
|
|
This is how I've currently patched them. Suggestions for improvements welcome.
--- cmake-2.4.2/Modules/FindRuby.cmake.fedora 2006-07-11 10:20:14.000000000 -0600
+++ cmake-2.4.2/Modules/FindRuby.cmake 2006-07-11 10:20:38.000000000 -0600
@@ -9,6 +9,7 @@
SET(RUBY_POSSIBLE_INCLUDE_PATHS
- /usr/lib/ruby/1.8/i386-linux
+ /usr/lib/ruby/*/i386-linux
+ /usr/lib64/ruby/*/x86_64-linux
)
SET(RUBY_POSSIBLE_LIB_PATHS
@@ -19,12 +20,12 @@
${RUBY_POSSIBLE_INCLUDE_PATHS})
FIND_LIBRARY(RUBY_LIBRARY
- NAMES ruby1.8
+ NAMES ruby
PATHS ${RUBY_POSSIBLE_LIB_PATHS}
)
FIND_PROGRAM(RUBY_EXECUTABLE
- NAMES ruby1.8
+ NAMES ruby
PATHS
/usr/bin
/usr/local/bin
--- cmake-2.4.2/Modules/FindSWIG.cmake.fedora 2006-07-11 10:21:11.000000000 -0600
+++ cmake-2.4.2/Modules/FindSWIG.cmake 2006-07-11 10:22:47.000000000 -0600
@@ -7,13 +7,11 @@
SET(SWIG_FOUND FOOBAR)
FIND_PATH(SWIG_DIR
SWIGConfig.cmake
- /usr/share/swig1.3
- /usr/lib/swig1.3
+ /usr/share/swig/*
/usr/local/share/swig1.3)
FIND_PATH(SWIG_DIR
swig.swg
- /usr/share/swig1.3
- /usr/lib/swig1.3
+ /usr/share/swig/*
/usr/local/share/swig1.3)
IF(EXISTS ${SWIG_DIR})
IF("x${SWIG_DIR}x" STREQUAL "x${CMAKE_ROOT}/Modulesx")
|
|
|
(0005507)
|
Alex Neundorf
|
2006-10-23 19:11
|
|
|
|
(0005650)
|
Orion Poplawski
|
2006-11-02 15:19
|
|
Current CVS FindRuby works. FindSWIG still doesn't (and doesn't look like it has changed).
|
|
|
(0005655)
|
Alex Neundorf
|
2006-11-05 07:50
|
|
The Ruby part is fixed now, but I know nothing about SWIG, so can somebody else please have a look after this ? |
|
|
(0013764)
|
Bill Hoffman
|
2008-10-08 09:25
|
|
|
|
(0013766)
|
Orion Poplawski
|
2008-10-08 11:15
|
|
Not really. If no one else steps up, I might be willing. But I really don't make much use of it other than packaging plplot for Fedora. |
|
|
(0034614)
|
jschueller
|
2013-11-30 19:27
|
|
|
|
(0034616)
|
jschueller
|
2013-11-30 19:33
|
|
Anyway it uses the -swiglib option since a while, I close the ticket. |
|
|
(0036043)
|
Robert Maynard
|
2014-06-02 08:37
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|