Failed to build gem native extensions

Infos:

  • Used Zammad version: 3.0.0
  • Used Zammad installation source: Haphazardly
  • Operating system: Windows 10
  • Browser + version: Google Chrome 77.0.3865.90

Expected behavior:

  • Bundle install complete successfully

Actual behavior:

  • Bundle install error while fetching and installing kgio due to extconf.rb error (Failed to build gem native extensions)

Steps to reproduce the behavior:

  • I was trying to install zammad on windows 10, I don’t really know if this will work… I guess this problem might end here.
    My main objective is to deploy zammad on azure cloud and I think I could try install on windows and use some command to integrated it with cloud following this instruction : https://medium.com/paris-rb/deploying-your-rails-postgresql-app-on-microsoft-azure-180f8a9fab47
    Now, I got stuck installing zammad on windows 10 encoutering kgio bundle install failed.
    If you need me to provide anymore information or log, please tell me.
    Thank you.
    With Respect
    Nangi

Hey @nangi158 - Windows is no supported OS. This is because some of our dependencies require a *NIX/Darvin environment (like e.g. secure password hashing). We’d recommend using one of our supported OSes and then installing Zammad from one of the existing packages.
We don’t plan on supporting windows. Maybe WSL will work (some day) but this will be by chance.

1 Like
  • Used Zammad version: 3.0.0
  • Used Zammad installation source: Source
  • Operating system: CentOS7 on VM
  • Browser + version: Firefox 60.2.2esr(64bit)

Expected behavior:

  • Bundle install complete successfully

Actual behavior:

  • I open up my VM and try to install and encoutered same problem (Failed to build gem native extensions) and something about extconf.rb again… Please tell me where should I start to fix this problem. I’d tried for a day with nothing process…:disappointed_relieved:
    ps.Bundle install stuck at gem install rszr.
    With Respect
    Nangi

I’d strongly advise you to install Zammad via the official package for CentOS instead of building Zammad your own. This will save you a lot of pain. Updates are easy as 123 when using the packages while doing them manually comes with a lot of overhead.
If you want to build Zammad yourself make sure you have all the OS dependencies installed you need. You can find a list of them in the configuration file of our packaging service.

1 Like

It’s true…
Thank you for your answer, but I really need it to be available on azure cloud… do you have any advice about it?
That’s all for me now today.
Thank you for your help
With Respect
Nangi

Hey,

As far as I’m aware azure cloud also provides linux systems. If you have a linux host, you can install Zammad packages without any trouble, as long as you solve your dependencies.