Git Product home page Git Product logo

fast-stemmer's People

Contributors

romanbsd avatar wbtthefrog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fast-stemmer's Issues

Compile issue with latest ruby build 1.9.3-p392

I'm trying to install Jekyll which depends on fast-stemmer. Sadly the installation fails with the following error:

$ gem install jekyll
Successfully installed liquid-2.5.0
Fetching: fast-stemmer-1.0.2.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.

/Users/debo/.rbenv/versions/1.9.3-p392/bin/ruby extconf.rb
/Users/debo/.rbenv/versions/1.9.3-p392/bin/ruby: invalid option -g (-h will show valid options) (RuntimeError)

Gem files will remain installed in /Users/debo/.rbenv/versions/1.9.3-p392/gemsets/magetest global/gems/fast-stemmer-1.0.2 for inspection.
Results logged to /Users/debo/.rbenv/versions/1.9.3-p392/gemsets/magetest global/gems/fast-stemmer-1.0.2/ext/gem_make.out

However everything for previous versions such as ruby 1.9.3-p194

Any ideas? Any help will be very much appreciated.

Thanks,
Debo

Gem installation failing

Having issues on Windows installing this gem.

As recorded here: https://talk.jekyllrb.com/t/jekyll-error-failed-to-build-gem-native-extension/430/2

This is the problem:

C:\Users\darrell.tunnell\Source\Repos\dazinator.github.io>bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Using RedCloth 4.2.9
Using blankslate 2.1.2.4
Using hitimes 1.2.2
Using timers 4.0.1
Using celluloid 0.16.0
Using chunky_png 1.3.4

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

C:/Ruby193/bin/ruby.exe -r ./siteconf20150528-1132-13jp7fp.rb extconf.rb
creating Makefile

make clean
Makefile:165: *** target pattern contains no `%'. Stop.

make
Makefile:165: *** target pattern contains no `%'. Stop.

make failed, exit code 2

Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/fast-stem
mer-1.0.2 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/fa
st-stemmer-1.0.2/gem_make.out
An error occurred while installing fast-stemmer (1.0.2), and Bundler cannot
continue.
Make sure that gem install fast-stemmer -v '1.0.2' succeeds before bundling.

Any ideas?

Installation error

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

Not able to use with jruby

I am facing an error while installing this gem under jruby 9.0.4.0 (2.2.2)

NotImplementedError: C extensions are not supported

Can't install through gem

Getting this error every time i try gem install fast-stemmer. Got to this stage through trying to install Jekyll. Terminal logging this:

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

    ~/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling porter.c
make: I.: No such file or directory
make: [porter.o] Error 1 (ignored)
compiling porter_wrap.c
make: I.: No such file or directory
make: [porter_wrap.o] Error 1 (ignored)
linking shared-object stemmer.bundle
make: dynamic: No such file or directory
make: [stemmer.bundle] Error 1 (ignored)

make "DESTDIR=" install
compiling porter.c
make: I.: No such file or directory
make: [porter.o] Error 1 (ignored)
compiling porter_wrap.c
make: I.: No such file or directory
make: [porter_wrap.o] Error 1 (ignored)
linking shared-object stemmer.bundle
make: dynamic: No such file or directory
make: [stemmer.bundle] Error 1 (ignored)
/usr/bin/install -m 0755 stemmer.bundle ./.gem.20140307-9030-1flv0j2
install: stemmer.bundle: No such file or directory
make: *** [install-so] Error 71

make install failed, exit code 2

Gem files will remain installed in ~/.rvm/gems/ruby-2.1.0/gems/fast-stemmer-1.0.2 for inspection.
Results logged to ~/.rvm/gems/ruby-2.1.0/extensions/x86_64-darwin-12/2.1.0-static/fast-stemmer-1.0.2/gem_make.out

Windows 10 build fails

I am trying to install fast-stemmer on my Windows 10 machine, but it fails. I have tried to search for this error but didn't find a similar one. The solution that worked for others to set the gem version to 2.3.0 also didn't work. This is the error:

Installing fast-stemmer 1.0.2 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    C:/tools/Ruby21-x64/bin/ruby.exe extconf.rb
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
generating stemmer-x64-mingw32.def
      0 [main] sh 1404 fork_copy: linked dll data/bss pass 0 failed, 0x4E8000..0
x4E8AD8, done 0, windows pid 4212, Win32 error 487
/bin/sh: fork: Resource temporarily unavailable
make: *** [stemmer-x64-mingw32.def] Error 128

make failed, exit code 2

Gem files will remain installed in C:/tools/Ruby21-x64/lib/ruby/gems/2.1.0/gems/
fast-stemmer-1.0.2 for inspection.
Results logged to C:/tools/Ruby21-x64/lib/ruby/gems/2.1.0/extensions/x64-mingw32
/2.1.0/fast-stemmer-1.0.2/gem_make.out
An error occurred while installing fast-stemmer (1.0.2), and Bundler cannot
continue.
Make sure that `gem install fast-stemmer -v '1.0.2'` succeeds before bundling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.