免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2203 | 回复: 2
打印 上一主题 下一主题

安装DBI失败怎么找不到提示? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-18 14:23 |只看该作者 |倒序浏览
最近在学习perl,但是安装DBI的第二步,make命令的时候总是出错,我却找不到哪里有问题,请教高手。
谢谢!
perl版本5.8  DBI版本1.53

  1. [root@root DBI-1.53]# make
  2. make: *** Warning: File `Makefile.PL' has modification time in the future (2006-11-01 19:19:01 > 2006-07-14 18:06:29.411427)
  3. Makefile out-of-date with respect to Makefile.PL
  4. Cleaning current config before rebuilding Makefile...
  5. make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
  6. /usr/bin/perl Makefile.PL

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

  10. *** Note:
  11.     The optional PlRPC-modules (RPC::PlServer etc) are not installed.
  12.     If you want to use the DBD::Proxy driver and DBI::ProxyServer
  13.     modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
  14.     Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
  15.     You can install them any time after installing the DBI.
  16.     You do *not* need these modules for typical DBI usage.

  17. Optional modules are available from any CPAN mirror, in particular
  18.     http://search.cpan.org/
  19.     http://www.perl.com/CPAN/modules/by-module
  20.     http://www.perl.org/CPAN/modules/by-module
  21.     ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module

  22. Your perl was compiled with gcc (version 3.2.2 20030213 (Red Hat Linux 8.0 3.2.2-1)), okay.
  23. Creating DBI::PurePerl    test variant: t/zvpp_01basics.t
  24. Creating DBI::PurePerl    test variant: t/zvpp_02dbidrv.t
  25. Creating DBI::PurePerl    test variant: t/zvpp_03handle.t
  26. Creating DBI::PurePerl    test variant: t/zvpp_04mods.t
  27. Creating DBI::PurePerl    test variant: t/zvpp_05thrclone.t (use threads)
  28. Creating DBI::PurePerl    test variant: t/zvpp_06attrs.t
  29. Creating DBI::PurePerl    test variant: t/zvpp_07kids.t
  30. Creating DBI::PurePerl    test variant: t/zvpp_08keeperr.t
  31. Creating DBI::PurePerl    test variant: t/zvpp_09trace.t
  32. Creating DBI::PurePerl    test variant: t/zvpp_10examp.t
  33. Creating DBI::PurePerl    test variant: t/zvpp_11fetch.t
  34. Creating DBI::PurePerl    test variant: t/zvpp_14utf8.t
  35. Creating DBI::PurePerl    test variant: t/zvpp_15array.t
  36. Creating DBI::PurePerl    test variant: t/zvpp_20meta.t
  37. Creating DBI::PurePerl    test variant: t/zvpp_30subclass.t
  38. Creating DBI::PurePerl    test variant: t/zvpp_40profile.t
  39. Creating DBI::PurePerl    test variant: t/zvpp_41prof_dump.t
  40. Creating DBI::PurePerl    test variant: t/zvpp_42prof_data.t
  41. Creating DBI::PurePerl    test variant: t/zvpp_43prof_env.t
  42. Creating DBI::PurePerl    test variant: t/zvpp_50dbm.t
  43. Creating DBI::PurePerl    test variant: t/zvpp_60preparse.t
  44. Creating DBI::PurePerl    test variant: t/zvpp_70callbacks.t
  45. Creating DBI::PurePerl    test variant: t/zvpp_72childhandles.t
  46. Creating DBI::PurePerl    test variant: t/zvpp_80proxy.t
  47. Checking if your kit is complete...
  48. Looks good
  49. Warning: prerequisite File::Spec 1 not found. We have 0.83.

  50.     I see you're using perl 5.008 on i386-linux-thread-multi, okay.
  51.     Remember to actually *read* the README file!
  52.     Use  'make' to build the software (dmake or nmake on Windows).
  53.     Then 'make test' to execute self tests.
  54.     Then 'make install' to install the DBI and then delete this working
  55.     directory before unpacking and building any DBD::* drivers.

  56. Writing Makefile for DBI
  57. ==> Your Makefile has been rebuilt. <==
  58. ==> Please rerun the make command.  <==
  59. false
  60. make: *** [Makefile] Error 1
  61. [root@root DBI-1.53]#
复制代码

论坛徽章:
0
2 [报告]
发表于 2006-12-18 15:21 |只看该作者
在进行编译时,make会检查时间戳,实际上提示信息中已经有了。
如果不希望出现上面的提示,执行:
   find . -type f -exec touch {} \;

另外就是DBI依赖的File::Spec模块,你的系统里面没有装(这一点有些奇怪),需要事先装上。

你好像用的是老版本的RedHat吧?8.0?太旧了。

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
3 [报告]
发表于 2006-12-19 09:13 |只看该作者
1.不必要去追求最新版本的Linux..只要稳定即可..RedHat 6.X的也还有很多都还在工作...

2.楼主的Perl版本太旧了..请更新到Perl 5.8.8....
Perl 5.8.0我碰过他本身的bug....
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP