当我在Strawberry Perl尝试cpanp install Text::Markdown::Discount
时,我得到了
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.可以在Strawberry Perl上安装T:M:D
吗?
您也无法使用ppm安装T:M:D:
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
答案 0 :(得分:-2)
我使用以下步骤安装了Text :: Markdown :: Discount:
git clone https://github.com/sekimura/text-markdown-discount.git
cd text-markdown-discount/
perl Makefile.PL
make
make test
sudo make install