搜索
查看: 2245|回复: 2

关于Loading "mysql" saver ... Can't locate DBI.pm

[复制链接]
发表于 2005-7-2 16:53:09 | 显示全部楼层 |阅读模式 来自 中国–吉林–长春
我使用
  1. xampp-linux-1.4.12.tar.gz
  2. psychostats2.3.1.tar.gz
复制代码

安装

DBI 和 DBD 位置:
  1. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI
  2. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/W32ODBC.pm
  3. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Roadmap.pm
  4. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/FAQ.pm
  5. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProxyServer.pm
  6. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/SQL
  7. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/SQL/Nano.pm
  8. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/SQL
  9. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const
  10. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfoType.pm
  11. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfo
  12. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfo/ANSI.pm
  13. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfo/ODBC.pm
  14. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfo
  15. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfoReturn.pm
  16. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const
  17. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProfileDumper.pm
  18. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProfileDumper
  19. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProfileDumper/Apache.pm
  20. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProfileDumper
  21. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/DBD
  22. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/DBD/Metadata.pm
  23. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/DBD
  24. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Profile.pm
  25. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProfileData.pm
  26. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/PurePerl.pm
  27. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Changes.pm
  28. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/DBD.pm
  29. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI
  30. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI
  31. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/.packlist
  32. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/Driver_xst.h
  33. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/DBI.bs
  34. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/Driver.xst
  35. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/DBIXS.h
  36. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/dbivport.h
  37. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/dbipport.h
  38. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/dbi_sql.h
  39. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/DBI.so
  40. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/dbd_xsh.h
  41. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI
  42. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/Bundle/DBI.pm
  43. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI.pm
  44. /opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/Win32/DBIODBC.pm
复制代码


出现如下错误:
  1. [root@rhas4 psychostats2.3.1]# ./stats.pl
  2. Loading referee ... done
  3. Loading "halflife" scanner ...
  4.   Loading "halflife" definitions ... done
  5.   Loading "cstrike" definitions ... done
  6.   Loading "halflife" weapons ... done
  7.   Loading "cstrike" weapons ... done
  8.   Loading "halflife" bonuses ... done
  9.   Loading "cstrike" bonuses ... done
  10.   Processing all definitions ... done
  11. Done loading scanner.
  12. Loading "mysql" saver ... Can't locate DBI.pm in @INC (@INC contains: /hlds/standard/psychostats2.3.1/ /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /hlds/standard/psychostats2.3.1/PS/Saver/mysql.pm line 8.
  13. BEGIN failed--compilation aborted at /hlds/standard/psychostats2.3.1/PS/Saver/mysql.pm line 8.
  14. Compilation failed in require at /hlds/standard/psychostats2.3.1//PS.pm line 1165.
  15. [root@rhas4 psychostats2.3.1]#
复制代码


怎么搞定?谁给点思路??怎么能够指定DBI和 DBD的路径??
发表于 2005-7-2 17:20:12 | 显示全部楼层 来自 中国–广东–深圳
我想是你的软件配置文件不正确吧。另外你使用的是什么系统。请打出来
回复

使用道具 举报

 楼主| 发表于 2005-7-2 18:05:57 | 显示全部楼层 来自 中国–吉林–长春
我使用的是 redhat as 4

perl 的版本是 5.8.5

安装路径在 /opt 下面

我ln -s 了链接,还是不行
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表