SheepShaver for 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

mascondante
Space Cadet
Posts: 5
Joined: Sun Jun 01, 2014 1:04 am

Re: SheepShaver for Linux

Post by mascondante »

Cat_7 wrote:Good news for Linux users wanting to use networking with the sheep_net module!

The latest patch for the sheep_net driver for Linux kernels > version 3.15 again allows networking with this module.

Best,
Cat_7
Good on you Sir! Much appreciated.
commodorejohn
Space Cadet
Posts: 2
Joined: Tue Dec 16, 2014 12:26 am

Re: SheepShaver for Linux

Post by commodorejohn »

Is there any particular voodoo required to get SheepShaver to build with native PPC execution on PowerPC Linux? I'm running Debian 7 on a Powerbook G4, and when I run configure, it reports thusly:

Code: Select all

Using PowerPC emulator ........... : no
Enable JIT compiler .............. : no
This is not terribly clear - does that mean it's not using any emulation because it's already set to run the code natively? Or does it mean it's not using any special emulation and is just defaulting to a slow-but-universal approach?
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: SheepShaver for Linux

Post by Cat_7 »

Hi,

Those lines indicate that on your platform you don't need jit nor emulator, and are thus going to run on the native processor.

Best,
Cat_7
commodorejohn
Space Cadet
Posts: 2
Joined: Tue Dec 16, 2014 12:26 am

Re: SheepShaver for Linux

Post by commodorejohn »

Excellent, thanks :)
maclinux
Space Cadet
Posts: 7
Joined: Tue Mar 10, 2015 4:47 pm

Re: SheepShaver for Linux

Post by maclinux »

Hello Cat_7, hello Forum,

I'm new with SheepShaver on Linux (Mint 17 64 Bit = Ubuntu 14.04 LTS).
I'm also using SheepShaver on Windows 7 64 Bit without Problems.
I only have problems with running SheepShaver on Linux Mint 17.

To configurate I start "SheepShaver_44_SDL" in my MacOS9.0.4 Folder, what is
in my Home directory. It seems to work, but after I click on Start, nothing happens.

I selected the macos-image, which I coppied from my Windows 7, also the MacROM.
So what is the problem?
Has somebody a solution?

Regards maclinux
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: SheepShaver for Linux

Post by Cat_7 »

Hi,

You might want to check whether you have the SDL 1.2.x libraries installed.

Best,
Cat_7
maclinux
Space Cadet
Posts: 7
Joined: Tue Mar 10, 2015 4:47 pm

Re: SheepShaver for Linux

Post by maclinux »

Hello Cat_7,

thankyou for your advise. After a restart I could run SheepShaver.
I don't know why it didn't run before.

Regards maclinux
Gene
Space Cadet
Posts: 1
Joined: Sat Sep 05, 2015 11:31 am

Re: SheepShaver for Linux

Post by Gene »

Hi,
Can someone confirm that they have SheepShaver successfully running on LinuxMint17.x?
If someone *has* done this, can they provide a tutorial, describing a reproducible process, in *frightening detail*, including which versions of SheepShaver and LinuxMintxx (or other Linux) were used.
I have a usable Mac OS ROM, and certain Classic Software which will only run on OS8/9.
The instructions for SheepShaver OSX versions, (youtube and elsewhere) show a SheepShaver compilation which is different from unpacked SheepShaver.deb version. For example, the SheepShaver App and SheepShaver Folder are installed into different locations. And whether the Mac OS ROM should be copied to the SheepShaver Folder or to /bin with the SheepShaver App is not made clear.
In any case when using the .deb version, I can't get past the following error msg:

SheepShaver error:
Cannot map Low Memory Globals : Operation not permitted.
(and on the next line is a big friendly..) [ Quit ] (... button to press.)

There are no usable instructions for the '..SDL..' and '..44..' files which have been posted for Linux. Whether they are stand-alone SheepShaver versions or required pkgs for SheepShaver.deb is not clear. Sys-Info says they are executables, but no instruction how to excecute. (It's not this hard when using OSX version of SS !)

Thanks G
Schala
Space Cadet
Posts: 7
Joined: Sat Apr 02, 2016 4:00 am

Re: SheepShaver for Linux

Post by Schala »

Which configure options did you use for these builds?
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: SheepShaver for Linux

Post by Cat_7 »

Schala
Space Cadet
Posts: 7
Joined: Sat Apr 02, 2016 4:00 am

Re: SheepShaver for Linux

Post by Schala »

Is the SDL video/audio still a problem with SS on Linux?
User avatar
Wozinator
Space Cadet
Posts: 2
Joined: Mon Oct 16, 2017 10:06 pm
Location: Iowa

Re: SheepShaver for Linux

Post by Wozinator »

First, I want to praise the developers and anyone who has contributed to SheepShaver. It's totally awesome and works nearly perfect on x86_64 Linux Mint.

But there is one more thing, ;) I cannot get it to go online at all. It totally crashes when slirp was selected before I booted SheepShaver when I try to access any network functionality. However, when eth0 was selected before I booted SheepShaver, it does NOT crash. But it still can't get online. I get a weird 169.x.x.x IP address.

I've searched all over for an answer, but I can't find it. Can anyone here help me get online? I've downloaded sheep_net.ko, and I've sudo modprobed it. However, it doesn't show up under lsmod | grep sheep*.

/dev/sheep_net also does not exist.

What should I do?
os9er
Space Cadet
Posts: 3
Joined: Tue Oct 31, 2017 8:44 pm

Re: SheepShaver for Linux

Post by os9er »

Hi,

For some reason I can't launch any of these SheepShaver builds in Ubuntu 16.04.2 LTS. The error I get in the terminal is "Exec format error." Does anybody know why this is occurring, and/or what to do?

-os9er
User avatar
adespoton
Forum All-Star
Posts: 4208
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: SheepShaver for Linux

Post by adespoton »

Well, exec format error sounds like it's not in the appropriate ELF format. Are you attempting to run a 64-bit binary on the 32-bit version of Xenial?
os9er
Space Cadet
Posts: 3
Joined: Tue Oct 31, 2017 8:44 pm

Re: SheepShaver for Linux

Post by os9er »

Are you attempting to run a 64-bit binary on the 32-bit version of Xenial?
I think the executable is 32-bit. I downloaded it from the post at the beginning of this thread.

I also didn't know that there were separate versions for 32-bit and 64-bit systems.

The aforementioned post says that all the binaries were built on 64-bit OSes, does that matter?
User avatar
adespoton
Forum All-Star
Posts: 4208
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: SheepShaver for Linux

Post by adespoton »

Hmm... 32-bit should work on that config, but "exec format error" says that there's something incompatible in the ELF header format that Xenial can't parse.
os9er
Space Cadet
Posts: 3
Joined: Tue Oct 31, 2017 8:44 pm

Re: SheepShaver for Linux

Post by os9er »

Is there a build that's specifically 32-bit, perhaps, that I should use instead?
jcd
Space Cadet
Posts: 3
Joined: Wed Jun 13, 2018 12:30 am

Re: SheepShaver for Linux

Post by jcd »

SheepShaver_GCC44_SDL_Unix_29-07-2013 is working in Ubuntu 18.04 LTS.

only had to unzip it, then to get the system ready was just:

Code: Select all

sudo apt-get install libsdl1.2-dev
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
And to run:

Code: Select all

sudo ./SheepShaver_44_SDL
Seriously happy that this version of SS runs on the newest version of Ubuntu, I couldn't get 802.11ac drivers working on older versions of Ubuntu.

Cheers :mrgreen:
dipper
Space Cadet
Posts: 4
Joined: Thu Nov 08, 2018 8:41 am

Re: SheepShaver for Linux

Post by dipper »

I've recently compiled and setup up Sheep Shaver on Linux (openSUSE), but I'm running into some issues with getting SS to enter full screen, or to expose more resolutions (16:9, 16:10) as options in Monitors within OS 9. Building from source on Windows or macOS (native-target) doesn't present these issues.

I suspect the issue may be X.org related, since the issue persists across both Gnome and KDE. Forcing full screen using KWin just results in a black screen. Gnome doesn't even give the option to full screen.

It's a real shame since I wanted to contribute more complete documentation regarding SS and to provide pre-packaged builds for Linux hosts (Deb + RPMs), but I can't get it to cooperate enough for me know when I've got it right.

Anyone here familiar enough with SS on Linux hosts to help?
User avatar
adespoton
Forum All-Star
Posts: 4208
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: SheepShaver for Linux

Post by adespoton »

Somewhat related... has anyone attempted to run the SDL2 version on Linux yet? It seems like that's the direction we should be heading at this point, as SDL 1.2 is going to have increasing issues with modern operating systems, while SDL2 is still being actively maintained.
dipper
Space Cadet
Posts: 4
Joined: Thu Nov 08, 2018 8:41 am

Re: SheepShaver for Linux

Post by dipper »

I'l attempt to compile it against SDL2. I'll let you know the results.
dipper
Space Cadet
Posts: 4
Joined: Thu Nov 08, 2018 8:41 am

Re: SheepShaver for Linux

Post by dipper »

Just to make sure we're on the same page, could you link the source for the version you are referring to? There seem to be a few versions floating around the internet, want to make sure I have the right one.
User avatar
adespoton
Forum All-Star
Posts: 4208
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: SheepShaver for Linux

Post by adespoton »

This is probably the best repo to pull from:
https://github.com/kanjitalk755/macemu

He's been focusing on the OS X targets, but also supports SDL2 on 32-bit Linux. Maybe we could even target 64-bit linux with a few tweaks....
rxmd
Space Cadet
Posts: 3
Joined: Tue Jan 15, 2019 10:43 am

Re: SheepShaver for Linux

Post by rxmd »

I use SheepShaver_GCC44_SDL_Unix_29-07-2013.zip (from the first post) on Kubuntu 18.10 x64.

Upon startup, I get a segfault:

Code: Select all

$ ./SheepShaver_44_SDL 
SheepShaver V2.4 by Christian Bauer and Mar"c" Hellwig

(SheepShaver_44_SDL:13924): Gtk-WARNING **: 11:36:57.647: Unable to locate theme engine in module_path: "adwaita",

(SheepShaver_44_SDL:13924): Gtk-WARNING **: 11:36:57.651: Unable to locate theme engine in module_path: "adwaita",
256+0 Datensätze ein
256+0 Datensätze aus
268435456 Bytes (268 MB, 256 MiB) kopiert, 0,137064 s, 2,0 GB/s
Reading ROM file...
WARNING: Cannot open /dev/cdrom (Datei oder Verzeichnis nicht gefunden)
Using SDL/pulse audio output
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne
SIGSEGV
  pc 0x780b172e
  ea 0x40de9200
 r0 00000000   r1 05ff7dba   r2 00000000   r3 06000400
 r4 00002278   r5 fffffffa   r6 00004e75   r7 ffffffe8
 r8 00000000   r9 00000026  r10 0000006a  r11 0040855c
r12 00000000  r13 00000000  r14 000061fc  r15 003ffffe
r16 000c37b8  r17 000013ff  r18 000c2b88  r19 4081787e
r20 05ff7dcc  r21 06000190  r22 06000400  r23 00000000
r24 00001401  r25 00000020  r26 00000000  r27 ffff87b4
r28 00000000  r29 40de9200  r30 40c60000  r31 68fff000
 f0 0,00000   f1 0,00000   f2 0,00000   f3 0,00000
 f4 0,00000   f5 0,00000   f6 0,00000   f7 0,00000
 f8 0,00000   f9 0,00000  f10 0,00000  f11 0,00000
f12 0,00000  f13 0,00000  f14 0,00000  f15 0,00000
f16 0,00000  f17 0,00000  f18 0,00000  f19 0,00000
f20 0,00000  f21 0,00000  f22 0,00000  f23 0,00000
f24 0,00000  f25 0,00000  f26 0,00000  f27 0,00000
f28 0,00000  f29 0,00000  f30 0,00000  f31 0,00000
 lr 40de9200  ctr 00000000   cr 40101c22  xer 00000000
 pc 40de9200 fpscr 00000000
  0x40de91e0:  Speicherzugriffsfehler (Speicherabzug geschrieben)
What is the best place to report such errors? The forum is clearly not the best place and it's a five-year-old build anyway. I guess I'll try to rebuild it myself, but the build instructions seem to be out of date.
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: SheepShaver for Linux

Post by Cat_7 »

Hi,

That is indeed an old build. It seems you don't have SDL 1.2 installed? We do not keep up to date with Linux builds as there are too many distributions to keep track of.

Building your own would be the best solution. If you have specific comments on the build instructions, we are happy to include them in our guide.

Best,
Cat_7
Post Reply