Fantastic - many thanks
-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Adler
Sent: 13 July 2016 22:00
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Subject: Re: [IBMiOSS] gmake: *** virtual memory exhausted. Stop.
"OpenSource" <opensource-bounces@xxxxxxxxxxxx> wrote on 07/13/2016
03:45:24 PM:
From: Kevin Turner <kevin.turner@xxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Date: 07/13/2016 03:45 PM
Subject: Re: [IBMiOSS] gmake: *** virtual memory exhausted. Stop.
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>
Thanks for the pointers. I went round and round in circles for a
while because I could not seem to set CC at all. A simple "export
CC=/usr/bin/gcc" just said "identifier not found".
Then it dawned on me that I may not be using bash, so I did "CC=/
usr/bin/gcc; export CC" and that worked - and so did the npm install
:)
Yes, default shell in PASE is bsh (Bourne Shell) and not bash (Bourne Again Shell). It does not know how to set and export on the same line.
Presumably there is some way to have CC set permanently?
You can set it in your .profile or /QOpenSys/etc/profile. See this thread for more info:
http://archive.midrange.com/opensource/201607/msg00036.html
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To post a message email: OpenSource@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/opensource.
___________________________________________
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.