Closed abmusse closed 8 years ago
Original comment by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).
I've resolved this issue with direction from Kevin Adler. See this link for how to resolve the algorithm
include.
Original comment by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).
Sorry, I haven't had time to pursue this further.
Original comment by Chad Bean (Bitbucket: chadbean, GitHub: Unknown).
I'm hitting this issue too. @aaronbartell were you able to find a solution? I'm trying to install the ibm_db
module for Node.
Original comment by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).
Too true. Time for me to put on my big boy pants. :-)
Original comment by Tony Cairns (Bitbucket: rangercairns, GitHub: rangercairns).
Wait just a minute, you are a c geek now, second you started compiling things, 'which header' is your work here. Have a nice afternoon :)
Original comment by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).
Can you find an Open Source equivalent???
Here is the gcc repo. Pressing 't' on that page opens up a nifty file search tool that allowed me to find a couple different algorithm
files.
Do you know which one I should be using?...
Original comment by Tony Cairns (Bitbucket: rangercairns, GitHub: rangercairns).
Welcome to IBM i ... cough ... shipped with xlC (pay for compiler).
#!shell
bash-4.3$ ls /QOpenSys/xlcpp/opt/IBM/xlC/13.1.0/include/algorithm
/QOpenSys/xlcpp/opt/IBM/xlC/13.1.0/include/algorithm
/**********************************************************************/
/* <algorithm> header file */
/* */
/**********************************************************************/
/* */
/* Licensed Materials - Property of IBM. */
/* IBM XL C/C++ for AIX, V13.1 (5725-C72, 5765-J07) */
/* */
/* Copyright IBM Corp. 1991, 2013. */
/* US Government Users Restricted Rights - */
/* Use, duplication or disclosure restricted by */
/* GSA ADP Schedule Contract with IBM Corp. */
/* Status = HLE7790 */
/* */
/**********************************************************************/
/* */
/* Dinkum C++ Library */
/* Copyright (c) 1998. Licensed to IBM Corp. and its suppliers. */
/* */
Can you find an Open Source equivalent???
Original report by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).
I am starting to dig deeper into gcc compiles using ibmichroot. My current en devour is compiling node-inspector. I eventually hope to combine the steps I take into a xxxx.lst file (probably the gcc one).
To compile Node.js modules the following are needed:
The compile goes fine until I get to other includes, like
algorithm
.So I went searching and found
/QSYS.LIB/QSYSINC.LIB/STD.FILE/ALGORITHM.MBR
and copied it to the IFS similar to what we do for ruby-ibm_db:Copy and rename (
mv
) is successful. I run the install again and get errors from thealgorithm
include.I am not sure if I can copy the
algorithm
file to here without it being illegal, but there is a lot of interesting stuff in the top of it (i.e. significantly indented 'if' statements with question marks in front of them).Should I be pulling includes from somewhere else?