0
gem을 설치하는 동안 오류가 발생하지 않습니다. ruby-odbc -v'0.99995 '. 이 오류를 해결하는 데 도움을주십시오. 나는 많은 것을 시도하지만 효과가 없습니다.gem install ruby-odbc -v '0.99995'우분투에서 설치할 수 없습니다. 11.10
Building native extensions. This could take a while...
ERROR: Error installing ruby-odbc:
ERROR: Failed to build gem native extension.
/home/sheetal/.rvm/rubies/ruby-1.8.7-p371/bin/ruby extconf.rb
checking for version.h... yes
checking for sql.h... no
*** 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=/home/sheetal/.rvm/rubies/ruby-1.8.7-p371/bin/ruby
--with-odbc-dir
--without-odbc-dir
--with-odbc-include
--without-odbc-include=${odbc-dir}/include
--with-odbc-lib
--without-odbc-lib=${odbc-dir}/lib
ERROR: sql.h not found
나는
건배를 할 수 있어야하려고하면! 나는이 문제도 가지고 있었고 위는 완벽하게 작동했다. – Bealer
고마워요! 그게 나를 위해 일해 ... – Anuja