Page 1 of 1

Build Basilisk from source on Raspberry Pi

Posted: Mon Oct 14, 2019 10:49 pm
by ant
Hello, I've tried building Basilisk from source on a Raspberry Pi 4 using the following instructions:

# apt-get install git libsdl1.2-dev
# git clone https://github.com/cebix/macemu
# cd macemu/BasiliskII/src/Unix
# NO_CONFIGURE=1 ./autogen.sh
# ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler
# make install

It all seems to compile ok and I end up with an executable 'Basilisk II' file in the ~/macemu/BasiliskII/src/Unix directory. However, when I try to execute the file from the desktop by clicking on the icon, nothing happens. If I run the file from the command line, I get a message that says "ERROR: Cannot open ROM file".

Can anyone help with this?

Re: Build Basilisk from source on Raspberry Pi

Posted: Tue Oct 15, 2019 7:08 am
by Ronald P. Regensburg
To be able to run, BasiliskII needs a compatible ROM file and the path to that file in its prefs file.

See the setup guides in our wiki. (The setup guide for Linux is unfinished, but some of the needed information can also be found in the guides for Windows and/or macOS.)

Re: Build Basilisk from source on Raspberry Pi

Posted: Tue Oct 15, 2019 9:41 pm
by ant
Of course! Sorry about that. It all works fine now.

Re: Build Basilisk from source on Raspberry Pi

Posted: Sun Nov 22, 2020 4:49 am
by DavidM
My Raspberry Pi card with BasiliskII died, and I'm trying to rebuild it (twice) without success.
- On a 32-bit version of Buster with GUI, after following your steps; I'm told there isn't an executable to run from the command line; I've checked closely for typos and don't see any (Except that I had to also install 'autoconf' in the first step.
- On a 64-bit version of Buster with Gui, it crashed out in the "./configure" step telling me I needed to specify a configuration. Ironically, the 64-bit version has an option that installs the configuration utility in "Add/Remove programs."
Sorry to bother anyone who reads this, but I get confused when my attempts fail. I did look for my past questions about this on the forums, but a user name search had no hits.

Re: Build Basilisk from source on Raspberry Pi

Posted: Sun Nov 22, 2020 8:12 am
by Cat_7
Hi,

From where did you get the source code? You should git clone https://www.github.com/kanjitalk755/macemu

Best,
Cat_7

Re: Build Basilisk from source on Raspberry Pi

Posted: Sun Nov 22, 2020 11:41 pm
by DavidM
I didn't know about that source, I used the github/cebix/macemu one in the first post.
Is it safe to assume I can cleanup up and start over just by deleting the directory tree?

Since posting the above, I've continued looking into it on the 32-bit OS. There were errors related to missing gtx+-2.0, so I installed it, and esd-config whose installer I haven't found. There are also SDL video errors in the make sequence. I'm ignoring these for now..., like compilers I ignore most things past the first error message.

Re: Build Basilisk from source on Raspberry Pi

Posted: Mon Nov 30, 2020 3:39 pm
by rickyzhang
Check out travis file here https://github.com/cebix/macemu/blob/master/.travis.yml

It shows dependency and build instruction for both Linux and MacOS X.