मैं मणि mysql2रूबी एंटरप्राइज़ संस्करण के लिए स्थापित करने का प्रयास कर रहा हूं।मूल एक्सटेंशन के साथ MySQL2 त्रुटि: मणि देशी एक्सटेंशन बनाने में विफल। (जेम :: इंस्टॉलर :: एक्सटेंशनबिल्डररर)
Installing mysql2 (0.2.7) with native extensions /Users/rookieRails/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/installer.rb:551:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Users/vinayashrestha/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby extconf.rb
checking for rb_thread_blocking_region()... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... 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
है किसी को भी किसी भी विचार है क्या कॉन्फ़िगरेशन विकल्प का उपयोग करना चाहिए, या जो कुछ भी मैं इस तय करने के लिए करने के लिए की जरूरत है: मैं त्रुटि है कि कहते हैं मिल रहा है?
मुझे समझ में नहीं आता कि आपको MySQL इंस्टॉल क्यों करना है, आप शायद रिमोट सर्वर से कनेक्ट हो सकते हैं, शायद आपका मतलब है 'mysql connector' – zinking