Skip to content
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

Autobahn on AIX #2116

Open
malibu1966 opened this issue Dec 13, 2024 · 2 comments
Open

Autobahn on AIX #2116

malibu1966 opened this issue Dec 13, 2024 · 2 comments

Comments

@malibu1966
Copy link

malibu1966 commented Dec 13, 2024

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

@oberstet
Copy link
Contributor

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!

@malibu1966
Copy link
Author

Not sure how?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants