xml::libxml安装的问题

banye11dian 2009-03-19 02:19:36
我在windows下想用perl对一个xml::libxml这个模块对一个xml档进行处理,在安装的时候遇到了问题
提示libxml12找不到
libxml这个东西到底怎么装啊,我按照网上的方法讲libxml,iconv和zlib这三个模块下载下来,解压后讲其bin目录放到了环境变量path中,可是安装xml::libxml还是找不到libxml,提示信息如下:
D:\XML-LibXML-1.69>perl Makefile.PL
Set up gcc environment - 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
enable native perl UTF8
looking for -lxml2... no
looking for -llibxml2... no
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from
http://xmlsoft.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.

Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter
to see the exact reason why the detection of libxml2 installation
failed or why Makefile.PL was not able to compile a test program.
请高手赐教,急,在线等
...全文
764 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
sticklee 2009-03-31
  • 打赏
  • 举报
回复
我是新手,也不知道怎么下载,怎么装了,
能不能告诉我怎么弄..........我弄了一天了
还有
==============
不好意思,之前的rep里只有一个源,那个源里并没有xml-libxml这个包,我先添加了一个cpan的源之后才能search这个包,谢谢了啊
==============
中"rep"是哪里?如何添加一个cpan的源

我使用的是ActivePerl 5.10.0 Build 1004
banye11dian 2009-03-19
  • 打赏
  • 举报
回复
不好意思,之前的rep里只有一个源,那个源里并没有xml-libxml这个包,我先添加了一个cpan的源之后才能search这个包,谢谢了啊
iambic 2009-03-19
  • 打赏
  • 举报
回复
XML-libXML应该是你想要安装的包。
iambic 2009-03-19
  • 打赏
  • 举报
回复
我这边用PPM能看到两个包:
libxml-perl
XML-libXML
都不是你想要的包?
banye11dian 2009-03-19
  • 打赏
  • 举报
回复
在ppm中找不到xml::libxml这个包,我是在cpan上找到的安装包,下载下来安装出现了那个问题。是不是这个包已经不能用了?
iambic 2009-03-19
  • 打赏
  • 举报
回复
用PPM来装。在你的开始菜单里有。Perl Package Manager。

37,719

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • IT.BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧