ERROR to install zendesk_apps_tools

11 Comments

  • Bryan - Community Manager
    Comment actions Permalink

    Hi AJ 7885. I ran into a similar issue and was able to resolve using:

    gem install thin -- --with-cflags="-Wno-error=implicit-function-declaration"

    If you get any permissions issue, then use:

    sudo gem install thin -- --with-cflags="-Wno-error=implicit-function-declaration"

    I'm guessing it may have to do with a newer version of XCode elevating certain compile-time issues to error level.

    Side note: there's a beta version of a newer command line tool (zcli) that removes Ruby and Ruby Gems from the picture (zat) as it's written in Node.js. It will be more cross-platform friendly (especially for Windows users). It's still in beta, for a release sometime next year. If you want to check it out, see: https://developer.zendesk.com/apps/docs/developer-guide/zcli

    PS — I got the compile-time workaround above on StackOverflow.

    0
  • tarek chida
    Comment actions Permalink

    Hello Bryan, 

    Thank you for your help, unfortunately it still not working. 

    Do you think i need a downgrade for Xcode  from Version 12.0 (12A7209) ? 

    Im using gem 3.1.4

    Thank you for your help

     

    0
  • Bryan - Community Manager
    Comment actions Permalink

    Are you getting the exact same errors when running this?

    sudo gem install thin -- --with-cflags="-Wno-error=implicit-function-declaration"

    I'm on 12.0.1 of Xcode and 10.15.6 of macOS. I wouldn't recommend downgrading.

    3.8.1 is the latest version of zendesk_apps_tools, so if you're on 3.1.4, getting the newer one installed is definitely recommended.

    0
  • Cesar
    Comment actions Permalink

    Same issue here.

    Have you found a solution already? I am using Big Sur.

    0
  • tarek chida
    Comment actions Permalink

    Hello Cesar, 

    try to follow this tutorial  here 

    It woks for me now. 

    Good luck

    0
  • Bryan - Community Manager
    Comment actions Permalink

    Modifying my previous post: try including the version number of the "thin" gem if running into build issues around it:

    gem install thin -v 1.7.2 -- --with-cflags="-Wno-error=implicit-function-declaration"

    The "zendesk_apps_tools" gem has a dependency on thin version 1.7.2. Without specifying a version, the later version of thin (v1.8.0) will get compiled instead by default.

    2
  • Divya Chittoor
    Comment actions Permalink

    I'm having the same issue as above. Doing 

    gem install thin -v 1.7.2 -- --with-cflags="-Wno-error=implicit-function-declaration"

    Works without error but I'm not able to do gem install zendesk_apps_tools and zat doesn't work

    0
  • Bryan - Community Manager
    Comment actions Permalink

    Hello Divya Chittoor. You may be running into a different issue — see this other community comment for ideas:

    https://develop.zendesk.com/hc/en-us/articles/360001075048/comments/1500000014142

    If the ideas from the above link don't resolve the issue, please post back with the exact error message that you're getting. Thanks!

    0
  • Guillem
    Comment actions Permalink

    Same problem on Mac OS Big Sur, installing the new version of zat called zcli worked for me.

    https://developer.zendesk.com/apps/docs/developer-guide/zcli

    0
  • Autumn Grassel
    Comment actions Permalink

    Bryan,

    I suggest you all add this information:

    gem install thin -v 1.7.2 -- --with-cflags="-Wno-error=implicit-function-declaration"

    The "zendesk_apps_tools" gem has a dependency on thin version 1.7.2. Without specifying a version, the later version of thin (v1.8.0) will get compiled instead by default.

    to this post: https://develop.zendesk.com/hc/en-us/articles/360001075068

    I imagine that's impacting many users with Mac OS Big Sur like myself.

    1
  • Bryan - Community Manager
    Comment actions Permalink

    Agreed Autumn Grassel. I put in a request to get that KB article updated with this point.

    0

Please sign in to leave a comment.

Powered by Zendesk