Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error groonga 4.0.0 #153

Closed
hidemaru76 opened this issue Feb 19, 2014 · 3 comments
Closed

Build error groonga 4.0.0 #153

hidemaru76 opened this issue Feb 19, 2014 · 3 comments

Comments

@hidemaru76
Copy link

As described below, an error is displayed.

In file included from expr.c:5559:
ecmascript.c: In function 'yy_destructor':
ecmascript.c:876: warning: unused variable 'efsi'
gcc: Internal error: Killed (program cc1)

@kenhys
Copy link
Member

kenhys commented Feb 19, 2014

It seems that build process is killed by OOMKiller.
To build Groonga, at least 1-2GB memory is required because of compiler optimization(-O2).
For example, if you build Groonga on VPS which doesn't have enough memory, you may face such a error.
There are workaroud for this issue:

  1. Use pre built packages - deb or rpm provided by Groonga project.(Recommended)
  2. Disable compiler optimization (There is performance penalty, so not recommended)

I recommend (1). but is there special reason build Groonga by yourself?

@kenhys
Copy link
Member

kenhys commented Feb 19, 2014

Here is the related issue:
suer/redmine_milkode#1

So I recommends to install groonga-devel package on CentOS 6 at first.

@kenhys
Copy link
Member

kenhys commented Feb 20, 2014

It seems that @hidemaru76 has solved this issue by installing Groonga packages instead of building by himself.
suer/redmine_milkode#1 (comment)

@kenhys kenhys closed this as completed Feb 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants