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

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

SheepShaver for Linux

Post by Cat_7 »

Hi,

New builds of SheepShaver and BasiliskII for Linux are now available as appimage packages from https://github.com/Korkman/macemu-appim ... r/releases

Use them with our new guide (in progress) here: https://www.emaculation.com/doku.php/sh ... skii_linux

Best,
Cat_7
Last edited by Cat_7 on Mon Jul 29, 2013 7:26 am, edited 14 times in total.
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

But now for the 1 million dollar question: does it work?
(btw: I also did some work on the wiki)


cat_7
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

It is working, but your build is crashing quite a lot. The older packages I used were stable, but I'm not getting that here. Crashes are very, very frequent.
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

For example, clicking the "Special" menu in my the mac os menu bar brings down the emulator every time.
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Perhaps you should leave the mouse along while Mac OS is starting. I believe that might be an SDL problem. I will try to build some version with the latest SDL later. The version I used now is the standard Ubuntu version.
I also have a version for X, but that doesn't do full-screen and starts at a preset low resolution like all old X versions do. But it is more stable.

Have you had any luck with the sheep_net driver? Can you get it installed following the wiki?

Cat_7
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

I get this message:

chown: changing ownership of `/dev/sheep_net': Operation not permitted
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

An update: Cat, your build is only crashy when I run in a window. In fullscreen mode it seems just fine!
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

It should be "sudo chown username /dev/sheep_net"

Best,
Cat_7
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

Notes:

1. I have to enter "sudo sysctl -w vm.mmap_min_addr=0" upon every reboot of my system. This is the case with either build. Is there anything i can do to make this permanent?

2. On your new build, I don't get the "“Cannot map Low Memory Globals: Operation not permitted.” error message. it just fails to launch.

3. The full-screen mode is more stable than windowed, but the mouse is unresponsive enough to be almost un-useable. It is still smooth in the windowed mode.
Amade
Tinkerer
Posts: 63
Joined: Thu Feb 18, 2010 10:09 pm

Post by Amade »

1. Edit your /etc/sysctl.conf file and add "vm.mmap_min_addr=0" inside
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Does nothing

Post by 24bit »

Hello Cat7,
lots of thanks for your Linux version.
As for me, your release does just nothing on my Suse_Linux64 and EeeBuntu3.0 host systems.
Your old version works fine, but no fullscreen.
What a pity!
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Hi,

Have you got the SDL libraries installed? The older versions don't use these, and (to me) it looks like the libraries were not statically linked even though I set that at compile-time.

Best,
Cat_7
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

SDL 1.2

Post by 24bit »

Hi Cat7,
libSDL-1.2 is installed. Is this the correct package?
The file is libSDL-1.2.so.0.11.2, at usr/lib64.
Bye!
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Yes, that should be OK.

I guess somehow the build process is a bit broken.

Best,
Cat_7
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

Cat_7... I'll replace the builds in the guide with links only to your builds. I think that with both of the builds you provide, and the tip to fix the refresh rate, the old 2006 packages are not necessary anymore.
ShavedSheeper
Space Cadet
Posts: 1
Joined: Sat Oct 16, 2010 12:10 pm

Sheepshaver successfully running on Fedora 12 or Fedora 13?

Post by ShavedSheeper »

Has anyone been able to run sheepshaver successfully under either of these Fedora Core versions?

I have tried all of the fixes suggested (changing sysctl.conf, etc) and it still gets the low memory error. I try to run Sheepshaver from the root-level command line and it also fails.

Rich
afrodeity
Space Cadet
Posts: 4
Joined: Mon Oct 13, 2008 6:18 pm

Post by afrodeity »

Good to see SheepShaver is alive on Linux. Still running the patched SheepShaver V2.3-Pre (Dec 15 2009) by Christian Bauer and Mar"c" Hellwig which seems a lot more stable on Ubuntu Maverick than Lucid. Fired it up tonight to open some old mac format data files and it works like a charm, but I'm sure it will probably crash if I try to run anything more than basic software like MS Word.

Just a question, is this new code, or is the 2006 code simply being repackaged?

Any changelogs or code available via Git?
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Hi,

There is a cvs. You can view it through these links:
http://www.cebix.net/viewcvs/cebix/BasiliskII/src/
http://www.cebix.net/viewcvs/cebix/SheepShaver/src/

And a developer mailing list over here:
https://lists.sourceforge.net/lists/lis ... lisk-devel

Best,
Cat_7
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

I added a note about how to edit the sysctl.conf file that was sent in to me. Might make the guide easier to follow for new users.

Meanwhile, please let me know if there is any value to including a reference to the new linux package that was just posted to the forum.
maverickbna
Space Cadet
Posts: 1
Joined: Sat Feb 26, 2011 5:41 am
Location: Sterling, Virginia USA
Contact:

Post by maverickbna »

Is there any way you could compile this for CentOS 5.5 x86_64? Even a SRPM would be cool to have. I've had trouble in the past compiling SS on Linux.
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Hi,

Building for yet another specific Linux version is a bit troublesome for me, as I already run 5 different 32 linux flavours in VMWare on my Windows machine.

EDIT: a version for CentOS x64 without JIT functionality is available in the top posting.

There are packages for CentOS (also 64 bit) but from the older official source. Perhaps you can see if you can get by with one of them:
http://packages.sw.be/SheepShaver/

Best,
Cat_7
IPalindromeI
Tinkerer
Posts: 83
Joined: Wed Feb 09, 2011 8:39 pm

Post by IPalindromeI »

Here's a build from CVS, built on May 09, 2011. It is a 32-bit Debian package for Ubuntu and Debian. Sometimes I find the CVS builds break a lot, but I do know this build works, and surprisingly good!

http://ompldr.org/vOG1sdg/sheepshaver_2 ... 5_i386.deb (please mirror this!)
notetabs
Space Cadet
Posts: 1
Joined: Wed Nov 16, 2011 6:00 pm

Re: SheepShaver for Linux 03-09-2010 available

Post by notetabs »

I'm using Lubuntu 11.10 x86_64

"SheepShaver_03_09_2010_SDL_static" doesn't launch when executed.

"SheepShaver_03-09_2010_NOSDL" does work.

The "vm.mmap_min_addr =" line is found in "/etc/sysctl.d/10-zeropage.conf".
luxor
Space Cadet
Posts: 6
Joined: Sat Nov 19, 2011 4:43 am

Re: SheepShaver for Linux 03-09-2010 available

Post by luxor »

Hi! How do we run/install the "SheepShaver_03_09_2010_SDL_static" file? Its not a .deb or installer file.
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: SheepShaver for Linux 03-09-2010 available

Post by ClockWise »

It is an executable, so it should just run.

If it doesn't run try the second one linked above:

http://www.open.ou.nl/hsp/downloads/She ... SDL.tar.gz

On my system (Ubuntu 10.10) the build you linked to doesn't launch (not sure why), but the above does.
Post Reply