English 中文(简体)
使用化学仪器 页: 1 Windows 7(64 bit)的亚洲开发银行模块
原标题:Use CPAN BerkeleyDB module on Windows 7 (64 bit)

我一直在努力在我的视窗7(x86_64)上安装伯克利分局CPAN模块,但没有任何uck(BerkeleyDB:Hash是我需要的)。 我安装了64台轨道主动发射器和Oracle Berkeley DB 11gR2 5.3.15。 第一,我尝试使用指挥装置:

*cpan install BerkeleyDB*

出现这一错误:

*It looks like the installation of dmake and MinGW has failed.  You will not be
able to run Makefile commands or compile C extension code.  Please check your
internet connection and your proxy settings!*

因此,我安装了微软Windows SDK,用于Windows 7和NET4。

然后,我安装了大刀子

*cpan App::cpanminus*

当我尝试运行时:

*cpanm BerkeleyDB*

我错了:

*Note (probably harmless): No library found for -llibdb
Note (probably harmless): No library found for bufferoverflowU.lib*

因此,我编辑了汇辑,并修改了校正,包括:

*INCLUDE    =  C:PROGRA~2OracleBERKEL~1.15include
LIB =  C:PROGRA~2OracleBERKEL~1.15lib*

现在,我拿着 per。 pl,关于-文盲的警告消失了。

当我尝试运行时:

 *nmake* 

我有错误:

  *Creating library blibarchautoBerkeleyDBBerkeleyDB.lib and object blibarc
hautoBerkeleyDBBerkeleyDB.exp
BerkeleyDB.obj : error LNK2001: unresolved external symbol __heap_exist
BerkeleyDB.obj : error LNK2001: unresolved external symbol db_version
BerkeleyDB.obj : error LNK2001: unresolved external symbol db_strerror
BerkeleyDB.obj : error LNK2001: unresolved external symbol db_env_create
BerkeleyDB.obj : error LNK2001: unresolved external symbol db_create
BerkeleyDB.obj : error LNK2001: unresolved external symbol db_sequence_create
blibarchautoBerkeleyDBBerkeleyDB.dll : fatal error LNK1120: 6 unresolved ext
ernals
NMAKE : fatal error U1077:  "C:Program Files (x86)Microsoft Visual Studio 10.0
VCBinamd64link.EXE"  : return code  0x460 
Stop.*

我几乎丧失了在我个人电脑上成功建造这一单元的一切希望。 是否有任何人 with?

许多感谢,

SN

问题回答

以下所有权利主张均未经验证/确认。 关于MagNET <的第2032号;irc://irc.perl.org/win32> (

libdb needs 发送到64-bit。 在安装附属图书馆及其负责人之前安装整个新的汇编器工具链,使问题更加严重。 如果你在申请配送后继续遇到问题,就会放弃管理工具,并再次与MinGW尝试。





相关问题
Why does my chdir to a filehandle not work in Perl?

When I try a "chdir" with a filehandle as argument, "chdir" returns 0 and a pwd returns still the same directory. Should that be so? I tried this, because in the documentation to chdir I found: "...

How do I use GetOptions to get the default argument?

I ve read the doc for GetOptions but I can t seem to find what I need... (maybe I am blind) What I want to do is to parse command line like this myperlscript.pl -mode [sth] [inputfile] I can use ...

Object-Oriented Perl constructor syntax and named parameters

I m a little confused about what is going on in Perl constructors. I found these two examples perldoc perlbot. package Foo; #In Perl, the constructor is just a subroutine called new. sub new { #I ...

Where can I find object-oriented Perl tutorials? [closed]

A Google search yields a number of results - but which ones are the best? The Perl site appears to contain two - perlboot and perltoot. I m reading these now, but what else is out there? Note: I ve ...

热门标签