2012-04-10 3 views
0

채팅 봇을 만들고 싶습니다. Link Parser을 사용하고 싶습니다. 기본적으로 문장을 볼 때 단어 사이의 관계를 찾는 엔진입니다. 또한Rubygem "Link Parser"를 설치할 수 없습니다.

gem install linkparser 

과 :

내가 사용하여 설치를 시도한 Ruby wrapper있다 그러나

gem install linkparser -- --with-link-grammar="C:\Users\Gebruiker\Downloads\Linkparsergrammar\linkgrammar4r-0.0.3" 

을, 나는 다음과 같은 오류가 점점 계속 :

Temporarily enhancing PATH to include DevKit... 
Building native extensions. This could take a while... 
ERROR: Error installing linkparser: 
     ERROR: Failed to build gem native extension. 

C:/Ruby193/bin/ruby.exe extconf.rb --with-link-grammar=C:\Users\Gebruiker\Downloads\Linkparsergrammar\linkgrammar4r-0.0.3 
checking for pkg-config... no 
Couldn't find your pkg-config binary 
*** 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:/Ruby193/bin/ruby 
     --with-link-grammar 
     --with-pkg-config 
     --without-pkg-config 


Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/linkparser-1.1.3 for inspection. 
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/linkparser-1.1.3/ext/gem_make.out 

I을 Windows Vista 32 비트, 최신 Ruby (1.9.3-p125)

012 사용

누군가 무슨 일이 일어 났는지 설명 할 수 있습니까?

답변