Monday, February 22, 2010

Installation of Curb

Monday, February 22, 2010
Again, this morning i had a problem in installing the curl library onto my desktop@office. Thanks for not bringing the power charger for Ellen, Achiq.

But it was good anyways. Since now i figured out the exact commands to install curb, not like yesterday when installing it on the laptop. So many installation commands had been used yet errors kept flooding in, till finally a miracle (?? ahaha) happened. :D

So, basically when you typed;

$ sudo gem install curb

And this produced error like;

Building native extensions. This could take a while...
ERROR: Error installing curb:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
"-fno-strict-aliasing -g -g -O2 -fPIC $(cflags)"
checking for curl-config... no
checking for main() in -lcurl... no
*** 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.


Then, do this where you will type in;

$ sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev

and,

$ sudo gem install curb

Nanikore?? TBC.

0 comments:

Post a Comment

 
@Chiq & Stuff © 2008. Design by Pocket