免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2868 | 回复: 4

Perl DBI模块安装问题 [复制链接]

论坛徽章:
0
发表于 2009-08-12 20:42 |显示全部楼层
virtural c 已经安装,VCVARS32.BAT文件也运行了,依然安装DBI时出现以下提示

*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.

*** You're using Microsoft Visual C++ compiler or similar but
    the LIB and INCLUDE environment variables are not both set.

    You need to run the VCVARS32.BAT batch file that was supplied
    with the compiler before you can use it.

    A copy of vcvars32.bat can typically be found in the following
    directories under your Visual Studio install directory:
        Visual C++ 6.0:     vc98\bin
        Visual Studio .NET: vc7\bin

    Find it, run it, then retry this.

    If you think this error is not correct then just set the LIB and
    INCLUDE environment variables to some value to disable the check.
Warning: No success on command[C:\Perl\bin\perl.exe Makefile.PL]
Warning (usually harmless): 'YAML' not installed, will not store persistent stat
e
  TIMB/DBI-1.609.tar.gz
  C:\Perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Could not read 'C:\Perl\cpan\build\DBI-1.609-w8feo1\META.yml'. Falling back to o
ther methods to determine prerequisites

论坛徽章:
0
发表于 2009-08-12 23:28 |显示全部楼层
搞那么多干啥,在windows下连上网络,直接打开cmd.exe,键入ppm install DBI就OK了

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
发表于 2009-08-13 13:52 |显示全部楼层
*** You're using Microsoft Visual C++ compiler or similar but
    the LIB and INCLUDE environment variables are not both set.
问题在於此..如果你看不懂E文我也没办法了..改用ppm吧...

论坛徽章:
0
发表于 2009-08-13 14:16 |显示全部楼层
安装 activeperl 的话直接就有这个了。

论坛徽章:
0
发表于 2009-08-14 17:08 |显示全部楼层

回复 #3 apile 的帖子

You need to run the VCVARS32.BAT batch file that was supplied
    with the compiler before you can use it.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP