Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

make install doesn't expand ~ on Linux #75

@simonbcn

Description

@simonbcn

node git version
Ubuntu Linux 14.04 64 bits

In configure it expand well the prefix: 'node_prefix': '/home/simon/bin/nodejs/'

$ ./configure --prefix=~/bin/nodejs/
creating  ./icu_config.gypi
{ 'target_defaults': { 'cflags': [],
                       'default_configuration': 'Release',
                       'defines': [],
                       'include_dirs': [],
                       'libraries': []},
  'variables': { 'clang': 0,
                 'gcc_version': 49,
                 'host_arch': 'x64',
                 'icu_small': 'false',
                 'node_install_npm': 'true',
                 'node_prefix': '/home/simon/bin/nodejs/',
                 'node_shared_cares': 'false',
                 'node_shared_http_parser': 'false',
                 'node_shared_libuv': 'false',
                 'node_shared_openssl': 'false',
                 'node_shared_v8': 'false',
                 'node_shared_zlib': 'false',
                 'node_tag': '',
                 'node_use_dtrace': 'false',
                 'node_use_etw': 'false',
                 'node_use_mdb': 'false',
                 'node_use_openssl': 'true',
                 'node_use_perfctr': 'false',
                 'openssl_no_asm': 0,
                 'python': '/usr/bin/python',
                 'target_arch': 'x64',
                 'uv_library': 'static_library',
                 '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': 'true',
                 'want_separate_host_toolset': 0}}
creating  ./config.gypi
creating  ./config.mk

I execute make install and it install the files on ~ folder under source folder:

...
installing /home/simon/fuentes/node/~/bin/nodejs/lib/node_modules/npm/html/partial/doc/cli/npm-outdated.html
installing /home/simon/fuentes/node/~/bin/nodejs/lib/node_modules/npm/html/partial/doc/cli/npm.html
installing /home/simon/fuentes/node/~/bin/nodejs/lib/node_modules/npm/html/partial/doc/cli/npm-cache.html
installing /home/simon/fuentes/node/~/bin/nodejs/lib/node_modules/npm/html/partial/doc/cli/npm-view.html
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions