Project

General

Profile

mysql gem installation » gem install mysql.txt

mysql gem install log - srini vas, 2014-02-12 15:54

 
1
qcewebz{PWD}# gem install mysql
2
Building native extensions.  This could take a while...
3
ERROR:  Error installing mysql:
4
        ERROR: Failed to build gem native extension.
5

    
6
        /usr/local/bin/ruby extconf.rb
7
checking for mysql_ssl_set()... *** extconf.rb failed ***
8
Could not create Makefile due to some reason, probably lack of
9
necessary libraries and/or headers.  Check the mkmf.log file for more
10
details.  You may need configuration options.
11

    
12
Provided configuration options:
13
        --with-opt-dir
14
        --with-opt-include
15
        --without-opt-include=${opt-dir}/include
16
        --with-opt-lib
17
        --without-opt-lib=${opt-dir}/lib
18
        --with-make-prog
19
        --without-make-prog
20
        --srcdir=.
21
        --curdir
22
        --ruby=/usr/local/bin/ruby
23
        --with-mysql-config
24
        --without-mysql-config
25
/usr/local/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
26
You have to install development tools first.
27
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
28
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
29
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
30
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:894:in `block in have_func'
31
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
32
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
33
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:254:in `open'
34
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
35
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:254:in `open'
36
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
37
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
38
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:893:in `have_func'
39
        from extconf.rb:45:in `<main>'
40

    
41

    
42
Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/mysql-2.9.1 for inspection.
43
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/mysql-2.9.1/ext/mysql_api/gem_make.out
44
qcewebz{PWD}# 
(1-1/2)