1

我正在尝试使用在 WindowsActiveDCTM上访问。Documentum有两个相关的宝石:activedctmdctmruby.

当我安装dctmruby时,出现错误:

checking for dmAPIInit() in -ldmcl40... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=C:/RailsInstaller/Ruby1.9.3/bin/ruby
        --with-dctm-dir
        --without-dctm-dir
        --with-dctm-include
        --without-dctm-include=${dctm-dir}/include
        --with-dctm-lib
        --without-dctm-lib=${dctm-dir}/lib
        --with-myflag-dir
        --with-myflag-include
        --without-myflag-include=${myflag-dir}/include
        --with-myflag-lib
        --without-myflag-lib=${myflag-dir}/lib
        --with-dmcl40lib
        --without-dmcl40lib
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler
 failed to generate an executable file. (RuntimeError)
You have to install development tools first.
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:461:in `try_link
0'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:476:in `try_link
'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:619:in `try_func
'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:845:in `block in
 have_library'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:790:in `block in
 checking_for'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:284:in `block (2
 levels) in postpone'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:254:in `open'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:284:in `block in
 postpone'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:254:in `open'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:280:in `postpone
'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:789:in `checking
_for'
        from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/mkmf.rb:840:in `have_lib
rary'
        from extconf.rb:22:in `<main>'

有谁知道如何解决它,或者是否有另一种更好的方法来访问红宝石的文档?

非常感谢

4

2 回答 2

0

如果您找不到任何方法来完成这项工作,我可以建议您查看 Documentum Foundation Services (DFS)。DFS 基于 SOAP,因此您不需要任何本地库或旧版本的包。我要提醒的是,我使用它的所有经验都是使用 Java 或 .Net,不过,它们都包含生产力层,而不是使用原始 SOAP 调用。

如果您还没有,您可能还想查看http://developer.emc.com 。

于 2013-01-30T16:16:37.077 回答
0

从未使用 Ruby 访问过 dctm,但它几乎肯定需要访问 dmcl40(基于 c 的库)和可能的 dfc(基于 java 的库)。出于兴趣,您连接到哪个版本的 documentum?

于 2013-01-30T08:23:33.293 回答