ruby on rails - gem install mysql checking for mysql.h... no -


I get this error on arc linux, though mysql.h exists in the system. Does anybody have any idea how to solve this? Here are some condemnations:

  $ find / usr -name mysql.h /usr/include/mysql/mysql.h $ resonance $ path / home / chrisis /. RVM / Games / Ruby- 1.8.7-p302@bogen/bin: /home/chris/.rvm/gems/ruby-1.8.7-p302@global/bin: /home/chris/.rvm/rubies/ruby- 1.8.7-p302 / bin: /home/chris/.rvm/bin/bin: / usr / bin: / usr / lib: / sbin: / usr / sbin: / home / chris / bin: / home / chris / Lib: / usr / share / eclipse: / opt / kde / bin: / usr / bin / perlbin / site: / usr / bin / perlbin / vendor: / usr / bin / perlbin / core: / opt / qt / bin : / Usr / includes: /usr/local/include:/opt/ruby1.8/bin:/usr/local/bin:/usr/local/sbin:/usr/bin/vendor_perl:/usr/bin/ Core_perl   

here is the exact output of mysql installed in the gem

  $ ruby ​​/home/chris/.rvm/ Rubies / ruby-1.8.7-p302 / bin / ruby ​​$ gem install mysql default b Creating molding may take some time ... Error: Error installing mysql: Error: Failed to create gem country extension /home/chris/.rvm/rubies/ruby-1.8.7-p302/bin/ruby mysql_ssl_set for extconf.rb check () ... rb_str_set_len () is not checked for ... rb_thread_start_timer () There is no inquiry ... no checks for mysql.h ... no checks for mysql / mysql.h ... no *** extconf.rb fail *** Makefile not caused due to some reason Maybe, there is a lack of necessary libraries and / or headers, check the mkmf.log file for more information. You may need configuration options. Configurable options available: - With-Opt-Direction - Without - OPTION DIRECTION - OP-IN - WITHOUT OPTION = $ {opt-dir} / include --with-opt-lib-without-opt-in -lib = $ {opt-dir} / lib - with-makeup -pag - without-make-handling --srcdir =. --curdir --ruby = / home / chris / .rvm / rubies / ruby-1.8.7-p302 / bin / ruby ​​--with-mysql-config --without-mysql- Install the configuration man files / home Will remain /chris/.rvm/gems/ruby-1.8.7-p302@bogen/gems/mysql-2.8.1 for inspection. Logged in as /home/chris/.rvm/gems/ruby-1.8.7-p302@bogen/gems/mysql-2.8.1/ext/mysql_api/gem_make.out   

As a result of this, this arch is Linux, there are no packages like Ubuntu or Sandos. The difference I have given above includes the following:

  Install gem mysql - - -with-mysql-include = / usr / include / mysql - install mysql-config gem Mysql - --with-mysql-include = / usr / include / mysql gem install mysql - --with-mysql-include = / Usr / include   

Unfortunately, this error is of no use to everyone The second report, whom I could get away with, I want to do with the Mac OS or lack of other Linux Distros development package. Since the header file is in my position and in a standard place, I'm not sure what to try next. Any signal will be greatly appreciated.

This can not be established by the GCC as it is investigated.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -