× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



That's interesting - thanks. So using SSH I don't get that error any more. However, gmake fails with " gmake: cc: Command not found"

Is the a config step required?

-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: 13 July 2016 20:11
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Subject: Re: [IBMiOSS] gmake: *** virtual memory exhausted. Stop.

The following is from Tony Cairns (IBM, PASE/and-more expert)....


-------------------------------------
Aaron,
I do not have id midrange forum (should probably do that sometime) ... Stop using call qp2term (bad), switch to ssh (good).

=====
call qp2term
=====
/QOpenSys/usr/bin/-sh
$
gmake -v
gmake: *** virtual memory exhausted. Stop.
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.
$

===
ssh adc@myibmi
===
bash-4.3$ 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.
bash-4.3$ which gmake
/usr/bin/gmake
bash-4.3$ ls -l /usr/bin/gmake
lrwxrwxrwx 1 adc 0 54 Apr 20 2015 /usr/bin/gmake ->
../../opt/freeware/bin/make
bash-4.3$ /opt/freeware/bin/make -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.
bash-4.3$


And here's a partial paste from the following URL:
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/GCC


#GCC compiles

Open Source projects require many tools beyond gcc compiler. Open Source projects requires c coding knowledge. Open Source projects require domain specific knowledge. All in all, simply impossible to describe on this wiki page all aspects need to learn to develop successful Open Source projects.
In fact, most likely that only experienced c coders and/ or Open Source developers will use the actual gcc environment.

Tip: GCC build tools can be sensitive to shell environment. I recommend using ssh, common starting point for most Linux/AIX/PASE developers. More to point, I NEVER recommend using call qp2term or qsh, because green screen sudo tty (horrible shell), can result in odd errors with Open Source complex build scenarios (virtual memory exhausted). When in doubt about tools, you may often find help from the IBM i community forum at http://archive.midrange.com/opensource/ .

At risk of insulting knowledgeable developers, here is the truth most of us learn about developing Open Source.
-------------------------------------
--
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.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.