SheepShaver for Linux
Moderators: Cat_7, Ronald P. Regensburg, ClockWise
Re: SheepShaver for Linux
I just compiled on Fedora 29:
git clone https://www.github.com/macemu macemu-master
cd macemu-master/SheepShaver
make links
cd src/Unix
NO_CONFIGURE=1 ./autogen.sh
./configure (OR, if you want SDL video/audio)
./configure --enable-sdl-video --enable-sdl-audio
make
strip SheepShaver
Run SheepShaver as root.
best,
Cat_7
git clone https://www.github.com/macemu macemu-master
cd macemu-master/SheepShaver
make links
cd src/Unix
NO_CONFIGURE=1 ./autogen.sh
./configure (OR, if you want SDL video/audio)
./configure --enable-sdl-video --enable-sdl-audio
make
strip SheepShaver
Run SheepShaver as root.
best,
Cat_7
Re: SheepShaver for Linux
OK, so I just did:Cat_7 wrote:I just compiled on Fedora 29:
git clone https://www.github.com/macemu macemu-master
cd macemu-master/SheepShaver
make links
cd src/Unix
NO_CONFIGURE=1 ./autogen.sh
./configure (OR, if you want SDL video/audio)
./configure --enable-sdl-video --enable-sdl-audio
make
strip SheepShaver
Run SheepShaver as root.
best,
Cat_7
Code: Select all
git clone https://github.com/cebix/macemu
cd macemu/SheepShaver
make links
cd src/Unix
NO_CONFIGURE=1 ./autogen.sh
./configure --enable-sdl-video --enable-sdl-audio
make
strip SheepShaver
Code: Select all
$ sudo ./SheepShaver
SheepShaver V2.4 by Christian Bauer and Mar"c" Hellwig
(SheepShaver:31879): Gtk-WARNING **: 23:09:16.205: Unable to locate theme engine in module_path: "adwaita",
(SheepShaver:31879): Gtk-WARNING **: 23:09:16.210: Unable to locate theme engine in module_path: "adwaita",
Reading ROM file...
WARNING: Cannot open /dev/cdrom (Datei oder Verzeichnis nicht gefunden)
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne
SIGSEGV
pc 0x780c599d
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 000c3958 r17 000013ff r18 000c2d28 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
Code: Select all
$ sudo ./SheepShaver
SheepShaver V2.4 by Christian Bauer and Mar"c" Hellwig
(SheepShaver:2713): Gtk-WARNING **: 23:12:26.581: Unable to locate theme engine in module_path: "adwaita",
(SheepShaver:2713): Gtk-WARNING **: 23:12:26.585: Unable to locate theme engine in module_path: "adwaita",
Reading ROM file...
WARNING: Cannot open /dev/cdrom (Datei oder Verzeichnis nicht gefunden)
WARNING: Cannot open /dev/mixer (Datei oder Verzeichnis nicht gefunden)
WARNING: Cannot open /dev/dsp (Datei oder Verzeichnis nicht gefunden)
The program 'SheepShaver' received an X Window System error.
This probably reflects a bug in the program.
The error was 'XF86DGANoDirectVideoMode'.
(Details: serial 43 error_code 180 request_code 154 minor_code 1)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
- adespoton
- Forum All-Star
- Posts: 4274
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: SheepShaver for Linux
Which SDL libraries do you have installed?
Re: SheepShaver for Linux
1.2.15 and 2.0.8:adespoton wrote:Which SDL libraries do you have installed?
Code: Select all
$ apt list libsdl* --installed
Auflistung... Fertig
libsdl-image1.2/cosmic,now 1.2.12-8 amd64 [Installiert,automatisch]
libsdl1.2-dev/cosmic,now 1.2.15+dfsg2-2 amd64 [installiert]
libsdl1.2debian/cosmic,now 1.2.15+dfsg2-2 amd64 [Installiert,automatisch]
libsdl2-2.0-0/cosmic,now 2.0.8+dfsg1-4ubuntu1 amd64 [Installiert,automatisch]
libsdl2-dev/cosmic,now 2.0.8+dfsg1-4ubuntu1 amd64 [installiert]
Re: SheepShaver for Linux
I've compiled some new Linux builds of both SheepShaver and BasiliskII: https://github.com/vasi/macemu/releases/tag/2019-07-13 . Feel free to test them out, and maybe link them in the top post.
Re: SheepShaver for Linux
Thanks Vasi !
I linked to the builds in the first post.
Best,
Cat_7
I linked to the builds in the first post.
Best,
Cat_7
Re: SheepShaver for Linux
I'm at my wit's end with trying to get networking to work in SheepShaver on Linux Mint. I have the latest build of everything and it works great, except for networking. I'm a bit of a noob when it comes to Linux, so I followed these instructions to the letter:
Download the sheep_net.ko file from the same forum entry and place it in your home folder. Then open a terminal window and execute:
sudo modprobe sheep_net.ko
But all I get is this:
modprobe: FATAL: Module sheep_net.ko not found in directory /lib/modules/5.4.0-58-generic
I tried copying sheep_net.ko to the aforementioned directory but I get a permissions error.
Can anyone help?
Download the sheep_net.ko file from the same forum entry and place it in your home folder. Then open a terminal window and execute:
sudo modprobe sheep_net.ko
But all I get is this:
modprobe: FATAL: Module sheep_net.ko not found in directory /lib/modules/5.4.0-58-generic
I tried copying sheep_net.ko to the aforementioned directory but I get a permissions error.
Can anyone help?
Re: SheepShaver for Linux
Update: I was able to copy sheep_net.ko to the correct directory, but still can't get modprobe to see it:
rykgroff@LinuxMint:~$ sudo cp sheep_net.ko /lib/modules/5.4.0-58-generic
rykgroff@LinuxMint:~$ sudo modprobe sheep_net.ko
modprobe: FATAL: Module sheep_net.ko not found in directory /lib/modules/5.4.0-58-generic
Huh?
rykgroff@LinuxMint:~$ sudo cp sheep_net.ko /lib/modules/5.4.0-58-generic
rykgroff@LinuxMint:~$ sudo modprobe sheep_net.ko
modprobe: FATAL: Module sheep_net.ko not found in directory /lib/modules/5.4.0-58-generic
Huh?
Re: SheepShaver for Linux
Hi,
Is the slirp networking option not working or sufficient for you?
If you downloaded the sheep_net.ko file from our forum, then please be advised it is very old and not compiled on Mint.
Perhaps you should compile your own if you need it.
Best,
Cat_7
Is the slirp networking option not working or sufficient for you?
If you downloaded the sheep_net.ko file from our forum, then please be advised it is very old and not compiled on Mint.
Perhaps you should compile your own if you need it.
Best,
Cat_7
Re: SheepShaver for Linux
Thanks for the quick reply, Cat_7!
Yes, I'm using slirp but am unable to connect to ethernet. I thought that .ko file would help, but I guess I need to learn to compile one specifically for my version of Linux Mint, eh? Now to learn how to compile! This is turning out to be quite the involved hobby, but fun!
Yes, I'm using slirp but am unable to connect to ethernet. I thought that .ko file would help, but I guess I need to learn to compile one specifically for my version of Linux Mint, eh? Now to learn how to compile! This is turning out to be quite the involved hobby, but fun!
Re: SheepShaver for Linux
Hi I'm running linux mint on my Inspiron 3650, can i install please?
-
- Space Cadet
- Posts: 1
- Joined: Mon Nov 29, 2021 3:12 am
Re: SheepShaver for Linux
Is anyone able to compile this on Debian Bullseye ARM64? I'm getting the following error when I try:
I'm following the instructions detailed on here: https://www.emaculation.com/doku.php/co ... r_basilisk
Here is the results of my .configure:
Code: Select all
../kpx_cpu/sheepshaver_glue.cpp:824:2: error: #error "FIXME: You don't have the capability to skip instruction within signal handlers"
824 | #error "FIXME: You don't have the capability to skip instruction within signal handlers"
| ^~~~~
../kpx_cpu/sheepshaver_glue.cpp: In function ‘sigsegv_return_t sigsegv_handler(sigsegv_info_t*)’:
../kpx_cpu/sheepshaver_glue.cpp:832:19: error: ‘pc’ was not declared in this scope
832 | dump_disassembly(pc, 8, 8);
|
Here is the results of my .configure:
Code: Select all
SheepShaver configuration summary:
SDL support ...................... : video audio
SDL major-version ................ : 2
BINCUE support ................... : yes
LIBVHD support ................... : no
FBDev DGA support ................ : no
XFree86 DGA support .............. : no
XFree86 VidMode support .......... : no
Using PowerPC emulator ........... : yes
Enable JIT compiler .............. : no
Enable video on SEGV signals ..... : no
ESD sound support ................ : no
GTK user interface ............... : gtk2
mon debugger support ............. : no
Addressing mode .................. : real
Bad memory access recovery type .. : siginfo
Re: SheepShaver for Linux
Trying to compile on Raspberry Pi 4 on Debian Bullseye 64 bits and getting the same error that was reported above:
Any solutions/patches out there?
Thanks!
Code: Select all
g++ -I../kpx_cpu/include -I../kpx_cpu/src -I../include -I. -I../CrossPlatform -I../slirp -DHAVE_CONFIG_H -D_REENTRANT -DDATADIR=\"/usr/local/share/SheepShaver\" -g -O2 -I/usr/include/SDL2 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -c ../kpx_cpu/sheepshaver_glue.cpp -o obj/sheepshaver_glue.o
../kpx_cpu/sheepshaver_glue.cpp:824:2: error: #error "FIXME: You don't have the capability to skip instruction within signal handlers"
824 | #error "FIXME: You don't have the capability to skip instruction within signal handlers"
| ^~~~~
../kpx_cpu/sheepshaver_glue.cpp: In function ‘sigsegv_return_t sigsegv_handler(sigsegv_info_t*)’:
../kpx_cpu/sheepshaver_glue.cpp:832:19: error: ‘pc’ was not declared in this scope
832 | dump_disassembly(pc, 8, 8);
Thanks!
-
- Apple Corer
- Posts: 239
- Joined: Thu Nov 09, 2017 12:06 pm
Re: SheepShaver for Linux
hey, i am having sound problems with linux sheepshaver. how can i find my audio device in /dev?
ubuntu 22.04 x86_64 appimage
and nobody helped me for like 4 days or so
ubuntu 22.04 x86_64 appimage
and nobody helped me for like 4 days or so
- adespoton
- Forum All-Star
- Posts: 4274
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: SheepShaver for Linux
This might help?
https://sourceforge.net/p/basilisk/disc ... /5da1730a/
TL;DR: Sound problems in BII and SS are likely with SDL and not with the apps themselves. You need to have ALSA or PulseAudio configured to work correctly with SDL; by default, SDL is set up to use ALSA. If you're trying to use /dev/dsp but are using an SDL build of SheepShaver, not an X build, you'll get nothing.
Re: SheepShaver for Linux
sadly libsdl1.2debian-pulseaudio has no installation candidates
and i do not know what is x version and how to get it
and i do not know what is x version and how to get it
Last edited by SuperKyK on Wed Sep 07, 2022 5:53 am, edited 1 time in total.
Re: SheepShaver for Linux
You might have to look for a comparable package for SDL2. SDL1.2 is not supported any more.
Best,
Cat_7
Best,
Cat_7
Re: SheepShaver for Linux
Hello everybody,
my system (Neofetch), with SheepShaver Version 2.5:
Any Idea to solve it?
SheepShaver runs without problems with MAC OS 8.6.
Thanks and regards,
Klaus
my system (Neofetch), with SheepShaver Version 2.5:
Problem: starting SheepShaver with following warningOS: Slackware Linux x86_64
Host: GIGABYTE AORUS 5 MB
Kernel: 5.15.63
Uptime: 1 hour, 32 mins
Packages: 1919 (pkgtool)
Shell: bash 5.1.16
Resolution: 2560x1440
DE: Xfce 4.16
WM: Xfwm4
WM Theme: Default
Theme: Greybird [GTK2], Adwaita
Icons: elementary-xfce-dark [GTK
Terminal: xfce4-terminal
Terminal Font: Monospace 12
CPU: Intel i5-10200H (8) @ 4.100
GPU: NVIDIA GeForce GTX 1650 Ti
GPU: Intel Device 9ba4
Memory: 3394MiB / 31799MiB
Under Slackware is SYSCTL not under /usr/bin, but under /sbin./usr/sbin/sysctl: File or directory not found
Any Idea to solve it?
SheepShaver runs without problems with MAC OS 8.6.
Thanks and regards,
Klaus
Re: SheepShaver for Linux
About the hardcoded sysctl location: My bad. I'll open an issue and get it fixed soon.
Re: SheepShaver for Linux
@Klaus: Removed the sysctl dependency. You can grab a new build.
- cheeseburger
- Space Cadet
- Posts: 2
- Joined: Wed Oct 11, 2023 6:42 am
Re: SheepShaver for Linux
Hi, I am having trouble getting the Sheepshaver appimage to run in Linux Mint 21.2 Cinnamon.
I downloaded it from here https://github.com/Korkman/macemu-appim ... r/releases
I am running the snapshot from 2023-10-11.
The GUI loads fine and I can set everything but when I click Start nothing loads (it just closes the GUI).
The same ROM and hard drive image works with the Windows version.
As a side note, BasiliskII works fine.
I wondered if there is a log or anything that might explain why it doesn't load?
I downloaded it from here https://github.com/Korkman/macemu-appim ... r/releases
I am running the snapshot from 2023-10-11.
The GUI loads fine and I can set everything but when I click Start nothing loads (it just closes the GUI).
The same ROM and hard drive image works with the Windows version.
As a side note, BasiliskII works fine.
I wondered if there is a log or anything that might explain why it doesn't load?
Re: SheepShaver for Linux
Hi, I'm also running Linux Mint 21.2 Cinnamon, and I downloaded the appimage from the same location.
With regards to, "if there is a log or anything", when I run SheepShaver-x86_64.AppImage in the terminal I was noticing an error
If I didn't set then SheepShaver would prompt to set this when starting the emulator, which is fine but then I would still get the cannot allocate memory error. I would get this error even if I set using the terminal before opening SheepShaver.
I found a similar problem mentioned at https://aur.archlinux.org/packages/sheepnet-dkms-git, and when I investigated further it seemed like it might be an issue with the 6.5 kernel.
By choosing a different kernel using Grub, I tried 5.15, then SheepShaver started and would run okay.
I hope this information is helpful to someone. Thanks
With regards to, "if there is a log or anything", when I run SheepShaver-x86_64.AppImage in the terminal I was noticing an error
Code: Select all
ERROR: Cannot map Low Memory Globals: Cannot allocate memory.
Code: Select all
sysctl vm.mmap_min_addr=0
Code: Select all
sysctl vm.mmap_min_addr=0
I found a similar problem mentioned at https://aur.archlinux.org/packages/sheepnet-dkms-git, and when I investigated further it seemed like it might be an issue with the 6.5 kernel.
By choosing a different kernel using Grub, I tried 5.15, then SheepShaver started and would run okay.
I hope this information is helpful to someone. Thanks
- cheeseburger
- Space Cadet
- Posts: 2
- Joined: Wed Oct 11, 2023 6:42 am
Re: SheepShaver for Linux
Thank you salty_82, I tried using an older kernel, 6.10-1025-oem, and it works!