1

WindowsActiveDCTMでアクセスするために使用しようとしています。Documentum関連する gem が 2 つあります: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>'

誰かがそれを解決する方法を知っていますか、または ruby​​ の documentum にアクセスするための別のより良い方法はありますか?

どうもありがとうございました

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 に答える