public
Last active

  • Download Gist
skrewy error
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
$ gem uninstall mysql; gem install mysql
ERROR: While executing gem ... (Gem::InstallError)
cannot uninstall, check `gem list -d mysql`
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
 
/Users/john_t_krueger/.rvm/rubies/ruby-1.8.6-p114/bin/ruby extconf.rb
checking for mysql_ssl_set()... yes
checking for rb_str_set_len()... no
checking for rb_thread_start_timer()... yes
checking for mysql.h... yes
creating Makefile
 
make
gcc -I. -I. -I/Users/john_t_krueger/.rvm/rubies/ruby-1.8.6-p114/lib/ruby/1.8/i686-darwin10.3.0 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_RB_THREAD_START_TIMER -DHAVE_MYSQL_H -I/usr/local/mysql/include/mysql -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -fno-common -g -O2 -pipe -fno-common -c mysql.c
mysql.c: In function ‘time_inspect’:
mysql.c:1791: warning: format ‘%04d’ expects type ‘int’, but argument 5 has type ‘long int’
mysql.c:1791: warning: format ‘%02d’ expects type ‘int’, but argument 6 has type ‘long int’
mysql.c:1791: warning: format ‘%02d’ expects type ‘int’, but argument 7 has type ‘long int’
mysql.c:1791: warning: format ‘%02d’ expects type ‘int’, but argument 8 has type ‘long int’
mysql.c:1791: warning: format ‘%02d’ expects type ‘int’, but argument 9 has type ‘long int’
mysql.c:1791: warning: format ‘%02d’ expects type ‘int’, but argument 10 has type ‘long int’
mysql.c: In function ‘time_to_s’:
mysql.c:1804: warning: format ‘%04d’ expects type ‘int’, but argument 5 has type ‘long int’
mysql.c:1804: warning: format ‘%02d’ expects type ‘int’, but argument 6 has type ‘long int’
mysql.c:1804: warning: format ‘%02d’ expects type ‘int’, but argument 7 has type ‘long int’
mysql.c:1804: warning: format ‘%02d’ expects type ‘int’, but argument 8 has type ‘long int’
mysql.c:1804: warning: format ‘%02d’ expects type ‘int’, but argument 9 has type ‘long int’
mysql.c:1804: warning: format ‘%02d’ expects type ‘int’, but argument 10 has type ‘long int’
cc -dynamic -bundle -undefined suppress -flat_namespace -o mysql_api.bundle mysql.o -L"." -L"/Users/john_t_krueger/.rvm/rubies/ruby-1.8.6-p114/lib" -L. -L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm -ldl -lobjc
 
make install
/opt/macports/bin/ginstall -c -m 0755 mysql_api.bundle /Users/john_t_krueger/.rvm/gems/ruby-1.8.6-p114/gems/mysql-2.8.1/lib
make: /opt/macports/bin/ginstall: No such file or directory
make: *** [/Users/john_t_krueger/.rvm/gems/ruby-1.8.6-p114/gems/mysql-2.8.1/lib/mysql_api.bundle] Error 1
 
 
Gem files will remain installed in /Users/john_t_krueger/.rvm/gems/ruby-1.8.6-p114/gems/mysql-2.8.1 for inspection.
Results logged to /Users/john_t_krueger/.rvm/gems/ruby-1.8.6-p114/gems/mysql-2.8.1/ext/mysql_api/gem_make.out

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.