Hi, I’m trying to build MiniVMac for MacOSX 1.2 Server aka Rhapsody 5.6. I have it installed on a Powerbook G3 PDQ, with an X11 server and managed to run a MiniVMac hosted on a Raspberry-Pi in a X-Session. Here a screenshot :

Work very well, so though it would be nice to have MiniVMac run natively on rhapsody. Note it could run in the blueBox MacOS 8.6 but that would be just running it on a Classic MacOS, when the fun would be to see it run natively on the Rhapsody system…I contacted the MiniVMac author, he gave some leads. Like that the Free/Open/Net BSD ports of MiniVMac use the X Window system. so I think this is the way to go.

here is what I’ve tried so far :I’ve installed GCC 2.7.2.1 on the MacOS Server. then grabbed minivmac160109-3.4.src sources.Prepared some few builds with differents options for try compiling on Rhapsody.I’ve did a FreeBSD for PPC (-t fbpc option in MnvM_b34).did a generic X11 for PPC and Gnu Tools development env (-t xgen -cpu ppc -e bgc)did also a openbsd for PPC (-t obsd -cpu ppc )And tried building these in Rhapsody. No success. FreeBSD for PPC version gives me this error after spitting lots of code lines :

Your build script appears to look for the files /var/tmp/cc000NNN.s, which it isn't finding. Maybe it's a permissions issue?

What happens on a more modern PPC build of Darwin running X11? This might help you isolate things.

That said, it seems to me that your best bet would be an OpenSTEP/NeXTStep PPC target, as that's pretty much the same as Rhapsody. I seem to recall there being such a target at one time on the Gryphel site; http://www.nextcomputers.org/forums/vie ... php?t=2265 seems to agree, but it looks like that might not be currently be working.

Thanks for the help. i've tried doing "make" as root, or even login as root , and it still make the same error.var/tmp folder as root as owner.Funny thing is that all the lines appearing after I do a make are the content of the MINEM68K.S file in the MiniVMac sources. Ends with "my_code_end", then these error "cpp: /var/tmp/cc000659.s: No such file or directorymake: *** [bld/MINEM68K.o] Error 1"...

Didn't know there was a NeXT PPC target for MiniVMac ! Will check for that.

Then tried a -t xgen -no-asm on another rhapsody machine with no other compilers than the Apple OSX server dev tools.Note the X11 server is installed in /Local/Library/Xnext/X11R6.4, with a symlink in /usr/X11R6.4 . So I changed the line ,$(ObjFiles) -L/usr/X11R6/lib -lX11into$(ObjFiles) -L/usr/X11R6.4/lib -lX11

By the way, the closest supported build system options are probably "-t mx11 -no-asm -cl", for Apple X11 for PowerPC, using no assembly, and built with command line tools. For these options the build system thinks the X11 directory is "/usr/X11R6/", so you could replace that in the generated make file with "/usr/X11R6.4/".

Mmmhh... It seems the X11 I have installed is very different from what MiniVMac expects :/I have no "Xlib.h" file in my system, and the X11R.6.4 doesn't have an "include" folder. here is the content of that folder :http://galgot.free.fr/transit/X11R6.4_content.jpganyway, I've tried a "-t mx11 -no-asm -cl" build, changing "X11R6" to "X11R6.4" whenever I found it in the makefile.This is what I get on the machine with only MacOSX Server DevTools intalled :bash-2.02$ makegcc "src/MINEM68K.c" -o "bld/MINEM68K.o" -c -Wall -Wmissing-prototypes -Wno-uninitialized -Wundef -Wstrict-prototypes -mdynamic-no-pic -fpascal-strings -arch ppc -Osgcc: not foundmake: *** [bld/MINEM68K.o] Error 127bash-2.02$

And this is what I get a the other machine on which I've (badly ?) installed GCC:bash-2.02$ makegcc "src/MINEM68K.c" -o "bld/MINEM68K.o" -c -Wall -Wmissing-prototypes -Wno-uninitialized -Wundef -Wstrict-prototypes -mdynamic-no-pic -fpascal-strings -arch ppc -Osgcc: installation problem, cannot exec `cpp-precomp': No such file or directorymake: *** [bld/MINEM68K.o] Error 1bash-2.02$

If there is no "Xlib.h" file, then your system is not set up to compile applications that use X.

By the way, did you try using the mppc standard version of Mini vMac (for Macintosh OS 9 and earlier on PowerPC)? According to Wikipedia, it ought to work on the PowerPC version of Rhapsody, in the Blue Box emulation layer.

Yes, seems if I want to have it running natively on rhapsody i would have to install an X11 from scratch ... The mppc version runs just fine in the BlueBox :

That's good that the mppc version works. Actually, I don't think an X11 port on Rhapsody is really more native than using BlueBox. They are both compatibility layers. And the X11 version probably wouldn't work as well as the mppc version - at least, the X11 implementation in OS X, which presumably descends from the Rhapsody version, seems to lack some things, like proper full screen support and drag and drop.

Truly native would be to use the Cocoa port of Mini vMac (build option -api cco). The Cocoa port is intended to work back to OS X 10.0. I don't know how Rhapsody differs, it might work unchanged, or some work may be needed to get it to compile.