matsumotory / ngx_mruby

ngx_mruby - A Fast and Memory-Efficient Web Server Extension Mechanism Using Scripting Language mruby for nginx
https://ngx.mruby.org/
988 stars 112 forks source link

Can't build with mruby-localmemcache #507

Closed dyarikov-sunbay closed 1 year ago

dyarikov-sunbay commented 1 year ago

2.2.5 and 2.3.0 tags can't be built because of error:

/usr/src/nginx-1.23.1/ngx_mruby/mruby/build/repos/host/mruby-localmemcache/src/mruby_cache_gem.c:10:10: fatal error: mruby/internal.h: No such file or directory 10 | #include "mruby/internal.h" | ^~~~~~ compilation terminated.
rake aborted!

dyarikov-sunbay commented 1 year ago

Looks like it can be avoided by running touch mruby/include/mruby/internal.h before building

yyamano commented 1 year ago

It is a known mruby-localmemcache's problem, not ngx_mruby's one. See https://github.com/matsumotory/mruby-localmemcache/issues/8 (written in Japanese)

matsumotory commented 1 year ago

Thanks all! Merged now https://github.com/matsumotory/mruby-localmemcache/issues/8