bebbo / amiga-gcc

The GNU C-Compiler with Binutils and other useful tools for cross development for Amiga

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aminet links and amitools on Debian and Ubuntu

acf opened this issue · comments

Hello!

Having given up trying to get this working directly on macOS I have installed UTM and a couple of linux VMs to see if I can get a working system there without fighting homebrew and Xcode :-)

I started with an x86 ubuntu system (very slow on apple silicon) and ended up with a minimal arm64 Debian, which is now nice and speedy.

1 thing I had to manually tweak is changing the various http aminet links in the makefile to https. I have noticed occasionally when clicking on something ion the aminet website that an http link doesnt work and I have to manually change to https. Not sure if it's something on my Mac or something at their end, but either way I just thought I'd mention that changing them to https links worked fine and maybe it's something affecting other people.

The second thing is that I have not yet been able to run make check.

amitools fails to install for me with what appears to be python errors. I'm not too familiar with python but could it be a python2 vs python3 thing ?

On Ubuntu it all seems happy and was clear "this is not a pip error"

On Debian I get a complaint when installing via pip that it was "unmanaged" and it suggested I install pipx, which I did.

In both cases I ended up with same errors ( sample screenshots attached because I haven't yet figured out how best to get files out of the VM and into Mac :-).

Screenshot 2024-02-03 at 12 16 53 Screenshot 2024-02-03 at 12 17 10

Just to be clear, as far as I can tell the toolchain installed fine. I just was trying to use the make check instructions rather than make a little sample myself.

Thank you for the feedback regarding the aminet links, I'll hava a look.

Your problem with amitools... I use

git clone https://github.com/bebbo/amitools
cd amitools
sudo python3 setup.py install

to install it. And you should provide a ~/.vamosrc containing at least

[volumes]
ram=/tmp

Also install dejagnu and copy the baseboards to /usr/share/dejagnu/baseboards/
Now make check should work

@bebbo Thanks! Will try the alternate method just now.

Nope. Debian still insisting that I'm not allowed to do anything in an "externally managed" environment. setup.py complains about cython and installing cython with pipx is clearly putting it in a place that setup.py doesnt recognise. I'll keep fiddling, but this is basically a debian/python issue. I just thought the errors in amitools:

"Cannot assign type 'void (void) except 'to 'void () (void) noexcept'
• Exception values are incompatible. Suggest adding 'noexcept to type void (void) except *"

Seemed to be syntax rather than environment.

It's absolutely not a big deal. I made a little hello.c and all was well :-)

OK got an environment set up with python venv and still getting same errors using setup.py so it does feel like maybe some conflict with the cython version ?

Screenshot 2024-02-03 at 14 33 04

installing via pip should work now

You may also use the original repo once this issue cnvogelg/machine68k#1 is resolved.