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

Can't compile nodejs 4.1.1 on lubuntu 15.04 #3071

Closed
darky opened this issue Sep 26, 2015 · 5 comments
Closed

Can't compile nodejs 4.1.1 on lubuntu 15.04 #3071

darky opened this issue Sep 26, 2015 · 5 comments
Labels
build Issues and PRs related to build files or the CI. invalid Issues and PRs that are invalid.

Comments

@darky
Copy link
Contributor

darky commented Sep 26, 2015

...

----> make
creating  ./icu_config.gypi
{ 'target_defaults': { 'cflags': [],
                       'default_configuration': 'Release',
                       'defines': [],
                       'include_dirs': [],
                       'libraries': []},
  'variables': { 'asan': 0,
                 'gas_version': 0,
                 'host_arch': 'x64',
                 'icu_small': 'false',
                 'node_byteorder': 'little',
                 'node_install_npm': 'true',
                 'node_prefix': '/usr/local',
                 'node_release_urlbase': '',
                 'node_shared_http_parser': 'false',
                 'node_shared_libuv': 'false',
                 'node_shared_openssl': 'false',
                 'node_shared_zlib': 'false',
                 'node_tag': '',
                 'node_use_dtrace': 'false',
                 'node_use_etw': 'false',
                 'node_use_lttng': 'false',
                 'node_use_openssl': 'true',
                 'node_use_perfctr': 'false',
                 'openssl_fips': '',
                 'openssl_no_asm': 0,
                 'python': '/usr/bin/python',
                 'target_arch': 'x64',
                 'uv_parent_path': '/deps/uv/',
                 'uv_use_dtrace': 'false',
                 'v8_enable_gdbjit': 0,
                 'v8_enable_i18n_support': 0,
                 'v8_no_strict_aliasing': 1,
                 'v8_optimized_debug': 0,
                 'v8_random_seed': 0,
                 'v8_use_snapshot': 1,
                 'want_separate_host_toolset': 0}}
creating  ./config.gypi
creating  ./config.mk

...

ar: /media/psf/Desktop/tavmant/tmp/nexe/nodejs/latest/node-v4.1.1/out/Release/obj.target/openssl/deps/openssl/openssl/crypto/evp/bio_enc.o: Unable to allocate memory
deps/openssl/openssl.target.mk:864: Compile error for target «/media/psf/Desktop/tavmant/tmp/nexe/nodejs/latest/node-v4.1.1/out/Release/obj.target/deps/openssl/libopenssl.a»
make[1]: *** [/media/psf/Desktop/tavmant/tmp/nexe/nodejs/latest/node-v4.1.1/out/Release/obj.target/deps/openssl/libopenssl.a] Error 1
make[1]: Exit from «/media/psf/Desktop/tavmant/tmp/nexe/nodejs/latest/node-v4.1.1/out»
Makefile:45: Compile error for target «node»
make: *** [node] Error 2
@mscdex
Copy link
Contributor

mscdex commented Sep 26, 2015

Are you sure you have enough free memory? What compiler and compiler version are you using?

@mscdex mscdex added the build Issues and PRs related to build files or the CI. label Sep 26, 2015
@bnoordhuis
Copy link
Member

Closing, this is your buildchain telling you it doesn't have enough free memory available. Nothing we can do about that.

@ChALkeR ChALkeR added the invalid Issues and PRs that are invalid. label Sep 26, 2015
@darky
Copy link
Contributor Author

darky commented Sep 26, 2015

What memory means? RAM? Swap?
If yes, I setup 4Gb of RAM and 5Gb of swap and problem occur still.
I use standart build tools sudo apt-get install build-essential

@bnoordhuis
Copy link
Member

@Darrrk Check your ulimits.

@darky
Copy link
Contributor Author

darky commented Sep 26, 2015

Reason of problem - sources files of nodejs located in mounted drive from OS X (lubuntu as virtual machine)
Copy sources in native ext4 drive helps.
Sorry for alarm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. invalid Issues and PRs that are invalid.
Projects
None yet
Development

No branches or pull requests

4 participants