by Ashwani Kumar
-
-
posted in
Technical
|
Tagged as
diaspora
| Comments
Recently I wanted to checkout the Diaspora project, and to my despair I faced lot of problems
installing it in Windows OS.
I could not install it on Windows, and I did'nt want to invest lot of time , as it was not important and I was trying
this only for killing my time. However, I installed it on a VM (Ubuntu) and faced a few problems.
This post is about keeping a note of what I faced and use it in future (if needed).
1. Issue with installing rmagick:
rmagick installation issue
123456789101112131415
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.13.1. Can't find Magick-config in /usr/local/bin:/bin:
/sbin:/usr/bin:/usr/sbin:/usr/libexec
.
.
.
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.13.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
Building native extensions. This could take a while....
I found a solution here but it did not work for me.
To solve the rmagick issue, run the following commands:
Run the following commands to fix issues with rmagick
If you get this:
Installing typhoeus (0.3.3) with native extensions
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions':
ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/bin/ruby1.8 extconf.rb
checking for curl/curl.h in /opt/local/include,/opt/local/include/curl,/usr/include/curl,
/usr/include,/usr/include/curl,/usr/local/include/curl... no
need libcurl
You can fix it by installing the libcurl3-dev package: