TuxPaint (and TuxMath) crash on G3 iMacs
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
Both apps crash in a G3 iMac with an error msg: "dyld: incompatible cpu-subtype" written to console.log.
The same error msg. has been attributed to other programs, because they were compiled specifically for G4+ processors. The solution was to change the cpu-subtype value in the executable from 10 (needs G4+) to 0 (ie works on all PPCs).
Can these programs run on a G3?
Is it possible to recompile the released versions, or provide separate versions, compiled for G3s? Or, do I need to recompile them myself? Thanks!
I've forwarded the bug to Martin Fuhrer, who builds Tux Paint for Mac OS X. (Additionally, I've assigned this bug in the SourceForge to him.) Thanks for the report, and the details!
Several people have reported problems with the latest Tux Paint on pre-Leopard, pre-G4 Macs. Though I compiled Tux Paint against the Tiger (10.4) SDK, it looks like more XCode settings need to be adjusted... somewhere. I'll try to compile and post a new version later this week (currently without Internet on my home computer till Friday), along with some unrelated fixes for localized strings.
Thanks for the quick response!
I'm running these on 10.4.11, so it's not a pre-Tiger issue for me.
Should I also file a separate report for Tux Math? I'm not at my G3 at the moment, but it also crashed on launch, and I'm pretty sure it was giving the same error message on the console.
Martin - any luck building Tux Paint for a G3?
Thanks!
Sorry to bug you all, but I'm only semi-techie. I do curriculum integration for a K-8 school, and find Tux Paint to be just what we need to get the little ones started in computer graphics. No problem downloading to new equipment, but wrestled with the G3 processor/OSX.4.11 bug, whatever it is. (The older machines find their way to the lower grades, of course.) How can I find out when and if it is fixed? Thanks.
Hi folks, just got my Internet connected three days ago. I'm away for the weekend, but will attempt to get a G3 build going right after. Will keep you posted here...
Spent the last two evenings trying to get a g3 compatible build in XCode 3 on my PowerBook G4, but unfortunately not getting very far. In the project settings, I've included ppc970 (G3) under "Valid Architectures", set "Base SDK" to "Mac OS X 10.4" (don't have the 10.3 SDK installed), set "Deployment Target" to "Mac OS X 10.3", and am using gcc 4.0 as the compiler. I've checked that all the .a and .dylib libraries I'm using to build Tux Paint have a cpu-subtype of 0 (using "otool -f mylib.a"). After building the project, all the magic plugins have a cpu-subtype of 0, but the Tux Paint executable still has a cpu-subtype of 10. I've posted a build here in case anyone wants to try:
http://www.rhythmiccanvas.com/temp/tuxpaint-0.9.21-g3test.dmg
but I'm sure this will still crash on G3s.
Probably a straightforward solution would be to build Tux Paint on a G3 machine. Unfortunately G3s won't run any OS beyond 10.4, and the XCode 3 project requires 10.5 or later. XCode 2.4 could be used, but a new project will need to be set up for Tux Paint.
Hi Martin,
Thanks for working on this! I tried the build on my G3, and as expected, it still crashes with the incompatible cpu subtype error.
I'd be up to giving building it on a G3 a try, if I can:
- find a copy of XCode 2.4 (couldn't find a download, but it's probably on my Tiger disks somewhere), and
- a 2.4 XCode project can be built fairly straightforwardly. Is there by chance an old copy under configuration management? I used to be a software developer, but not in a long time, and haven't done development in XCode - just build projects where everything was already in place. It's probably not worth spending a lot of time trying to figure out how to build the project from scratch, unless it's straightforward.
Phillip,
XCode 2.4.1 can be downloaded here (requires a free ADC membership)
https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=19681
I actually tried downloading and installing it on a Tiger partition I keep on an external drive. I was surprised to find that the XCode 3 project I use for Tux Paint loads fine in XCode 2.4.1. I did try building the project but the end result is still a Tux Paint binary that requires a G4+. If you want to try building on your G3, I can send you the Tux Paint project 0.9.21 project I'm currently working from.
Martin,
Thanks for the link to XCode 2.4.1 - I looked in the ADC downloads but couldn't find it for some reason.
Yes, please send me the Tux Paint 0.9.21 XCode project. I'll try building it on a G3/Tiger.
Phillip
Okay, I've posted the project here:
http://www.rhythmiccanvas.com/temp/tuxpaint-0.9.21.zip
The project file is in tuxpaint-0.9.21/macosx. Take a look at the ReadMe.txt for some instructions on installing the required libraries (easiest is probably to download them from the ftp site). Don't hesitate to contact me if you run into problems...
This part went OK:
port install libsdl_pango fribidi
But, I had problems building the fontconfig, glib, and pango libraries:
logs for make install of fontconfig and glib are at:
http://idisk.mac.com/phillipgarrison-Public?view=web
configure for pango produces:
...
configure: error:
Glib 2.17.3 or better is required. The latest version of
Glib is always available from ftp://ftp.gtk.org/.
(i've got Glib 2.22.1)
I don't know what's going on, for any of these errors.
Unless you know what's wrong, would it make sense for you to provide me your /Users/Shared/tuxpaint folder, and I could then do a make clean followed by make install in each appropriate subfolder.
Yeah, I remember manually configuring some of these libs was a bit tricky. I've posted the /Users/Shared/tuxpaint folder here:
http://www.rhythmiccanvas.com/temp/tuxpaint-shared.zip
Hi all - what's the status of this bug now? Thanks!
Current status: I tried to build both TuxPaint and TuxMath on a G3, so that the resulting executable would run on a G3.
However, after a few rounds of assistance from Martin (for TuxPaint, someone else for TuxMath), I was never able to get the libs/etc. configured properly such that I could successfully build either TuxPaint or TuxMath.
The priority for me for getting TuxPaint and TuxMath running on G3's dropped for me, and I wasn't making much progress, so I stopped working on it. I think this needs a more experienced Mac developer (more familiar with build configurations).
If anyone is interested in taking a crack at this, but doesn't have access to a G3, I could potentially make one available via remote login, with the appropriate version of XCode already installed. Or, someone may know how to set the flags and other configuration options correctly to produce a G3-compatible binary - see Martin's post on 2009-09-30 18:52:32 PDT below.
This report is languishing; dropping priority for now. Will close it once 0.9.22 is released, and we can reevaluate CPU/OSX-version support at that time.
Note, just totally randomly stumbled upon this: http://javworld.com/Extreme/BuildingG3CodeOnLeopard.html
Ping Martin regarding G3 compatibility. :)
Ping
I'm guessing, 9 years later, that G3s aren't going to be supported by Tux Paint these days. Closing this old ticket.