How do I install perl's Text::Markdown::Discount on Strawberry Perl?

444 Views Asked by At

When ever I try to cpanp install Text::Markdown::Discount on Strawberry Perl I get

cp lib/Text/Markdown/Discount.pm blib\lib\Text\Markdown\Discount.pm
    ( cd discount-2.1.2; CC='cc -fPIC' sh configure.sh; make )
The system cannot find the path specified.

I see a lot of others are having this same problem. Can T:M:D be installed on Strawberry Perl?

You also can not install T:M:D with ppm:

PPM> install Text::Markdown::Discount
Install package 'Text-Markdown-Discount?' (y/N): y
Installing package 'Text-Markdown-Discount'...
Error installing package 'Text-Markdown-Discount': Could not locate a PPD file f
or package Text-Markdown-Discount
1

There are 1 best solutions below

3
On

I installed Text::Markdown::Discount with these steps:

git clone https://github.com/sekimura/text-markdown-discount.git

cd text-markdown-discount/

perl Makefile.PL

make

make test

sudo make install