romanbsd / fast-stemmer

Fast Porter stemmer based on a C version of the algorithm
MIT License
102 stars 15 forks source link

Installation error #6

Closed jonasrla closed 10 years ago

jonasrla commented 10 years ago

I'm using the 2.1.10 version gem and getting this when I try to install your application:

MacBook-Pro-de-Jonas-Rocha-Lima-Amaro-2:ext jonasrla$ sudo gem install fast-stemmer Building native extensions. This could take a while... ERROR: Error installing fast-stemmer: ERROR: Failed to build gem native extension.

Gem files will remain installed in /opt/local/lib/ruby2.0/gems/2.0.0/gems/fast-stemmer-1.0.2 for inspection. Results logged to /opt/local/lib/ruby2.0/gems/2.0.0/gems/fast-stemmer-1.0.2/ext/gem_make.out

romanbsd commented 10 years ago

And what does the /opt/local/lib/ruby2.0/gems/2.0.0/gems/fast-stemmer-1.0.2/ext/gem_make.out say?

jonasrla commented 10 years ago

I accessed the file with vim and found a readonly empty file.

romanbsd commented 10 years ago

Looks like a problem with permissions. Or, perhaps, you don't have the compiler toolchain installed...

jonasrla commented 10 years ago

Solved. One of the tries said that the gcc4-2 couldn't be found so I linked the directory it was looking to the gcc directory and it installed successfully

allanhortle commented 10 years ago

Just to note. I'm having this issue also. I'll try linking gcc. But this certainly isn't isolated. I've seen a lot of Jekyll users with this issue.