Perl Support in Debian

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Perl Support in Debian

William O'Higgins Witteman
I'm hoping someone has a quick fix for this.  I have installed vim-perl
on Debian (from unstable) but when I look at :ver I see that Perl is
listed as "-perl".  As I understand it, I should see "+perl".  Is there
a way to fix this at run-time, or do I have to compile this in?  Thanks.
--

yours,

William
Reply | Threaded
Open this post in threaded view
|

Re: Perl Support in Debian

Mikołaj Machowski
Dnia czwartek, 25 maja 2006 18:02, William O'Higgins Witteman napisał:
> I'm hoping someone has a quick fix for this.  I have installed vim-perl
> on Debian (from unstable) but when I look at :ver I see that Perl is
> listed as "-perl".  As I understand it, I should see "+perl".  Is there
> a way to fix this at run-time, or do I have to compile this in?  Thanks.

Only compilation option. --enable-perlinterp

m.

Reply | Threaded
Open this post in threaded view
|

Re: Perl Support in Debian

James Vega-3
In reply to this post by William O'Higgins Witteman
On Thu, May 25, 2006 at 12:02:35PM -0400, William O'Higgins Witteman wrote:
> I'm hoping someone has a quick fix for this.  I have installed vim-perl
> on Debian (from unstable)

<Debian Vim maintainer hat>
Please report bugs with our Vim package directly to us.  This allows us
to determine if it's a packaging problem which we need to deal with or
an upstream problem which we can triage and report to Bram.

The preferred method of reporting bugs is via reportbug:

  apt-get install reportbug && reportbug vim-perl
</Debian Vim maintainer hat>

> but when I look at :ver I see that Perl is
> listed as "-perl".  As I understand it, I should see "+perl".  Is there
> a way to fix this at run-time, or do I have to compile this in?  Thanks.

Are you sure you're running vim.perl and not another one of the variants
we provide?  Try explicitly invoking vim.perl instead of vim.  If that
works, then there's probably another variant of Vim installed which is
being pointed to by the alternatives system.  You can see what
alternatives are providing the vim binary via:

  /usr/sbin/update-alternatives --display vim

HTH,

James
--
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[hidden email]>

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Perl Support in Debian

William O'Higgins Witteman
On Thu, May 25, 2006 at 01:26:12PM -0400, James Vega wrote:
>On Thu, May 25, 2006 at 12:02:35PM -0400, William O'Higgins Witteman wrote:
>> I'm hoping someone has a quick fix for this.  I have installed vim-perl
>> on Debian (from unstable)
>
>Are you sure you're running vim.perl and not another one of the variants
>we provide?  Try explicitly invoking vim.perl instead of vim.  If that
>works, then there's probably another variant of Vim installed which is
>being pointed to by the alternatives system.  You can see what
>alternatives are providing the vim binary via:

Aha!  You have spotted the problem.  I have both vim-perl and vim-python
installed, and even though they have the same priority, the system is
defaulting to vim.python.

So now the question is, is it possible to enable both Perl and Python at
the same time?

Thanks, and thanks for maintaining vim on Debian.
--

yours,

William
Reply | Threaded
Open this post in threaded view
|

Re: Perl Support in Debian

James Vega-3
On Thu, May 25, 2006 at 02:38:30PM -0400, William O'Higgins Witteman wrote:

> On Thu, May 25, 2006 at 01:26:12PM -0400, James Vega wrote:
> >On Thu, May 25, 2006 at 12:02:35PM -0400, William O'Higgins Witteman wrote:
> >> I'm hoping someone has a quick fix for this.  I have installed vim-perl
> >> on Debian (from unstable)
> >
> >Are you sure you're running vim.perl and not another one of the variants
> >we provide?  Try explicitly invoking vim.perl instead of vim.  If that
> >works, then there's probably another variant of Vim installed which is
> >being pointed to by the alternatives system.  You can see what
> >alternatives are providing the vim binary via:
>
> Aha!  You have spotted the problem.  I have both vim-perl and vim-python
> installed, and even though they have the same priority, the system is
> defaulting to vim.python.
You can change that with update-alternatives --config, but then you'll
run into a similar situation if you (or someone else on that machine)
want to use Python to script Vim. :)

> So now the question is, is it possible to enable both Perl and Python at
> the same time?

We have vim-full which has support for all the interpreters (minus
MzScheme).  This is one of the situations where binary distributions are
lacking because there's a trade-off between trying to meet everyone's
needs and having numerous different versions of the same program.

James
--
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[hidden email]>

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Perl Support in Debian

William O'Higgins Witteman
On Thu, May 25, 2006 at 03:13:45PM -0400, James Vega wrote:
 

>> Aha!  You have spotted the problem.  I have both vim-perl and vim-python
>> installed, and even though they have the same priority, the system is
>> defaulting to vim.python.
>
>You can change that with update-alternatives --config, but then you'll
>run into a similar situation if you (or someone else on that machine)
>want to use Python to script Vim. :)
>
>> So now the question is, is it possible to enable both Perl and Python at
>> the same time?
>
>We have vim-full which has support for all the interpreters (minus
>MzScheme).  This is one of the situations where binary distributions are
>lacking because there's a trade-off between trying to meet everyone's
>needs and having numerous different versions of the same program.

Joy!  vim-full is just the ticket.  I can't think why it was not
installed before.  Binary distributions do have drawbacks, but
generally, managing all of my programs with apt is far more effective
then muddling with source when I don't have to.  Thanks for the help.
--

yours,

William
Reply | Threaded
Open this post in threaded view
|

Re: Perl Support in Debian

Eddy Petrișor
On 5/25/06, William O'Higgins Witteman <[hidden email]> wrote:

> On Thu, May 25, 2006 at 03:13:45PM -0400, James Vega wrote:
>
> >> Aha!  You have spotted the problem.  I have both vim-perl and vim-python
> >> installed, and even though they have the same priority, the system is
> >> defaulting to vim.python.
> >
> >You can change that with update-alternatives --config, but then you'll
> >run into a similar situation if you (or someone else on that machine)
> >want to use Python to script Vim. :)
> >
> >> So now the question is, is it possible to enable both Perl and Python at
> >> the same time?
> >
> >We have vim-full which has support for all the interpreters (minus
> >MzScheme).  This is one of the situations where binary distributions are
> >lacking because there's a trade-off between trying to meet everyone's
> >needs and having numerous different versions of the same program.
>
> Joy!  vim-full is just the ticket.  I can't think why it was not
> installed before.  Binary distributions do have drawbacks, but
> generally, managing all of my programs with apt is far more effective
> then muddling with source when I don't have to.  Thanks for the help.

Gentoo does it quite well, and generally you don't have to modify
things and is all managed. In spite of that I am, too, a Debian user
for the same reason you stated ;-).

--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein