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



After cursory investigation, I suspect bpython doesn't work on IBM i
because the underlying greenlet package has no support for ppc64 IBM i/AIX
https://github.com/python-greenlet/greenlet/tree/master/platform

I found this GitHub issue:
https://github.com/python-greenlet/greenlet/issues/145


"OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx> wrote on 04/02/2019
07:04:06 AM:

From: Craig Richards <craig@xxxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Date: 04/02/2019 07:06 AM
Subject: [IBMiOSS] bpython
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>

Hi all,

If I'm accessing IBMi via SSH and running bash 4.4 on the IBMi, would it
be
reasonable to expect that the bpython interpreter would run ok?

I tried installing it into a venv and hit a snag as GCC isn't installed
on
the IBMi.

I can see Aaron Bartell's instructions on how to install GCC at the
bottom
of this post:

https://urldefense.proofpoint.com/v2/url?

u=https-3A__www.mcpressonline.com__programming_scripting_techtip-2Ddb2-2Dadapter-2Dfor-2Dshells&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=ZCVxF-

w6wAginVZ42dfeYbM5huvio_77jTCJXaiFgrE&m=WtGpYhTzfcXSnznFy77iPRkzN16QeUejS82--
nz3gxI&s=oGwboznqBY7VORZhdwrbeYFB9vB_YICKWAUhZ4tHVv8&e=


which amounts to running:

$ cd /QOpenSys

$ git clone <git@xxxxxxxxxxxxx>git@xxxxxxxxxxxxx:litmis/ibmichroot.git
$ cd ibmichroot
$ ./pkg_setup.sh pkg_perzl_gcc-4.8.3.lst

Does this seem a reasonable thing to do?

thanks and regards,
Craig


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.