Login  •  Register


The time is now: Sat May 25, 2013 7:14 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 7 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Thu Mar 22, 2012 12:21 am 
Offline
Student Driver

Joined: Wed Mar 21, 2012 12:35 am
Posts: 17
I downloaded the BasiliskII and SheepShaver source code from CVS and am encountering problems with building SheepShaver. Originally, I tried to use the Xcode project, but I have Xcode 4 installed and it has many incompatibilities with the older project, even with the 10.4 and 10.5 SDKs installed.

Next, I tried to compile using the command line. Using Mac OS 10.6.6 and SDL-1.2.15, I followed the directions at http://www.emaculation.com/doku.php/compiling_sheepshaver_basilisk to compile the SDL source. At the line "./configure --disable-shared --prefix=`pwd`", I received an error that the path needed to be an absolute path, so I put it in the home directory with '~/pwd'. That worked, so I moved on to the SheepShaver source. Everything seemed to go correctly; however, the resulting SheepShaver app does not launch at all.

I'm not sure how much information I need to give about my system, so please let me know if there is something more that would help determine the problem. Thanks very much for any help!


Top
 Profile  
Post a reply  
PostPosted: Thu Mar 22, 2012 6:13 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3128
Location: Sittard, The Netherlands
Hi,

Can you try to start the SheepShaver application from within the bundle? open a terminal and cd into SheepShaver.app/Contents/MacOS/ and execute SheepShaver from there. Does the terminal give you a hint about what might be wrong?

Can you also copy the settings overview from the end of your ./configure step here?

Best,
Cat_7


Top
 Profile  
Post a reply  
PostPosted: Thu Mar 22, 2012 6:37 am 
Offline
Student Driver

Joined: Wed Mar 21, 2012 12:35 am
Posts: 17
This is what the terminal gives from launching the executable inside the bundle:
Code:
<path>/SheepShaver.app/Contents/MacOS/SheepShaver ; exit;
SheepShaver V2.3 by Christian Bauer and Mar"c" Hellwig
Bus error
logout

[Process completed]


And here is the summary from the ./config:
Code:
SheepShaver configuration summary:

SDL support ...................... : video audio
BINCUE support ................... : no
LIBVHD support ................... : no
FBDev DGA support ................ : no
XFree86 DGA support .............. : no
XFree86 VidMode support .......... : no
Using PowerPC emulator ........... : yes
Enable JIT compiler .............. : yes
Enable video on SEGV signals ..... : no
ESD sound support ................ : no
GTK user interface ............... : no
mon debugger support ............. : no
Addressing mode .................. : real
Bad memory access recovery type .. : mach


I noticed something else that may be useful. After running "make", an executable that is 2.1 MB is created. "make SheepShaver_app" creates an app bundle that is 1.7 MB. Does this indicate that something is missing from SheepShaver.app? Unfortunately, neither one launches.


Top
 Profile  
Post a reply  
PostPosted: Thu Mar 22, 2012 7:18 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3128
Location: Sittard, The Netherlands
Hi,

Never saw that error before.

Can you tell us what rom file/boot disk you are using? And can you post your .sheepshaver_prefs file contents?
The app being smaller is due to the "strip" that is done on the executable that is built. Debug info is stripped from it, leading to a smaller size before being bundled.

Best,
Cat_7


Top
 Profile  
Post a reply  
PostPosted: Thu Mar 22, 2012 7:18 pm 
Offline
Student Driver

Joined: Wed Mar 21, 2012 12:35 am
Posts: 17
Here is the preference file:
Code:
disk Mac HD.dsk
cdrom /dev/poll/cdrom
extfs ./Shared
screen win/800/600
windowmodes 0
screenmodes 0
seriala /dev/cu.Bluetooth-Modem
serialb /dev/null
rom ./Mac OS ROM
bootdrive 0
bootdriver 0
ramsize 268435456
frameskip 1
gfxaccel true
nocdrom false
nonet false
nosound false
nogui false
noclipconversion false
ignoresegv true
jit true
jit68k true
keyboardtype 5
ether slirp
keycodes false
keycodefile
mousewheelmode 1
mousewheellines 3
dsp /dev/dsp
mixer /dev/mixer
ignoresegv true
idlewait true

The boot disk is a 1 GB image with Mac OS 8.5.1 installed, and the ROM is from the ROM Update 1.0. I've been moving the working version of SheepShaver out of the directory so that my build can use the relative links, but it still doesn't launch.


Top
 Profile  
Post a reply  
PostPosted: Thu Mar 22, 2012 8:30 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 3612
Location: Amsterdam, Netherlands
In OSX 10.6.8 with XCode 3.2.6 on a 64-bit capable Intel Mac, I followed the instructions as they are now in the wiki for compiling using the command line method.

Compiling SDL, I did not see the error you saw about the path when doing:
Code:
./configure --disable-shared --prefix=`pwd`

SheepShaver configuration summery is identical to yours.

Result is a 64-bit only SheepShaver that runs fine here.


Top
 Profile  
Post a reply  
PostPosted: Thu Mar 22, 2012 11:18 pm 
Offline
Student Driver

Joined: Wed Mar 21, 2012 12:35 am
Posts: 17
The problem seems to be caused entirely by Xcode 4. I tried compiling on another computer with Xcode 3.2.2 and it worked fine. I may just uninstall Xcode 4 and go back to Xcode 3. . .

But the good news is that I seem to be able to get working builds now, so thanks for your help, guys!


Top
 Profile  
Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 7 posts ]


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


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