MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012965 | CMake | Modules | public | 2012-02-17 11:18 | 2016-06-10 14:31 |
| Reporter | Thomas Dziedzic | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | linux | OS | archlinux | OS Version | rolling release |
| Product Version | CMake 2.8.7 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0012965: FindRuby.cmake uses an incorrect method to detect if vendor directory is available. | ||||
| Description | I'm specifically talking about the following line: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindRuby.cmake;h=c4adfd1ee985a4f147796da654fa0b97fe61ee2f;hb=HEAD#l98 [^] It seems that opensuse is the only distro shipping a vendor-specific.rb file which is not a standard ruby convention. Archlinux, Debian, probably no other distro uses this except Opensuse. I emailed the opensuse ruby maintainer and he indeed said vendor-specific.rb was only introduced from macports. You should be checking if the following variables exist in ruby: RbConfig::CONFIG['vendordir'] RbConfig::CONFIG['vendorlibdir'] RbConfig::CONFIG['vendorarchdir'] | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/4332/cmake-findruby.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-02-17 11:18 | Thomas Dziedzic | New Issue | |||
| 2012-02-17 14:18 | Brad King | Note Added: 0028620 | |||
| 2012-02-17 14:18 | Brad King | Status | new => backlog | ||
| 2012-04-11 18:17 | Rolf Eike Beer | Category | CMake => Modules | ||
| 2012-05-21 12:33 | Orion Poplawski | Note Added: 0029529 | |||
| 2012-05-21 12:37 | Orion Poplawski | File Added: cmake-findruby.patch | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041989 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||