Issue with Install Scripts - Redmine

Hi

When I try to install the Virtualmin Included script Redmine I get this error:

This script cannot be installed, as this virtual server does not meet its requirements : Missing command gcc

Not really much to go on here.

Can you provide some assistance on this?

Thanks

Kyle

Status: 
Active

Comments

You need to SSH in as root and run :

yum install gcc

Hi Thanks

I ran that command and GCC loaded with no problems.

However - after running that I tried to install redmine again and the install failed with this error:

.. download complete.

Installing Ruby Gem test-spec .. .. done

Installing Ruby Gem camping .. .. done

Installing Ruby Gem fcgi .. .. Gem install failed : INFO: gem install -y is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list Building native extensions. This could take a while... ERROR: Error installing fcgi: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb checking for fcgiapp.h... no checking for fastcgi/fcgiapp.h... no *** 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}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby --with-fcgi-dir --without-fcgi-dir --with-fcgi-include --without-fcgi-include=${fcgi-dir}/include --with-fcgi-lib --without-fcgi-lib=${fcgi-dir}/lib Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.8 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.8/ext/fcgi/gem_make.out

Any ideas?

Thanks

Kyle

That error means you have to install the fcgi-devel package.

Are you running a 32-bit or 64-bit system? The install commands are :

32-bit : rpm -U ftp://ftp.sunet.se/pub/Linux/distributions/fedora/epel/epel/6/i386/fcgi-devel-2.4.0-10.el6.i686.rpm

64-bit : rpm -U ftp://ftp.sunet.se/pub/Linux/distributions/fedora/epel/epel/6/x86_64/fcgi-devel-2.4.0-10.el6.x86_64.rpm

Hi

Its a 64 bit version.

Are there any issues with installing fcgi-devel on my production server?

If it can lead to system instability or cause other sites on virtual servers to malfunction then perhaps its better to find a different solution than Redmine?

Let me know what you think.

Kyle

No, it is perfectly safe to install. That package contains header files needed to compile the Ruby modules used by redmine..

The plot thickens . . .

Now I get:

warning: /var/tmp/rpm-tmp.bfdCp5: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY error: Failed dependencies: fcgi = 2.4.0-10.el6 is needed by fcgi-devel-2.4.0-10.el6.x86_64

Unfortunately, as you're seeing, the Redmine install script isn't one of the best supported scripts we have.

It began it's life as a script contributed by a third party, which we were quite grateful for... but over time we've discovered that Redmine is incredible difficult to support, and we've been considering moving it into an experimental area rather than keeping it with the other Install Scripts.

If there's another application in the Install Scripts that would do the trick for you, you might find a different app to be a better solution over the long-run.

However, if you're like to give Redmine a shot -- it appears that what you're missing in this case is the dependency for fcgi-devel, the "fcgi" package.

You can install that by running this command:

rpm -U ftp://ftp.sunet.se/pub/Linux/distributions/fedora/epel/epel/6/x86_64/fcg...

Hi - thanks for the report on this.

I may try this later on my test server but for now I will take your advice and let sleeping dogs lie for now.

Loaded up the Feng Office and it looks like it will do what we need to do and its rather simple to use!

Thanks

Kyle