public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* VIM broken by upgrade to Perl 5.30
@ 2020-03-06  9:22 Sommrey, Joerg (Allianz Deutschland)
  2020-03-06 17:00 ` Kevin Schnitzius via cygwin
  0 siblings, 1 reply; 4+ messages in thread
From: Sommrey, Joerg (Allianz Deutschland) @ 2020-03-06  9:22 UTC (permalink / raw)
  To: cygwin

Hi,

vim needs to be recompiled for Perl 5.30. The perl interface is no longer working:
Calling:
:perl VIM::Msg(“Hi”)

Results in:

E370: Could not load library cygperl5_26.dll
Sorry, this command is disabled: the Perl library could not be loaded.

Kind regards,
Jörg Sommrey

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: VIM broken by upgrade to Perl 5.30
  2020-03-06  9:22 VIM broken by upgrade to Perl 5.30 Sommrey, Joerg (Allianz Deutschland)
@ 2020-03-06 17:00 ` Kevin Schnitzius via cygwin
  2020-03-06 17:39   ` AW: " Sommrey, Joerg (Allianz Deutschland)
  2020-03-06 18:46   ` Oliver Schoede
  0 siblings, 2 replies; 4+ messages in thread
From: Kevin Schnitzius via cygwin @ 2020-03-06 17:00 UTC (permalink / raw)
  To: cygwin, Sommrey, Joerg (Allianz Deutschland)

> vim needs to be recompiled for Perl 5.30. The perl interface is no longer working:
> Calling:
> :perl VIM::Msg(“Hi”)
> 
> Results in:
> 
> E370: Could not load library cygperl5_26.dll
> Sorry, this command is disabled: the Perl library could not be loaded.

Add:
    set perldll=/usr/bin/perl5_30.dll
to your .vimrc file.

Kevin



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* AW: VIM broken by upgrade to Perl 5.30
  2020-03-06 17:00 ` Kevin Schnitzius via cygwin
@ 2020-03-06 17:39   ` Sommrey, Joerg (Allianz Deutschland)
  2020-03-06 18:46   ` Oliver Schoede
  1 sibling, 0 replies; 4+ messages in thread
From: Sommrey, Joerg (Allianz Deutschland) @ 2020-03-06 17:39 UTC (permalink / raw)
  To: Kevin Schnitzius, cygwin

Hi Kevin,

thanks for the hint, but this does not work.
After setting perldll to perl5_30.dll I get:

if_perl.c: loadable library and perl binaries are mismatched (got handshake key 0x8800080, needed 0x9680080)

And then vim dies...

Jörg


-----Ursprüngliche Nachricht-----
Von: Kevin Schnitzius [mailto:kometes@yahoo.com] 
Gesendet: Donnerstag, 5. März 2020 22:43
An: cygwin@cygwin.com; Sommrey, Joerg (Allianz Deutschland)
Betreff: Re: VIM broken by upgrade to Perl 5.30

> vim needs to be recompiled for Perl 5.30. The perl interface is no longer working:
> Calling:
> :perl VIM::Msg(“Hi”)
> 
> Results in:
> 
> E370: Could not load library cygperl5_26.dll
> Sorry, this command is disabled: the Perl library could not be loaded.

Add:
    set perldll=/usr/bin/perl5_30.dll
to your .vimrc file.

Kevin



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: VIM broken by upgrade to Perl 5.30
  2020-03-06 17:00 ` Kevin Schnitzius via cygwin
  2020-03-06 17:39   ` AW: " Sommrey, Joerg (Allianz Deutschland)
@ 2020-03-06 18:46   ` Oliver Schoede
  1 sibling, 0 replies; 4+ messages in thread
From: Oliver Schoede @ 2020-03-06 18:46 UTC (permalink / raw)
  To: cygwin; +Cc: Kevin Schnitzius

On Thu, 5 Mar 2020 21:42:42 +0000 (UTC)
"Kevin Schnitzius via cygwin" <cygwin@cygwin.com> wrote:

> > vim needs to be recompiled for Perl 5.30. The perl interface is no
> > longer working: Calling:
> > :perl VIM::Msg(“Hi”)
> > 
> > Results in:
> > 
> > E370: Could not load library cygperl5_26.dll
> > Sorry, this command is disabled: the Perl library could not be
> > loaded.
> 
> Add:
>     set perldll=/usr/bin/perl5_30.dll
> to your .vimrc file.
> 

Appears that doesn't work on Windows, Cygwin or otherwise, as per
if_perl.txt:

"The name of the DLL must match the Perl version Vim was compiled with.
Currently the name is "perl512.dll".  That is for Perl 5.12.  To know
for sure edit "gvim.exe" and search for "perl\d*.dll\c"

Sure enough, the binary still has references to 5.26 baked in.

Regards,
Oliver

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-06 12:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-06  9:22 VIM broken by upgrade to Perl 5.30 Sommrey, Joerg (Allianz Deutschland)
2020-03-06 17:00 ` Kevin Schnitzius via cygwin
2020-03-06 17:39   ` AW: " Sommrey, Joerg (Allianz Deutschland)
2020-03-06 18:46   ` Oliver Schoede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).