I would like to use RMagick pearl on Ubuntu 10.04 server. This is easy to do throughout the system using the Ubuntu package librmagick-ruby1.8, but I would like to install the gem in a private place using gem install(or the Bundler). Unfortunately, this leads to an error.
Failed to build gem native extension.
if the package is libmagickcore-devnot installed. A Google search or Stackoverflow for "rmagick ubuntu" leads to a large number of people , offering the installation of various packages that lead to the installation of this. The problem with this solution is that installing this package also includes the entire X Windows system as a dependency, which is clearly not desirable on the server.
This should be a common problem. So I'm wondering if anyone has found a solution that does not require X. Thanks for your help!
source
share