PDA

View Full Version : Perl Issue (Feedback Only)


Uleat
01-16-2014, 11:24 PM
This is not a known bug nor a request for help, so please only respond if you have seen or are experiencing this issue.


Due to a unique circumstance on my laptop computer, I discovered the following message during a cmake configuration session:

'Found Perl: C:/Program Files/Git/bin/perl.exe (found version "5.8.8")'


If anyone has noticed that their 'perl.exe' location/version does not match their installed location/version, please reply
and I'll look into turning this into an actual bug report.


As for my actual server computer, I do have perl properly installed and have no issues with it.

lerxst2112
01-17-2014, 03:36 AM
Is that directory in your path before the actual perl directory?

You can see how cmake tries to find perl by looking at the various find modules in the modules directory here: http://cmake.org/gitweb?p=cmake.git;a=tree

Akkadius
01-17-2014, 03:45 AM
Is that directory in your path before the actual perl directory?

You can see how cmake tries to find perl by looking at the various find modules in the modules directory here: http://cmake.org/gitweb?p=cmake.git;a=tree

http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindPerl.cmake;h=3fd5d8ef6fc94ed97428be032145f74ac a0d6670;hb=HEAD

if(WIN32)
35 get_filename_component(
36 ActivePerl_CurrentVersion
37 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveP erl;CurrentVersion]"
38 NAME)
39 set(PERL_POSSIBLE_BIN_PATHS ${PERL_POSSIBLE_BIN_PATHS}
40 "C:/Perl/bin"
41 [HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveP erl\\${ActivePerl_CurrentVersion}]/bin
42 )
43 endif()

Uleat
01-17-2014, 07:27 PM
User error...

I setup a manual directory on my laptop for my perl dependency and did not copy perl.exe to it.

It was still in my 'building' directory and not in the %PATH% one.

Sorry about that...