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



Hi Aaron

Thanks - that would be a useful workaround, but I was really only using hiredis as an example of many things that I cannot install/build. It is a dependency of a package called busmq, but that has several other deps that fail in the same way. I really need a proper local solution (hence getting IBM to look).

From what I can gather it is a bug that was around in version 3.80 where it is trying to evaluate a string (of c files) that is/are too long.

That said, even if I do "gmake -v" it outputs the same error but still continues to work:

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.

Very frustrating :(



-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: 11 July 2016 22:12
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Subject: Re: [IBMiOSS] IBM_DB - npm

Hi Kevin,

Yes, I am using gmake v4.1

Btw, I was able to get hiredis compiled/installed after getting
libstdc++devel installed (see below). I am not sure where the "virtual
memory exhausted" error is coming from. Mine was done in a Litmis Space.
If you create a Litmis Space (Node.js flavor) then email me with your Space GUID and I will copy the necessary extra things into it and you can compile your own hiredis and then SFTP it to your own machine.

% npm install hiredis
-


hiredis@0.5.0 install /home/USR2L6RU/junk/node_modules/hiredis


node-gyp rebuild
gmake: Entering directory
'/home/USR2L6RU/junk/node_modules/hiredis/build'.8.3/include


CC(target) Release/obj.target/hiredis-c/deps/hiredis/sds.o


CC(target) Release/obj.target/hiredis-c/deps/hiredis/read.o


../deps/hiredis/read.c: In function 'chrtos':


../deps/hiredis/read.c:78:9: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]

len = snprintf(buf,size,"\"\\%c\"",byte);


^


../deps/hiredis/read.c:78:15: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]

len = snprintf(buf,size,"\"\\%c\"",byte);


^


../deps/hiredis/read.c: In function '__redisReaderSetErrorProtocolByte':


../deps/hiredis/read.c:100:5: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]

snprintf(sbuf,sizeof(sbuf),


^


AR(target) Release/obj.target/deps/hiredis-c.a


COPY Release/hiredis-c.a


CXX(target) Release/obj.target/hiredis/src/hiredis.o


CXX(target) Release/obj.target/hiredis/src/reader.o


SOLINK_MODULE(target) Release/obj.target/hiredis.node


COPY Release/hiredis.node


gmake: Leaving directory '/home/USR2L6RU/junk/node_modules/hiredis/build'


hiredis@0.5.0 node_modules/hiredis


├── bindings@1.2.1


└── nan@2.4.0

Aaron Bartell
litmis.com - Services for open source on IBM i


On Mon, Jul 11, 2016 at 3:54 PM, Kevin Turner <kevin.turner@xxxxxxxxxxxxxxx>
wrote:

By the way - this is gmake v4.1 - is that the same as you Aaron?

-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxx] On Behalf Of
Kevin Turner
Sent: 11 July 2016 21:32
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Subject: Re: [IBMiOSS] IBM_DB - npm

OK thanks all - a little progress. I was now able to install ibm_db
from npm.

However, node-gyp rebuild still fails for things like "hiredis". With
that gmake fails:

gmake: *** virtual memory exhausted. Stop.


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

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.