[Locomotive-users] Trouble installing gems
Ryan Raaum
ryan.raaum at gmail.com
Thu Jan 18 16:48:53 GMT 2007
On 1/18/07, Peter Gerard <peter at horsburgh.co.uk> wrote:
>
> I was just trying to install the Curb gem (for Libcurl bindings) and got
> the following error... Is there some special trick for installing gems with
> Locomotive? I noticed in a previous message on this list that you added sudo
> so I tried that and got the same error as without.
>
Hi Peter,
Do you have the Apple dev tools installed? If you don't have them
installed, you won't be able to compile everything (they don't come
installed by default).
Best,
-r
http://developer.apple.com/tools/
Thanks
>
> MacG5:~/Desktop/rails_app user$ sudo gem install curb
>
> We trust you have received the usual lecture from the local System
> Administrator. It usually boils down to these three things:
>
> #1) Respect the privacy of others.
> #2) Think before you type.
> #3) With great power comes great responsibility.
>
> Password:
> Need to update 1 gems from http://gems.rubyforge.org
> .
> complete
> Building native extensions. This could take a while...
> *** 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=/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/powerpc/bin/ruby
> --with-curl-dir
> --without-curl-dir
> --with-curl-include
> --without-curl-include=${curl-dir}/include
> --with-curl-lib
> --without-curl-lib=${curl-dir}/lib
> --with-curllib
> --without-curllib
>
> ERROR: While executing gem ... (RuntimeError)
> ERROR: Failed to build gem native extension.
> Gem files will remain installed in
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/powerpc/lib/ruby/gems/1.8/gems/curb-
> 0.1.2 for inspection.
>
>
> Results logged to
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/powerpc/lib/ruby/gems/1.8/gems/curb-
> 0.1.2/ext/gem_make.out
>
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service working
> around the clock, around the globe, visit http://www.mercurytide.com/
> ________________________________________________________________________
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
>
>
--
Ryan Raaum
http://raaum.org
http://rails.raaum.org -- Rails docs
http://locomotive.raaum.org -- Self contained Rails for Mac OS X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070118/943912e3/attachment.htm
More information about the Locomotive-users
mailing list