Skip to content

Error while compiling rails app #12

Closed
@novneetnov

Description

@novneetnov

I am using ruby 2.3.3 with Rails 5.0.4
While trying to compile a rails app with ./rubyc bin/rails I ran into an error:

In file included from ./curses.priv.h:325:0,
                 from ../ncurses/lib_gen.c:19:
_29511.c:843:15: error: expected ‘)’ before ‘int’
Makefile:962: recipe for target '../objects/lib_gen.o' failed
make[1]: *** [../objects/lib_gen.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/rubyc/ncurses/ncurses'
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2
Failed running [{"CI"=>"true", "ENCLOSE_IO_USE_ORIGINAL_RUBY"=>"1", "CFLAGS"=>" -fPIC -O3 -fno-fast-math -ggdb3 -Os -fdata-sections -ffunction-sections -pipe ", "LDFLAGS"=>""}, "make -j4"]

And the the output executable binary file was not created. Any light on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions