我在我的Mac (塞拉利昂)上安装了RandSQLGenerator并运行了这个命令。
./gentest.pl --dsn=dbi:mysql:host=127.0.0.1:port=4000:user=root:database=test --grammar=conf/outer_join.yy --gendata=conf/outer_join.zz --thread=1 --sqltrace=MarkErrors我收到以下错误消息
无法在@INC中找到GDBM_File.pm (您可能需要安装GDBM_File模块) (@INC )包含: /lib 库 /Library/Perl/5.18/达尔文-线程-多-2级 /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /网络/图书馆/Perl/5.18 /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 。 )在lib/GenTest.pm第34行。 开始失败-编译在lib/GenTest.pm第34行中止。 编译在./gentest.pl第27行的要求中失败。 开始失败-编译在./gentest.pl第27行中止。
我试着从谷歌上搜索,但仍然无法解决这个问题。
发布于 2018-02-11 16:45:05
在cpan上。
您可以通过以下命令安装它:
cpan GDBM_File
https://stackoverflow.com/questions/48733474
复制相似问题