2009年2月5日星期四

[PerlChina] Re: 如何在windows下安装XML::LibXML?

手工把dll下载下来放到system32文件夹下或者PATH变量能搜索到的目录

2009/2/5 Uliyas Fan <uliyas@gmail.com>
在ppm下没有找到这个package,
 
后来在网上搜了两个ppd,尝试安装,安装过程中会报些dll的错误,不知道怎么解决,那位有什么方法指点一下啊?
 
-------------------------------------------------------------------------------------------------------------------
D:\>ppm install http://theoryx5.uwinnipeg.ca/ppms/XML-LibXML-Common.ppd
Downloading XML-LibXML-Common-0.13...done
Unpacking XML-LibXML-Common-0.13...done
Generating HTML for XML-LibXML-Common-0.13...done
Installing to site area...done
Downloading XML-LibXML-Common-0.13 install script...done
Running XML-LibXML-Common-0.13 install script...
The library libxml2.dll is needed to complete the installation,
and should be placed in a directory somewhere in your PATH
environment variable. I can fetch and install this for you,
if you don't already have it.
Fetch libxml2.dll? [yes] y
Terminating on signal SIGINT(2)
终止批处理操作吗(Y/N)? n
 
D:\>ppm install http://theoryx5.uwinnipeg.ca/ppms/XML-LibXML.ppd
Downloading XML-LibXML-1.64...done
Unpacking XML-LibXML-1.64...done
Generating HTML for XML-LibXML-1.64...done
Installing to site area...done
Downloading XML-LibXML-1.64 install script...done
Running XML-LibXML-1.64 install script...
Do you want to alter ParserDetails.ini? [yes]
C:\Perl\bin\perl.exe -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Par
ser))->save_parsers()"
Can't load 'C:/Perl/site/lib/auto/XML/LibXML/LibXML.dll' for module XML::LibXML:
 load_file:找不到指定的程序。 at C:/Perl/lib/DynaLoader.pm line 230.
 at C:/Perl/site/lib/XML/LibXML.pm line 116
BEGIN failed--compilation aborted at C:/Perl/site/lib/XML/LibXML.pm line 116.
Compilation failed in require at C:/Perl/site/lib/XML/LibXML/SAX/Parser.pm line
8.
BEGIN failed--compilation aborted at C:/Perl/site/lib/XML/LibXML/SAX/Parser.pm l
ine 8.
Compilation failed in require at C:/Perl/site/lib/XML/SAX.pm line 147.
system C:\Perl\bin\perl.exe -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::S
AX::Parser))->save_parsers()" failed: 65280 at install_script line 32, <STDIN> l
ine 1.
ppm install failed: Command exits with 9:
  C:\Perl\bin\perl.exe install_script
  stopped
D:\>
 
Uliyas


--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
 要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
 要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛

-~----------~----~----~----~------~----~------~--~---

没有评论: