Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

make: *** [all] Error 10 (Compiling on Ubuntu Server /32-bit) #51

Closed
rvikmanis opened this Issue · 7 comments

3 participants

@rvikmanis

This is what I get:

# make all install
_build/myocamlbuild -no-plugin -j 6 -tag debug pplib/ppml.native ocamlbase.top libbase/ocamlbase database/database_server.native jslang/jsstat.native database/database_tool.native opatop/opatop.native passlib/opatrack.sh qmlcompilers/qmljs_exe.native compilerlib/opadep.sh opabsl/opabslgen.bypass tools/odep.native libbase/testfilepos.native opabsl/serverLib.cmi tools/odeplink.native protocols/genproto.native libbase/bslServerLib.ml opalang/opa2opa.native protocols/mlidl.native tools/jschecker/compiler.jar tools/ofile.native protocols/wsdl2ml.native dissemination/spawn.sh opa/syntaxHelper.native opa/gen_opa_manpage.native opa/main.native opatop/gen_opatop_manpage.native bash_completion manpages/genman.native pplib/ppopa.native pplib/ppjs.native libbase/gen_platform teerex/trx_ocaml.native teerex/trx_interpreter.native libbsl/bslregister.native libbsl/bslbrowser.native libbsl/bslbrowser passlib/passdesign.native opa-packages.stamp
+ /usr/bin/ocamlopt -c -g -warn-error A -w L -w Z -I buildinfos -I libbase -I compilerlib -I passlib -I libtrx -I libqmlcompil -I opacapi -I opalang -I opalang/js_syntax -I opalang/classic_syntax -o opalang/classic_syntax/opa_classic_parser.cmx opalang/classic_syntax/opa_classic_parser.ml
Killed
Command exited with code 137.
Compilation unsuccessful after building 2190 targets (1929 cached) in 00:06:21.
make: *** [all] Error 10
@hbbio
Owner

It seems your machine does not have sufficient RAM or another hardware-related problem since your compilation process has been "Killed".

@jlmess77

Run the command line by manual usually give better error message.

/usr/bin/ocamlopt -c -g -warn-error A -w L -w Z -I buildinfos -I libbase -I compilerlib -I passlib -I libtrx -I libqmlcompil -I opacapi -I opalang -I opalang/js_syntax -I opalang/classic_syntax -o opalang/classic_syntax/opa_classic_parser.cmx opalang/classic_syntax/opa_classic_parser.ml

You need to be in the same place where you have ran the 'make all install'.

@rvikmanis

Thanks for your response. Now I get this:

# /usr/bin/ocamlopt -c -g -warn-error A -w L -w Z -I buildinfos -I libbase -I compilerlib -I passlib -I libtrx -I libqmlcompil -I opacapi -I opalang -I opalang/js_syntax -I opalang/classic_syntax -o opalang/classic_syntax/opa_classic_parser.cmx opalang/classic_syntax/opa_classic_parser.ml
File "opalang/classic_syntax/opa_classic_parser.ml", line 1, characters 0-1:
Error: I/O error: opalang/classic_syntax/opa_classic_parser.ml: No such file or directory

But I think the problem might be as hbbio said. The machine is a VPS with only 512MB RAM.

@jlmess77

Umm.. Try to 'cd _build' then run the command again.

@rvikmanis

Operation completed producing no error message.
So yeah, it's probably a memory shortage issue.

@jlmess77

Yep, it seems so. How much memory do your machine have?

@rvikmanis

The machine is a VPS with only 512MB RAM and it's running several things.

@rvikmanis rvikmanis closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.