can't install ccsv (wiered)


H

Heinrich Piard

gem install ccsv -r
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install ccsv -r
can't find header files for ruby.


Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/ccsv-0.0.2 for inspection.
Results logged to
/usr/lib/ruby/gems/1.8/gems/ccsv-0.0.2/ext/gem_make.out
[[email protected] ~]# gem search -r csv

*** REMOTE GEMS ***

ccsv (0.0.2, 0.0.1)
A pure-C CSV parser.

csv-as-map (0.0.1)
A package for manipulating IPv4/IPv6 address space.

CSV-datagen (0.1.1, 0.1.0, 0.0.1)
A free tool for generating random data for testing purposes.

csv2sql (0.3.070927135848, 0.2.070529155119, 0.2.070313, 0.1.2)
Csv2sql provides an easy way to convert comma separated files to sql

csvparser (0.1.1, 0.1.0)
An enumerating, streaming CSV parser that has ORM-like features.

fastercsv (1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.1, 1.1.0, 1.0.0, 0.2.1,
0.2.0, 0.1.9, 0.1.8, 0.1.6, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0)
FasterCSV is CSV, but faster, smaller, and cleaner.

simplecsv (0.1.4, 0.1.3, 0.1.2, 0.1.0, 0.0.2)
SimpleCSV privides simple csv reading/writing api.
 
Ad

Advertisements

P

Paul Stickney

It looks like you need to install the Ruby DEVELOPMENT files.
(a ruby-dev package, maybe?)
 
Ad

Advertisements

H

Heinrich Piard

Paul said:
It looks like you need to install the Ruby DEVELOPMENT files.
(a ruby-dev package, maybe?)

Hi Paul,

I tried - but still no luck.
I figured out that 'csv' is in the standard libraries.
I did not install any additional gems, just require 'csv'

Worked.

Thanks anyway!


bye
Henry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top