-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
OS400 port of curl requires deprecated IBM library #5176
Comments
Thanks for the information.
Unfortunately, both are not tiny maintenance tasks and I cannot afford them unless someone can provide me access to an iSeries computer. The OS400 version thus needs finding a new maintainer who can start by doing this conversion. Maybe you ? |
As of OS/400 V5R2M0 the ASCII runtime has been shipped as part of the operating system (check QSYS for *SRVPGMs prefixed QADRT), so is continuing with QADRT a question of access to the correct set of header files at build time? I'm not sure switching the LOCALETYPE on CRTCMOD to UTF-8 will have the same effect as the existing pragma convert on string literals. |
I verified with a clean system on 7.2; the service programs are there, but the include files are not (or at least, installed somewhere known, I did a check in @monnerat I know people with machines; I can get you access to one. Email me and I can see what I can do. |
I heard IBM was working on a curl-like native tool but who knows... I think moving it to UTF support would be the right path to take. Let me know if you need access to an IBM i system with v7r3 running. |
Curl support on OS400 is only lthe API library (libcurl) and features an ILE RPG binding: I investigated long ago for a port of the cli tool, but it has far too many options for a It seems strange to me that IBM dropped the @NattyNarwhal & @bobcozzi : many thanks for your machine access proposal. Since I'm not in the IBM i business anymore (currently unemployed), I would really prefer someone active in it does this new port (note the same problem will arise with libssh2 and libxml2). I'll provide any help I can for this new project. Let's keep the proposal as an extreme alternative solution. |
@monnerat, for reference only, there are also the Axis client APIs for RPG, for SOAP/REST, at least. |
IBM is working to resurrect the web presence around QADRT. In the meantime, one can download it from here. |
In the meantime the page "ASCII Runtime for IBM i" is available at URL: https://www.ibm.com/support/pages/node/6258183 |
I had previously mentioned this in the pull request I did to fix the CCSID converter, but I realized I should have made a seperate issue for bringing attention to this. curl requires QADRT to build, which provides ASCII wrappers for libc/POSIX functions in the ILE, but IBM no longer supports or even offers this library to download. It would be wise to migrate curl to using
LOCALETYPE(*LOCALEUTF)
available with modern ILE, which provides similar wrappers and UTF-8 string constants without having to swaddle a temporary file in#pragma convert
.cc @monnerat @jonrumsey who did ILE port
curl/libcurl version
operating system
IBM i 7.2
The text was updated successfully, but these errors were encountered: