大乌云 发表于 2005-7-2 16:53:09

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

我使用
xampp-linux-1.4.12.tar.gz
psychostats2.3.1.tar.gz
安装

DBI 和 DBD 位置:
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/W32ODBC.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Roadmap.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/FAQ.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProxyServer.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/SQL
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/SQL/Nano.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/SQL
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfoType.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfo
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfo/ANSI.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfo/ODBC.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfo
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const/GetInfoReturn.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Const
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProfileDumper.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProfileDumper
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProfileDumper/Apache.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProfileDumper
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/DBD
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/DBD/Metadata.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/DBD
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Profile.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/ProfileData.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/PurePerl.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/Changes.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI/DBD.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/.packlist
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/Driver_xst.h
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/DBI.bs
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/Driver.xst
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/DBIXS.h
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/dbivport.h
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/dbipport.h
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/dbi_sql.h
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/DBI.so
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/dbd_xsh.h
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/Bundle/DBI.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/DBI.pm
/opt/lampp/lib/perl5/site_perl/5.8.6/i686-linux/Win32/DBIODBC.pm

出现如下错误:
# ./stats.pl
Loading referee ... done
Loading "halflife" scanner ...
Loading "halflife" definitions ... done
Loading "cstrike" definitions ... done
Loading "halflife" weapons ... done
Loading "cstrike" weapons ... done
Loading "halflife" bonuses ... done
Loading "cstrike" bonuses ... done
Processing all definitions ... done
Done loading scanner.
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.
BEGIN failed--compilation aborted at /hlds/standard/psychostats2.3.1/PS/Saver/mysql.pm line 8.
Compilation failed in require at /hlds/standard/psychostats2.3.1//PS.pm line 1165.
#

怎么搞定?谁给点思路??怎么能够指定DBI和 DBD的路径??

windgao 发表于 2005-7-2 17:20:12

我想是你的软件配置文件不正确吧。另外你使用的是什么系统。请打出来

大乌云 发表于 2005-7-2 18:05:57

我使用的是 redhat as 4

perl 的版本是 5.8.5

安装路径在 /opt 下面

我ln -s 了链接,还是不行
页: [1]
查看完整版本: 关于Loading "mysql" saver ... Can't locate DBI.pm