Yeah - same problem (as expected) regardless of the -g option.
I get a subtly different output to you (but the same version):
gmake -v
gmake: *** virtual memory exhausted. Stop. <<<<<<<<<<<<<Whoa!<<<<<<<<<<<<<<<<<<<<
GNU Make 4.1
Built for powerpc-ibm-aix5.3.0.0
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: 07 July 2016 14:46
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] Node - npm install fails when "node-gyp rebuild" required
npm install hiredis -g
Unless IBM has changed defaults of the Node.js install, you never want to install using the "-g" option as that will put it in IBM's Node.js folder which *could* be wiped out in the future. I usually install local to the current project (just remove -g option) or change the default global location to be in my /home directory.
What does "gmake -v" produce for you? Below is what I get. SO posts state gmake 3.80 had this issue.
% gmake -v
GNU Make 4.1
Built for powerpc-ibm-aix5.3.0.0
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Aaron Bartell
litmis.com - Services for open source on IBM i
On Thu, Jul 7, 2016 at 8:39 AM, Kevin Turner <kevin.turner@xxxxxxxxxxxxxxx>
wrote:
Interestingly, after running "./pkg_setup.sh pkg_perzl_gcc-4.8.3.lst"
and trying "npm install hiredis -g" again I didn't seem to get as far as you.
Instead I received:
gmake: *** virtual memory exhausted. Stop.
Error: `gmake` failed with exit code: 2
at ChildProcess.onExit
(/QOpenSys/QIBM/ProdData/OPS/Node4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit
(internal/child_process.js:200:12)
OS400 1
"/QOpenSys/QIBM/ProdData/OPS/Node4/bin/node"
"/QOpenSys/QIBM/ProdData/OPS/Node4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
________________________________
NOTICE: The information in this electronic mail transmission is
intended by CoralTree Systems Ltd for the use of the named individuals
or entity to which it is directed and may contain information that is
privileged or otherwise confidential. If you have received this
electronic mail transmission in error, please delete it from your
system without copying or forwarding it, and notify the sender of the
error by reply email or by telephone, so that the sender's address records can be corrected.
----------------------------------------------------------------------
----------
CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a message email: WEB400@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/
________________________________
NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.
--------------------------------------------------------------------------------
CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
As an Amazon Associate we earn from qualifying purchases.