VimDebug icon indicating copy to clipboard operation
VimDebug copied to clipboard

Not using correct perl version

Open hukangha opened this issue 9 years ago • 1 comments

Hi, I'm using perl 5.24 which located in /usr/local/bin/perl and used this perl to install VimDebug; but after install this plugin into ~/.vim and starts vim, the terminal reports that

Can't locate Vim/Debug/Protocol.pm in @INC (@INC contains: /home/hukang/work/../../.. /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at (eval 6) line 7.

seems it is still looking for the packages located in the old perl's "@INC" variable.

I'm not sure if this is a bug or vim is just fixed to the system perl which it is compiled against.

Is there any workaround or variable I can modify to point vim to the newer version perl?

hukangha avatar Nov 16 '16 03:11 hukangha

Thanks for the interest but I'm sorry to say this project is dead and tbh never worked well beyond very basic functionality. Feel free to fork it if you wish.

On Tue, Nov 15, 2016, 9:38 PM hukangha [email protected] wrote:

Hi, I'm using perl 5.24 which located in /usr/local/bin/perl and used this perl to install VimDebug; but after install this plugin into ~/.vim and starts vi, the terminal reports that " Can't locate Vim/Debug/Protocol.pm in @INC https://github.com/INC (@INC https://github.com/INC contains: /home/hukang/work/../../.. /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at (eval 6) line 7. "

seems it is still looking for the packages located in the old perl's "@INC https://github.com/INC" variable.

I'm not sure if this is a bug or vim is just fixed to the system perl which it is compiled against.

Is there any workaround or variable I can modify to point vim to the newer version perl?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kablamo/VimDebug/issues/37, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGZJspQxDI4Fo_ONmb-IQQkmROJCg-nks5q-nrRgaJpZM4KzUXs .

kablamo avatar Nov 19 '16 07:11 kablamo