2014-10-01 40 views
-2

我已经安装了草莓perl,一切顺利。 但是,即使遵循安装说明,我也无法安装模块。无法安装Perl模块[使用日语说明]

1. 必要なツールをインストールする. 
茶筌をコンパイルするには以下のツールが必要である. 
• Darts1 バージョン0.3 以降 
• (システムに標準装備されていなければ)libiconv 

2. ‘configure’ を実行する. 

% ./configure 

• Darts のヘッダファイルを指定する場合 

% ./configure --with-darts=/usr/local/include 

该模块位于C:\ darts-0.32中,并且该目录内有配置文件。

谢谢!

+0

请使用代码格式来设置代码的格式。请提供更具体的“无法安装”的问题描述。运行你运行的命令的输出是什么?显示了哪些错误信息? – Quentin 2014-10-01 12:35:17

+0

这些指令是日文,而不是中文,顺便说一句。请提供模块的名称。 – 2014-10-01 12:41:34

+0

@Quentin C:\ darts-0.32>%./configure 结果:不是内部或外部命令,可操作程序或批处理文件 谢谢! – DanEng 2014-10-01 13:50:14

回答

2

如果您尝试安装Text::Darts及其必备飞镖,则在author's website以及CPAN上都有安装说明。安装应做如下:

(change directory to the darts download dir) 
% ./configure 
% make 
% make check 
% make install 

(或者也可能是sudo make install您的系统上)

飞镖默认安装到/usr/local/include/darts.h

+0

C:\ darts-0.32>%./configure 结果:不是内部或外部命令,可操作程序或批处理文件 – DanEng 2014-10-01 13:48:40

+0

@DanEng http://helpdeskgeek.com/how-to/fix-not-recognized-as -an-internal-or-external-command/ – 2014-10-01 13:53:20

+0

我已经设置了路径。但它仍然显示相同的错误消息。 – DanEng 2014-10-01 14:17:57