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



Depends on your definition of "reasonable." If you are asking if this is
something a reasonable person would do, the answer is yes, because Aaron's
documentation summarizes a long-term status quo. However, you're very
lucky if that path leads you to victory. Setting up compilers with the old
technology had a very low success rate.

These days, IBM has built IBM i RPMs, so you shouldn't use AIX RPMs (such
as Perzl) unless absolutely necessary. Also, the ibmichroot package has
been moved to IBM's GitHub account, at http://github.com/IBM/ibmichroot/
and the preferred way to install it is with an IBM i RPM. To get started
with IBM i RPMs and the yum package manager, see http://ibm.biz/ibmi-rpms

Once yum is installed, you can install gcc that way, and it should work.

All that being said, it looks like bpython explicitly calls out "Linux,
BSD, OS X and Windows (with some work)" as its supported platforms, at
https://bpython-interpreter.org/ . It's unlikely to work on IBM i.
:-(





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

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.