Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Support for Redmine using Application Manager on EA4

Discussion in 'EasyApache' started by mmind, Oct 23, 2017.

  1. mmind

    mmind Registered

    Joined:
    Oct 23, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Root Administrator
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,802
    Likes Received:
    1,714
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. mmind

    mmind Registered

    Joined:
    Oct 23, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Root Administrator

    Thanks, I didn't see your guide.

    I am running into an issue running the bundle install (Step 4) as the cpanel user. It appears the mysql2 gem fails to install with the following output:

    current directory: /home/exampleuser/.gem/ruby/gems/mysql2-0.4.9/ext/mysql2
    /opt/cpanel/ea-ruby24/root/usr/bin/ruby -r ./siteconf20171024-21196-1klfwrx.rb extconf.rb
    checking for rb_absint_size()... *** 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 configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib64
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/opt/cpanel/ea-ruby24/root/usr/bin/$(RUBY_BASE_NAME)
    /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:457:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
    You have to install development tools first.
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:542:in `try_link0'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:557:in `try_link'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:768:in `try_func'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:1055:in `block in have_func'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:945:in `block in checking_for'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:351:in `block (2 levels) in postpone'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:321:in `open'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:351:in `block in postpone'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:321:in `open'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:347:in `postpone'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:944:in `checking_for'
    from /opt/cpanel/ea-ruby24/root/usr/share/ruby/mkmf.rb:1054:in `have_func'
    from extconf.rb:26:in `<main>'

    To see why this extension failed to compile, please check the mkmf.log which can be found here:

    /home/exampleuser/.gem/ruby/extensions/x86_64-linux/2.4.0/mysql2-0.4.9/mkmf.log

    extconf failed, exit code 1
    "gcc -o conftest -I/opt/cpanel/ea-ruby24/root/usr/include -I/opt/cpanel/ea-ruby24/root/usr/include/ruby/backward -I/opt/cpanel/ea-ruby24/root/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic -fPIC conftest.c -L. -L/opt/cpanel/ea-ruby24/root/usr/lib64 -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -ldl -lcrypt -lm -lc"
    checked program was:
    /* begin */
    1: #include "ruby.h"
    2:
    3: int main(int argc, char **argv)
    4: {
    5: return 0;
    6: }
    /* end */

    Are there additional RPMs required to install other than "ea-ruby24-mod_passenger ea-ruby24-ruby-devel ImageMagick-devel"?

    Thanks again.
     
  4. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    86
    Likes Received:
    13
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    You will need the

    #####
    MySQL*-devel

    or

    MariaDB-devel
    ######

    It is also a good idea to install other dev tools
    ############
    yum groupinstall "Development Tools"
    ############

    There are nginx plugins that support phusion passenger and provide frontend for bundle install

    Check out the cPanel plugins directory
     
Loading...

Share This Page