Error Mysql Query Undeclared
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin gem install mysql2 fails centos Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad
Error Installing Mysql2 Gem
Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch gem install mysql2 fails ubuntu Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum error: error installing mysql2: error: failed to build gem native extension. Community Ubuntu Official Flavours Support General Help [SOLVED] RubyOnRails rails new error Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 8 of 8 Thread: RubyOnRails rails new error Thread Tools Show Printable
Error: Error Installing Mysql: Error: Failed To Build Gem Native Extension.
Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode October 3rd, 2011 #1 mao3 View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Sep 2011 Beans 20 RubyOnRails rails new error Hey, I'm following the RubyOnRails - Communtiy Ubuntu Documentation here https://help.ubuntu.com/community/RubyOnRails and I ran into a problem in "Preparing for your first rail app". Trying to run this command in the terminal Code: rails /home/myuser/www/mynewapp gave me the following error Code: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for sqlite3.h... no sqlite3.h is missing. Try 'port install sqlite3 +universal' or 'yum install sqlite3-devel' and check your shared library search path (the location where your sqlite3 shared library is located). *** 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 configurati
Sign in Pricing Blog Support Search GitHub This repository Watch 77 Star checking for mysql_query() in -lmysqlclient... no 1,520 Fork 344 brianmario/mysql2 Code Issues 42 Pull requests 19 uninitialized constant mysql2::client::secure_connection Projects 0 Pulse Graphs New issue `Installing mysql2 0.3.19 with native extensions` Hangs forever #652
Could Not Create Makefile Due To Some Reason Probably Lack Of Necessary Libraries And Or Headers
Closed emanresusername opened this Issue Aug 14, 2015 · 25 comments Projects None yet Labels None yet Milestone 0.3.20 Assignees https://ubuntuforums.org/showthread.php?t=1854003 No one assigned 7 participants emanresusername commented Aug 14, 2015 on ruby 2.2.2 with rbenv 0.4.0 both on a Mac OS X 10.9.5 and Ubuntu 12.04 (fresh vagrant vm spun up with test-kitchen) bundle install (and gem install mysql2 -v 0.3.19) hangs forever installing the /opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/mysql2-0.3.19/ext/mysql2/mkmf.log just fills https://github.com/brianmario/mysql2/issues/652 with a bunch of repeats of this "gcc -o conftest -I/opt/rbenv/versions/2.2.2/include/ruby-2.2.0/x86_64-linux -I/opt/rbenv/versions/2.2.2/include/ruby-2.2.0/ruby/backward -I/opt/rbenv/versions/2.2.2/include/ruby-2.2.0 -I. -I/usr/local/include -I/opt/rbenv/versions/2.2.2/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/opt/rbenv/versions/2.2.2/lib -Wl,-R/opt/rbenv/versions/2.2.2/lib -L. -L/opt/rbenv/versions/2.2.2/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lm -Wl,-R/opt/rbenv/versions/2.2.2/lib -L/opt/rbenv/versions/2.2.2/lib -lruby-static -lmysqlclient -lm -lpthread -lrt -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:13:32: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)())
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen