Build Basilisk from source on Raspberry Pi

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
ant
Space Cadet
Posts: 3
Joined: Sat Mar 25, 2017 10:39 pm

Build Basilisk from source on Raspberry Pi

Post 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?
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Build Basilisk from source on Raspberry Pi

Post 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.)
ant
Space Cadet
Posts: 3
Joined: Sat Mar 25, 2017 10:39 pm

Re: Build Basilisk from source on Raspberry Pi

Post by ant »

Of course! Sorry about that. It all works fine now.
DavidM
Space Cadet
Posts: 4
Joined: Mon Jan 27, 2020 6:27 am

Re: Build Basilisk from source on Raspberry Pi

Post 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.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Build Basilisk from source on Raspberry Pi

Post 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
DavidM
Space Cadet
Posts: 4
Joined: Mon Jan 27, 2020 6:27 am

Re: Build Basilisk from source on Raspberry Pi

Post 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.
User avatar
rickyzhang
Apple Corer
Posts: 205
Joined: Mon Sep 15, 2014 7:59 pm

Re: Build Basilisk from source on Raspberry Pi

Post 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.
There is an App for that!
https://github.com/rickyzhang82
Post Reply