BlitterStudio / amiberry

Optimized Amiga emulator for Linux/macOS
https://amiberry.com
GNU General Public License v3.0
661 stars 89 forks source link

Docs: improve wiki/Compile-from-source #1489

Closed giantclambake closed 1 month ago

giantclambake commented 1 month ago

I noticed a couple of problems here ~ I'll cite this relative to a fresh debian Bookworm amd64 installation... we have ;

sudo apt install cmake libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libflac-dev libmpg123-dev libpng-dev libmpeg2-4-dev libserialport-dev libportmidi-dev

On a freshly installed system (or an instance not used yet to build/compile software, and nothing has yet called for DKMS), the above will generate 2 failures trying to compile amiberry ...1. 'make' not found ...2 'cc' missing. If you want this to work, you either have to add the apt targets gcc and make , or include the apt target build-essential in the above command.

*the apt git target is missing.

Again, on a freshly installed debian Bookworm system, the git package may not already be installed. If not, the command in the instructions... git clone https://github.com/BlitterStudio/amiberry ...will invariably fail. If you want this to work, you have to add the apt target git to the above command, to ensure it is installed.

There is no foul if any package is already installed, as apt will just skip over any targets already present in the system.

TIA

solskogen commented 1 month ago

Does it look better now? :)

giantclambake commented 1 month ago

Nice .... provided macOS doesn't need a git target? (I do not know)

Thanks ;)

solskogen commented 1 month ago

As long as you use homebrew, no. Not sure about macports. Perhaps even git is part of macOS now.

giantclambake commented 1 month ago

M'kay, then what you've done seems fine ... I'm going to imagine most apple folks will pick-up the DMG anyhow ... but it's important wiki instructions actually work... imo :)

Closing as completed ~ thank you kindly.