Sitelet https://github.com/nodejs/node/issues/3071
Skip to content

Can't compile nodejs 4.1.1 on lubuntu 15.04 #3071

Description

@darky
...

----> 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

Activity

  1. mscdex commented on Sep 26, 2015

    @mscdex
    Contributor

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

  2. added
    buildIssues and PRs related to Node.js builds or CI infrastructure.
    on Sep 26, 2015
  3. bnoordhuis commented on Sep 26, 2015

    @bnoordhuis
    Member

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

  4. darky commented on Sep 26, 2015

    @darky
    ContributorAuthor

    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

  5. bnoordhuis commented on Sep 26, 2015

    @bnoordhuis
    Member

    @Darrrk Check your ulimits.

  6. darky commented on Sep 26, 2015

    @darky
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.invalidIssues and PRs that are invalid.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions