Comments (6)
@kyab Does this still reproduced in current master branch version?
I had a same kind of problem on onigposix.h API but when I moved to oniguruma.h API it was OK.
from mruby-onig-regexp.
Seems like I missed some point on build phase (missing libarchive?)
[koji@macbookpro:~/work/mruby/mruby]$ clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
[koji@macbookpro:~/work/mruby/mruby]$ ./minirake --pull-gems
(in /Users/koji/work/mruby/mruby)
loading build config from : /Users/koji/work/mruby/kyab_build_config.rb
GIT https://github.com/mattn/mruby-onig-regexp.git -> build/mrbgems/mruby-onig-regexp
Cloning into '/Users/koji/work/mruby/mruby/build/mrbgems/mruby-onig-regexp'...
remote: Reusing existing pack: 274, done.
remote: Total 274 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (274/274), 41.31 KiB | 0 bytes/s, done.
Resolving deltas: 100% (97/97), done.
Checking connectivity... done
rake aborted!
cannot load such file -- libarchive
rakefile:26:in `load'
from mruby-onig-regexp.
Sorry current master branch requires libarchive(both package and rubygem).
curl and tar seems better to handle these problem so I'll make a pull request to change it.
Could try this later?
from mruby-onig-regexp.
#13 is merged so now the current master branch shouldn't say "libarchive not found".
from mruby-onig-regexp.
I confirmed everything is OK now.
Thank you.
[koji@macbookpro:~/work/mruby/mruby]$ mirb
mirb - Embeddable Interactive Ruby Shell
> Regexp
=> OnigRegexp
> "foobar" =~ /bar/
=> 3
from mruby-onig-regexp.
Thanks for testing. :)
from mruby-onig-regexp.
Related Issues (20)
- How to cross compile this gem? HOT 7
- Compilation failed on Visual Studio 2019
- Can not cross complie for x86_64-w64-mingw32 on Mac HOT 8
- test fails when MRB_UTF8_STRING is defined HOT 4
- No way to explicitly use the included libonig instead of what is installed on the host system
- ld: symbol(s) not found for architecture x86_64 HOT 3
- Slice on empty string
- gem description maybe is "鬼車", not "鬼雲" ? HOT 1
- string size too big (ArgumentError)
- infinite loop when empty regexp HOT 2
- Doesn't freak out when replacing `^` HOT 2
- Abort on UTF-8 split with empty src HOT 7
- /./ should match to latin-1 letter when MRB_UTF8_STRING is not defined.
- build with bundled onigmo fails when c++ API is enabled HOT 3
- Problems finding oniguruma.h HOT 2
- Support `Regexp#match?` HOT 8
- Freeze regex variable HOT 1
- Match? bug HOT 2
- Supporting non-word char in group name HOT 1
- slice! does not work with Regexp HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mruby-onig-regexp.