Does SheepShaver not work on Linux ?!

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

Good morning all !

I have a problem with the Linux version of SheepShaver... I downloaded several versions here but none of them work... maybe I am missing something? The only version that installs is this one but after that I don't know how to launch SheepSahver...

Windows versions work perfectly... can someone help me with Linux?

Thanks best regards !
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Does SheepShaver not work on Linux ?!

Post by Ronald P. Regensburg »

Did you try downloads referenced in this forum topic?
https://www.emaculation.com/forum/viewt ... 5420#35420
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

Hello thank you for your interest :)

Yes I have tried all the versions, none of them work except the one I mentioned in my first message, but which I cannot manage to launch...

I'm on Linux Mint 19.3 Tricia Cinnamon x64

Greetings !
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

No one to help me ?

Why the Windows version of Sheepshaver does not work with Wine ?

Greetings !
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Does SheepShaver not work on Linux ?!

Post by Cat_7 »

Except for the incidental old builds linked on the forum, we do not provide Linux builds. There are too many Linux distros to support.

On Linux your best bet is to compile the program yourself.

Best,
Cat_7
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

Cat_7 wrote:On Linux your best bet is to compile the program yourself.
OK thanks & can you tell me how to compile ?
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Does SheepShaver not work on Linux ?!

Post by Ronald P. Regensburg »

Kanjitalk755 source and build instructions here: https://github.com/kanjitalk755/macemu
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

Hello thank you for your help !

I downloaded the macemu-master.zip file & followed the procedure:

Code: Select all

cd macemu/SheepShaver/src/Unix
./autogen.sh
make
I have this error message:
You must have autoconf installed to compile SheepShaver.
Download the appropriate package for your distribution,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/

**Error**: Missing aclocal. The version of automake
installed doesn't appear recent enough.
Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz
(or a newer version if it is available)
I don't know what to do anymore I am depressed...
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: Does SheepShaver not work on Linux ?!

Post by emendelson »

Use your distro's package manager and install autoconf, automake, and libtool. Then try again.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Does SheepShaver not work on Linux ?!

Post by Ronald P. Regensburg »

And install sdl2 (version 2.0.10 or later).
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

Use your distro's package manager and install autoconf, automake, and libtool. Then try again.
Ok thanks i will try :)
And install sdl2 (version 2.0.10 or later).
& how do we do it under Linux ? Is it in the catalog ? If yes under what name ?

Greetings !
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Does SheepShaver not work on Linux ?!

Post by Ronald P. Regensburg »

Sebiohazard wrote:
And install sdl2 (version 2.0.10 or later).
& how do we do it under Linux ? Is it in the catalog ? If yes under what name ?!
On the SDL2 page https://www.libsdl.org/download-2.0.php
it says: "Linux: Please contact your distribution maintainer for updates."
Last edited by Ronald P. Regensburg on Sun May 03, 2020 12:36 pm, edited 1 time in total.
Reason:  
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

Good evening everyone !

I installed autoconf automake & libtool. I reinstalled this .deb file because it is the only one that installs without error.

After installation I type "Sheepshaver" in the search bar of Linux Mint but Sheepshaver does not appear ?!

I also tried the other method on the official website with these commands after downloading this file:

Code: Select all

cd macemu/SheepShaver/src/Unix
./autogen.sh
make
Nothing works... I do not understand where is the executable ? Why is it so complicated ? Can you guide me step by step please ?

Greetings !
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: Does SheepShaver not work on Linux ?!

Post by emendelson »

You may want to study Linux basics before proceeding, but these are steps will built and start SheepShaver under Linux Mint. They work, though possibly some are unnecessary. I just tried them on a fresh copy of Linux Mint.

From a terminal, enter these commands:

Code: Select all

sudo apt update
sudo apt install build-essential git automake 
sudo apt install libsdl2-dev
sudo apt install libgtk2.0-dev

cd ~/Downloads
git clone https://github.com/kanjitalk755/macemu.git

cd macemu/SheepShaver
make links
cd src/Unix
./autogen.sh
make -j3
Then, before running SheepShaver, find out (by searching the web) how to enable the root account and how to access it from a terminal. Then, as root, do what this site's guide tells you to do:

Code: Select all

echo 0 > /proc/sys/vm/mmap_min_addr
I don't think you need to edit sysctl.conf but it can't hurt.

Then, back at your user account prompt, in the same folder where you were when you ran make, enter:

Code: Select all

./SheepShaver
Notice that Linux is case-sensitive, so you need to use ./SheepShaver (not "Sheepshaver). Of course you can move SheepShaver out of the src/Unix folder into some other folder that can create for it.

Once the SheepShaver GUI starts up, you'll have to enter a path for the ROM file and the disks, following the setup guide on this site. Please follow the setup guide EXACTLY, and it will tell you what you need to do.

EDIT: Having done this, and having seen SheepShaver start up to Mac OS 9.0.4, and having accessed the Unix folder, I've deleted my Mint setup, so I won't be able to provide any more help, but if you follow these steps, you will have SheepShaver running. You will probably get much better results on a Windows or a Mac, with much less hassle.
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

@emendelson:

Hello & thank you for your precious help :) I followed all the steps:

Code: Select all

sudo apt update
sudo apt install build-essential git automake
sudo apt install libsdl2-dev
sudo apt install libgtk2.0-dev

cd ~/Downloads
git clone https://github.com/kanjitalk755/macemu.git

cd macemu/SheepShaver
make links
cd src/Unix
./autogen.sh
make -j3
Everything went smoothly then I launched Sheephaver with the command:

Code: Select all

./SheepShaver
Sheepshaver launches (GUI) I configure the path of the ROM & the path of my HDD + ISO I click on start & nothing... Sheepshaver disappears...
Then, before running SheepShaver, find out (by searching the web) how to enable the root account and how to access it from a terminal. Then, as root, do what this site's guide tells you to do:

Code:
echo 0 > /proc/sys/vm/mmap_min_addr
I did not understand what to do at this time ? Is that why Sheepshaver doesn't start ?

Greetingd !
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: Does SheepShaver not work on Linux ?!

Post by emendelson »

Search the web (this is a SheepShaver forum, not a Linux forum) to find out how to enable the root account in Linux, and then follow the instruction that you did not follow. SheepShaver will not start until you find out for yourself how to enable the root account and enter the command (the one that begins "echo") as root.

The rest is very simple if you perform a Google search for the relevant information. You can easily finish the job on your own. I've told you everything you need to know to finish the job. Good luck!
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: Does SheepShaver not work on Linux ?!

Post by emendelson »

And I see from our friend vasi's repo page that this command might be an alternative to enabling root, but I haven't tried it because I've deleted my Mint setup:

Code: Select all

sudo sysctl vm.mmap_min_addr=0
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Does SheepShaver not work on Linux ?!

Post by adespoton »

Mint is Debian based, so sudo should work just fine.
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

@emendelson

Hello I went here & I found these commands:

Code: Select all

setsebool -P mmap_low_allowed 1
ausearch -c 'SheepShaver' –raw | audit2allow -M my-SheepShaver
semodule -X 300 -i my-SheepShaver.pp
I ran them with "sudo" but that doesn't change anything... Sheepshaver doesn't start... it's very complicated on Linux why ? On Windows it's a breeze :)

Tonight I will try this new order thank you:

Code: Select all

sudo sysctl vm.mmap_min_addr=0
Greetings !
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: Does SheepShaver not work on Linux ?!

Post by emendelson »

The settings that you found are for SELinux (Security-Enhanced Linux). You are not using SELinux, so those commands will not have any effect.
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

Ahhhhhhhhhhhh sorry I'm completely new to Linux... I'm using Linux Mint 19.3 is this command going to work ?

Code: Select all

sudo sysctl vm.mmap_min_addr=0
Greeteings !
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: Does SheepShaver not work on Linux ?!

Post by emendelson »

Please re-read the message in which I offered that command.
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

Yes !!!

Sheepshaver works with the command:

Code: Select all

sudo sysctl vm.mmap_min_addr=0
It's very slow compared to the Windows version...

Thanks a lot for your help :)

Greeting !
User avatar
Sebiohazard
Mac Mechanic
Posts: 157
Joined: Tue Aug 27, 2019 2:15 pm

Re: Does SheepShaver not work on Linux ?!

Post by Sebiohazard »

Hello !

I downloaded this version of SheepShaver (2.4) which now works under Mint & is faster than the one compiled with the help of emendelson (version 2.5) strange ?

Greetings !
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Does SheepShaver not work on Linux ?!

Post by Ronald P. Regensburg »

In your first post you wrote:
I downloaded several versions here but none of them work...
Apparently you missed this one. Good to hear that this build works for you.
Post Reply