安装mmm时先安装perl模块,结果装DBD::DBD-mysql-3.0008是make test 通不过。我的数据库版本是mysql 4.1.8.出错如下:PERL_DL_NONLAZY=1 /usr/bin/perl ”-MExtUtiles::Command::MM" "-e", "test_harness(0,'blib/lib','blib/arch')" t/00base............install_driver(mysql) failed:
Can't load '/tmp/mmm-test/DBD-mysql-3.0008/blib/arch/auto/DBD/mysql/mys
ql.so' for module DBD::mysql: /tmp/mmm-test/DBD-mysql-3.0008/blib/arch/auto/DBD/mysql/ld.so.1:
undefined symbol: mysql_stmt_free_result at /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm
line 230. Perhaps a required shared library or dll isn't
installed where expected
at t/00base.t line 38
全部是类似这个错误提示。崩溃
我在perl Makefile.PL 时 --libs 和--cflags --testhost 都指定好了。求高手解答
Can't load '/tmp/mmm-test/DBD-mysql-3.0008/blib/arch/auto/DBD/mysql/mys
ql.so' for module DBD::mysql: /tmp/mmm-test/DBD-mysql-3.0008/blib/arch/auto/DBD/mysql/ld.so.1:
undefined symbol: mysql_stmt_free_result at /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm
line 230. Perhaps a required shared library or dll isn't
installed where expected
at t/00base.t line 38
全部是类似这个错误提示。崩溃
我在perl Makefile.PL 时 --libs 和--cflags --testhost 都指定好了。求高手解答
tar zxvf mysql-master-master-1.2.6.tar.gz
tar zxvf Proc-Daemon-0.03.tar.gz
tar zxvf Algorithm-Diff-1.1902.tar.gz进入各个解压包
cd Algorithm-Diff-1.1902
perl Makefile.PL
make
make test
make install
cd ..
cd Proc-Daemon-0.03
perl Makefile.PL
make
make test
make install
cd ..
cd mysql-master-master-1.2.6
./install.pl
我是这样装的,和楼主不一样.