ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Issue with Installing Chiliproject 3.0 on OS X

Added by Lola Lee Beno at 2012-02-17 05:47 pm

I'm trying out Chiliproject 3.0 on OS X 10.7. I should note that I know next to nothing about Ruby. I'm already using Redmine for a website we're working on, so I have some familiarity with it (in fact, I had to use Bitmine bundle to get it installed because I had such a difficult time getting it all to install from the original Redmine directions).

I'm running into an issue with Magick. Here's what I have now:

Installing rdoc (3.12) 
Installing rmagick (2.13.1) with native extensions 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/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 /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/opt/local/bin:/usr/local/git/bin:/usr/X11R6/bin

*** 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=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

Gem files will remain installed in /Users/lolajl/.bundler/tmp/4642/gems/rmagick-2.13.1 for inspection.
Results logged to /Users/lolajl/.bundler/tmp/4642/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
An error occured while installing rmagick (2.13.1), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.1'` succeeds before bundling.

Any suggestions on getting this to work?


Replies (27)

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-04-09 10:47 am

Markus Guske wrote:

  • do you have the root user activated?
  • have you kept the install output from brew install?
    mine looks:
    [...]
    • I see that user/group was set different to yours
      [...]

root user should be activated, but how would I check for this?

Unfortunately, I didn't keep the install output. When I run brew update, I got this:

[06:42 AM] /usr/local/Library 20 $ brew update
fatal: Unable to create '/usr/local/.git/index.lock': Permission denied
Error: Failure while executing: git checkout -q master 

And had to do a sudo on this. The permissions for Formula and Homebrew are set to lolajl:

drwxr-xr-x     8 lolajl  staff    272 Apr  9 06:17 Contributions
drwxr-xr-x  1975 lolajl  staff  67150 Apr  9 06:17 Formula
drwxr-xr-x    27 lolajl  staff    918 Apr  9 06:17 Homebrew

I think I'll need to uninstall brew and reinstall. So, remove /usr/local/bin/brew? What else?

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Markus Guske at 2012-04-09 06:11 pm

Hi,

I really don't know, but in brew FAQ there is a comment how to uninstall.
And it turns out, that the rm -rf /usr/local/INSTALLDIR is sufficient
They also provide a small script: gist uninstall_homebrew.sh

  • do you have root user activated?
    I guess it is needed for the sudo-commands during the install.

« Previous 1 2 (26-27/27)