View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006243CMakeModulespublic2008-01-14 21:372008-10-01 16:10
ReporterBrandon Van Every 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006243: FindPerlLibs should search harder for Perl
DescriptionFindPerlLibs only uses FIND_PROGRAM(PERL_EXECUTABLE perl ) to search for Perl. FindPerl is much more aggressive about trying to find Perl; it searches HKEY on Windows, and also Cygwin paths. If FindPerl is used before FindPerlLibs, there is no problem, as FindPerl will correctly set PERL_EXECUTABLE and the value will be retained in the cache. However, FindPerlLibs may be used in isolation, since it does determine PERL_EXECUTABLE.

I would suggest either: (1) putting include(FindPerl) inside of FindPerlLibs, or (2) removing FIND_PROGRAM from FindPerlLibs, and acting upon the value of PERL_EXECUTABLE.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0010156)
Bill Hoffman (manager)
2008-01-15 14:21

Opps, did not read it that close. An include of findPerl would be better. I thought this was the other bug about FindPerl doing find_program twice... :)
(0013680)
Bill Hoffman (manager)
2008-10-01 16:10

$ cvs commit -m "ENH: find perl with FindPerl not find_program, bug: 6243" FindPerlLibs.cmake
Committer: Bill Hoffman <bill.hoffman@kitware.com>
/cvsroot/CMake/CMake/Modules/FindPerlLibs.cmake,v <-- FindPerlLibs.cmake
new revision: 1.9; previous revision: 1.8

hoffman@CORRIN ~/My Builds/CMake/Modules

 Issue History
Date Modified Username Field Change
2008-01-14 21:37 Brandon Van Every New Issue
2008-01-15 11:32 Bill Hoffman Status new => closed
2008-01-15 11:32 Bill Hoffman Resolution open => no change required
2008-01-15 14:21 Bill Hoffman Note Added: 0010156
2008-01-15 14:21 Bill Hoffman Status closed => acknowledged
2008-01-15 14:21 Bill Hoffman Resolution no change required => open
2008-02-15 10:43 Bill Hoffman Status acknowledged => assigned
2008-02-15 10:43 Bill Hoffman Assigned To => Bill Hoffman
2008-10-01 16:10 Bill Hoffman Status assigned => closed
2008-10-01 16:10 Bill Hoffman Note Added: 0013680
2008-10-01 16:10 Bill Hoffman Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team