WolfgangMehner / vim-plugins

Vim plug-ins which offer support for various programming languages.
414 stars 96 forks source link

Perl-Support: Can not find Perl executable #20

Open chazubell opened 9 years ago

chazubell commented 9 years ago

When try to run "perl" from inside vim (or gvim) on Windows 7 the error message "(possibly default) Perl Interpreter 'c:\Perl\bin\perl.exe' not executable."

However the Perl executable is in "C:\Perl64\bin\perl.EXE", how do I force Vim-Perl to find it. A side note: the vim script perl.vim does find the proper library directories.

I know that this a newbie thing. My apologies if I have missed something int he documentation.

Also I am running Active State Perl: (v5.14.4)

WolfgangMehner commented 9 years ago

Add this line to your $HOME_vimrc:

let g:Perl_Perl = 'C:\Perl64\bin\perl.EXE'

The configuration variable g:Perl_Perl is not documented, which will be fixed.

chazubell commented 9 years ago

Thank you so much.

WolfgangMehner commented 9 years ago

I'm going to leave this questions open until the new version with the extended documentation is uploaded.

chazubell commented 9 years ago

Wolfgang:

Thank you again. I really try to avoid asking newbie questions. I was glad to see I was indeed not missing the forest for the trees.

Chaz Ubell

Project Engineer II

Honeywell Industrial Cyber Security (ICS)

        (t) +1 (480) 293-0298

        (m) +1 (415) 627-8357

         <mailto:charles.ubell@honeywell.com> charles.ubell@honeywell.com

From: Wolfgang Mehner [mailto:notifications@github.com] Sent: Wednesday, February 18, 2015 8:48 AM To: WolfgangMehner/vim-plugins Cc: Ubell, Chaz Subject: Re: [vim-plugins] Vim-Perl cannot find Perl bin directory (#20)

Add this line to your $HOME_vimrc:

let g:Perl_Perl = 'C:\Perl64\bin\perl.EXE'

The configuration variable g:Perl_Perl is not documented, which will be fixed.

— Reply to this email directly or view it on GitHub https://github.com/WolfgangMehner/vim-plugins/issues/20#issuecomment-74898971 . https://github.com/notifications/beacon/AAIFetjacdDkgNLVvXHs3T6BcY5q-RSAks5ntLmkgaJpZM4DiMMy.gif