Bug 198103 - Problems with various Find macros
Summary: Problems with various Find macros
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cmake
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-09 18:28 UTC by John Ellson
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 2.4.2-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-14 21:44:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Ellson 2006-07-09 18:28:13 UTC
Description of problem:
- FindSWIG doesn't find /usr/bin/swig (there is no /usr/bin/swig-1.3)
- FindRuby doesn't work on x86_64 (fails to check /usr/lib64/ )
- Missing FindXXX macros for languages available in extras:
           FindLua, FindCsharp, FindGuile, FindOCAML
- Inconsistent naming:
           FindPythonInterpreter

Version-Release number of selected component (if applicable):
cmake-2.4.2-1.fc6

How reproducible:
100%

Steps to Reproduce:
1. (noted while trying to use cmake for graphviz)
2.
3.
  
Actual results:


Expected results:
- FindXXX macros should be available for all languages in Fedora core and
extras, and particularly those languages supported by swig.
- FindXXX macros should have a consistent API: all setting XXX_FOUND, and all
setting include and library paths in a consistent way.  


Additional info:
Encountered while trying to use cmake for graphviz.

Comment 1 Orion Poplawski 2006-07-11 16:56:14 UTC
- FindSWIG reported upstream
(http://www.cmake.org/Bug/bug.php?op=show&bugid=3498).  

- FindRuby is essentially the same issue.  Needs to look for libruby.so rather
than libruby1.8.so.  cmake automatically looks in lib64 when lib is in the path
on x86_64.

- Please file requests for more Find macros upstream (although it looks like
some already have been), or if you know of a collection of Find* macros that we
should provide as well give me a url.

I've just built cmake-2.4.2-2.fc6 which has patches for FindRuby and FindSWIG. 
Let me know if that fixes it for you.

Comment 2 Orion Poplawski 2006-12-14 21:44:23 UTC
Closing due to no response.


Note You need to log in before you can comment on or make changes to this bug.