-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support generic AIX platform (non-OS400) #5
Comments
Seems it's impossible to virtualize AIX on x86 hardware, so I have to pass on supporting it. |
Hi there, |
Can you post the exact output of these commands on a machine that ideally has both IPv4 and IPv6 gateways?
|
I‘ll come back on Monday with the results. Thanks! |
Unfortunately, the netstat command is not available in the AIX terminal. |
Would like to avoid additional dependencies if possible. Is there a |
There's a database table qsys2/netstat_route_info where I can find the default gateway. There's a command "db2" available to run sql through the shell. But the statement will throw a "permission denied" exception when I try to just run it in the shell. What I didn't mention so far: It's actually not a full AIX setup we're using - It's an integrated subsystem inside a System i (also known as AS/400). That's why not all the AIX commands will work here. |
It took a few moments, but I was able to make an aix.js file that runs on our system (tested with test.js) |
Sorry to say, but I wasn't able to make the aix.js file without any of the packages IBM provides for database access in node... |
No need, I will handle that after merging. |
According to this:
|
Yeah, i was reminded of ldapjs/node-ldapjs#451, but as I see now, that failure there is on So as long as we guard the require in |
Is this current version now available in npm, or is there something left/pending? Is it still version 3.0.1, or is it gonna be another release version containing these changes? |
Publishing soon after I finish travis changes. Then the change will need to propagate through the dependency chain. I'll do it for https://github.com/sindresorhus/internal-ip because that one is not depending on v3 yet. |
Okay, thanks :) |
3.1.0 released, sindresorhus/internal-ip#20 for downstream support. |
This is open again, see #10. I will only accept pure JS support for AIX. |
I‘m sorry the idb-connector package was kinda a miss... but what about a solution with odbc? |
I second @patrickhrastnik's question, but also curious if you would accept the current change if IBM/nodejs-idb-connector#54 gets resolved. Currently, this issue only exists for AIX, and only for the non-IBMi variants of AIX. Once that issue is resolved, we will avoid the compile failures for any AIX |
I would not accept a native dependency, sorry. What we could do is drop the |
Ok. We have figured out a game plan for a pure js implementation, and should have it ready within a few days. |
Great! Generally, the current approach with unspecified |
Installs of
(I think this is expected, just documenting a reminder of the upstream changes, as we will want to request version bumps).
|
Yes, I assume |
To implement on mainline AIX, we could parse out the following command: |
Sounds like a plan. For netstat parsing, you can use the other unixes like |
Thanks for landing the PR! Would you like to take the task of the upstream request to |
No need to update |
Upon further inspection, it looks like the sunos implementation can be used as-is for AIX! (I will try to find somewhere to test) |
ahh, so it's just |
Yes, exactly, they to update to 3.2.1 or higher. |
PR opened to react here: facebook/create-react-app#6483 |
Fixed in eb1bce7 and released as |
PRs welcome. Implementation must be pure JS.
The text was updated successfully, but these errors were encountered: