Login  •  Register


The time is now: Wed Aug 12, 2020 12:34 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 2 [ 26 posts ]    Go to page 1, 2  Next
Print view Previous topic  |  Next topic
Author Message
PostPosted: Fri May 01, 2020 12:38 pm 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
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 !


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri May 01, 2020 1:12 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 6088
Location: Amsterdam, Netherlands
Did you try downloads referenced in this forum topic?
viewtopic.php?p=35420#35420


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri May 01, 2020 1:47 pm 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
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 !


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat May 02, 2020 9:09 am 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
No one to help me ?

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

Greetings !


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat May 02, 2020 9:22 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4921
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat May 02, 2020 9:34 am 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
Cat_7 wrote:
On Linux your best bet is to compile the program yourself.


OK thanks & can you tell me how to compile ?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat May 02, 2020 12:43 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 6088
Location: Amsterdam, Netherlands
Kanjitalk755 source and build instructions here: https://github.com/kanjitalk755/macemu


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat May 02, 2020 5:20 pm 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
Hello thank you for your help !

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

Code:
cd macemu/SheepShaver/src/Unix
./autogen.sh
make


I have this error message:

Quote:
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...


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat May 02, 2020 11:12 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 1210
Use your distro's package manager and install autoconf, automake, and libtool. Then try again.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun May 03, 2020 7:04 am 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 6088
Location: Amsterdam, Netherlands
And install sdl2 (version 2.0.10 or later).


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun May 03, 2020 11:44 am 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
Quote:
Use your distro's package manager and install autoconf, automake, and libtool. Then try again.


Ok thanks i will try :)

Quote:
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 !


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun May 03, 2020 12:34 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 6088
Location: Amsterdam, Netherlands
Sebiohazard wrote:
Quote:
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.
 


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun May 03, 2020 9:43 pm 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
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:
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 !


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon May 04, 2020 2:42 am 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 1210
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:
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:
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:
./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.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon May 04, 2020 10:31 pm 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
@emendelson:

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

Code:
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:
./SheepShaver


Sheepshaver launches (GUI) I configure the path of the ROM & the path of my HDD + ISO I click on start & nothing... Sheepshaver disappears...

Quote:
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 !


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon May 04, 2020 11:15 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 1210
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!


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue May 05, 2020 12:41 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 1210
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:
sudo sysctl vm.mmap_min_addr=0


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue May 05, 2020 2:39 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 3029
Location: Emaculation.com
Mint is Debian based, so sudo should work just fine.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue May 05, 2020 4:36 pm 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
@emendelson

Hello I went here & I found these commands:

Code:
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:
sudo sysctl vm.mmap_min_addr=0


Greetings !


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue May 05, 2020 4:43 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 1210
The settings that you found are for SELinux (Security-Enhanced Linux). You are not using SELinux, so those commands will not have any effect.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue May 05, 2020 4:48 pm 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
Ahhhhhhhhhhhh sorry I'm completely new to Linux... I'm using Linux Mint 19.3 is this command going to work ?

Code:
sudo sysctl vm.mmap_min_addr=0


Greeteings !


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue May 05, 2020 4:56 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 1210
Please re-read the message in which I offered that command.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue May 05, 2020 9:34 pm 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
Yes !!!

Sheepshaver works with the command:

Code:
sudo sysctl vm.mmap_min_addr=0


It's very slow compared to the Windows version...

Thanks a lot for your help :)

Greeting !


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed May 06, 2020 12:31 pm 
Offline
Tinkerer

Joined: Tue Aug 27, 2019 2:15 pm
Posts: 57
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 !


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed May 06, 2020 1:58 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 6088
Location: Amsterdam, Netherlands
In your first post you wrote:
Quote:
I downloaded several versions here but none of them work...
Apparently you missed this one. Good to hear that this build works for you.


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 2 [ 26 posts ]    Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group