Install issues
John Gruber
gruber at fedora.net
Tue Mar 23 14:06:47 EST 2004
Jason Clark <jason at jclark.org> wrote on 03/23/04 at 10:58a:
> > When executing Markdown.pl on the commandline I get the following
> > message:
> >
> > Can't locate warnings.pm in @INC (@INC contains:
> > [...]
> While you may have perl-5.8.2_2 installed, it doesn't appear to be
> getting invoked (althought it's possible); the include path perl is
> searching is all perl5.005-specific.
Markdown is definitely not running under Perl 5.6 or higher, given
the above errors.
> If you know the correct path to your perl 5.8 executable, you can
> change the first line of Markdown.pl to reflect this location.
That's not going to work when Markdown is running as a Movable Type
plug-in. The shebang line (#!/usr/bin/perl) only has an effect when
you're running Markdown as a standalone Perl script.
Within MT, Markdown runs in the same process as the Movable Type CGI
app, and it looks like on Arthur's server, that's Perl 5.005.
> If the results of our first test (/usr/bin/perl -v) were version 5.6 or
> version 5.8, you'll need to ask your sysadmins for help; the newer perl
> is only searching the include path of the older perl.
Perl 5.6.0 shipped *4 years ago*; while it's unfortunate that many
systems are still running older versions, there's no way Markdown
will ever run on anything older than 5.6.
> > Apologies if this is not the proper use of this list.
>
> I don't know; it doesn't bother me. I replied on-list because I expect
> other people may have similar problems in the future, as Markdown
> becomes more popular. Hopefully they will search the archives, as you
> did :)
I agree, this is a fine use of the list. The basic idea is that
anything Markdown-related can be posted. However, once a thread
diverges from discussion of Markdown itself, it ought to be taken
off-list.
-J.G.
More information about the Markdown-discuss
mailing list