crossbar icon indicating copy to clipboard operation
crossbar copied to clipboard

Autobahn on AIX

Open malibu1966 opened this issue 1 year ago • 2 comments

Hi there, I'm trying to build autobahn on AIX. I have some agents that 'could' communicate without autobahn but it would be a lot more elegant if they could.

The autobahn install was going well but it fails when building something called 'maturin' because it seems that the module needs a rust compiler... and there is no rust compiler for AIX from what I read.

Is there any way to get the rust out of Autobahn? Thanks. Here is the message I am getting whether I try building crossbar or try pip installing autobahn:

  Building wheels for collected packages: maturin
    Building wheel for maturin (pyproject.toml): started
    Building wheel for maturin (pyproject.toml): finished with status 'error'
    error: subprocess-exited-with-error

    Building wheel for maturin (pyproject.toml) did not run successfully.
    exit code: 1

    [28 lines of output]
    running bdist_wheel
    running build
    running build_py
    creating build/lib.aix-7205-2419-64-cpython-311/maturin
    copying maturin/__init__.py -> build/lib.aix-7205-2419-64-cpython-311/maturin
    copying maturin/__main__.py -> build/lib.aix-7205-2419-64-cpython-311/maturin
    running egg_info
    writing maturin.egg-info/PKG-INFO
    writing dependency_links to maturin.egg-info/dependency_links.txt
    writing requirements to maturin.egg-info/requires.txt
    writing top-level names to maturin.egg-info/top_level.txt
    reading manifest file 'maturin.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.json' under directory 'src/python_interpreter'
    writing manifest file 'maturin.egg-info/SOURCES.txt'
    running build_ext
    running build_rust
    error: can't find Rust compiler

    If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

    To update pip, run:

        pip install --upgrade pip

    and then retry package installation.

    If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for maturin
  Failed to build maturin
  ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects

malibu1966 avatar Dec 13 '24 22:12 malibu1966

I'm trying to build autobahn on AIX. .. Is there any way to get the rust out of Autobahn?

oh, that is unexpected in multiple ways;) I mean, the word "AIX" alone. happens not that often these days, and it means (my bet/guess): the context you are working in has "special needs" - for good reasons usually.

I grew up on Sun (R.I.P.), and HP-UX and stuff, sadly, never worked on VMS/VAX though, but the years fly by anyways.

now rgd your question: I am sure I can make it work (Autobahn on AIX, with or without Rust), and my needs are "not special" - as in, pay bills, looking for a 100% remote job currently. if you want / are interested, pls send me a private message!

oberstet avatar Dec 13 '24 23:12 oberstet

Not sure how?

malibu1966 avatar Dec 14 '24 12:12 malibu1966