Skip to content

unable to install on centos with ruby 2.0.0 with rvm #3

@rookie7799

Description

@rookie7799

gem install mysqlplus-0.1.0.gem -- --with-mysql-config=/usr/lib64/mysql/mysql_config

Building native extensions with: '--with-mysql-config=/usr/lib64/mysql/mysql_config'
This could take a while...
ERROR: Error installing mysqlplus-0.1.0.gem:
ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb --with-mysql-config=/usr/lib64/mysql/mysql_config

checking for mysql_ssl_set()... yes
checking for rb_str_set_len()... yes
checking for mysql.h... yes
extconf.rb:39:in <main>': Use RbConfig instead of obsolete and deprecated Config. extconf.rb:39:in

': Use RbConfig instead of obsolete and deprecated Config.
creating Makefile

make
compiling mysql.c
mysql.c: In function âsocketâ:
mysql.c:756: warning: implicit declaration of function âvio_fdâ
mysql.c: In function âprocess_all_hashesâ:
mysql.c:1075: warning: ISO C90 forbids mixed declarations and code
mysql.c:1083: warning: ISO C90 forbids mixed declarations and code
mysql.c: In function âall_hashesâ:
mysql.c:1286: warning: unused variable âiâ
mysql.c:1286: warning: unused variable ânâ
mysql.c:1285: warning: unused variable âresâ
mysql.c:1284: warning: unused variable âfield_namesâ
mysql.c: In function âstmt_executeâ:
mysql.c:1524: error: âstruct RArrayâ has no member named âptrâ
mysql.c:1525: error: âstruct RArrayâ has no member named âptrâ
mysql.c:1526: error: âstruct RArrayâ has no member named âptrâ
mysql.c:1527: error: âstruct RArrayâ has no member named âptrâ
mysql.c:1528: error: âstruct RArrayâ has no member named âptrâ
mysql.c:1529: error: âstruct RArrayâ has no member named âptrâ
make: *** [mysql.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions