Steve Butcher
Steve Butcher

Reputation: 91

vim-cmake-project error: perl not found

I'm trying to install this plugin. I installed the libfile-find-rule-perl yet when I run vim it gives me an error saying, "Error: perl not found." Perl is installed! How do I fix this error?

Upvotes: 1

Views: 199

Answers (1)

FDinoff
FDinoff

Reputation: 31429

Your vim installation was not installed with perl.

If you look at the first couple of lines of the plugin you find.

if !has('perl')
  echo 'Error: perl not found'
  finish
else

has('perl') checks to see if vim has the perl feature. Since you see the output of the if statement you do not have the perl feature.

To fix this error recompile vim with perl enabled.

Upvotes: 2

Related Questions