PDA

View Full Version : Unable to install ObjC Foundation framework for Linux/Cygwin




zippyfly
Mar 26, 2008, 10:33 PM
Hi guys, not being able to afford another Mac, I want to use a spare PC laptop to learn non-AppKit Objective-C.

I have had NO luck trying to install the Foundation framework to any of my Linux distros or to a Cygwin install.

ObjC compiles fine under gcc with those environments but I am assuming that I can at least install Foundation classes right? I want to use those objects rather than just the no-frills ObjC stuff.

I downloaded Foundation 0.8.0 from http://ofc.dvoudheusden.net/ but always get errors whenever I try to ./configure or make, etc. the installer on the target platform.

The other thing I thought about doing was just to install GNUSTEP but had no luck doing that either (assuming it installs the Foundation classes also??)

I would love to just get another Mac and be done with it but cannot afford to do so at this moment.

Any help appreciated!



phjo
Mar 27, 2008, 01:59 AM
I switched from linux to macs two years ago and won't look back, but it looks like gnustep is your best bet. Aaron Hillegass gives some directions in his book, but they might be a bit out of date...

My advice would be to install gentoo (this is a bit more involved than other distros, but you learn quite a bit while doing it...)

then follow this howto : http://gentoo-wiki.com/HOWTO_GNUstep
(altough reading it BEFORE installing gentoo might be useful, as you want to build gcc with proper USE flags...)

That being said : I don't own a pc running linux anymore, and didn't try this, so there is no warranty it will work easily on your setup, but if I was so desperate to do objective-c/Fundation (and some appkit too...) without a mac, I would go this route... (Note that configuring a kernel to run flawlessly on some laptops can be a very tedious process, and hardware configuration is probably the main reason I switched to apple macs...)

OR I would look for someone getting rid of some old G3 or G4 based mac running some flavour of osx...

If I had such an old thing in my place, I would gladly give it away to someone needing it...

phjo

zippyfly
Mar 27, 2008, 02:28 AM
OK thanks; sounds quite a challenge to get it sorted out. I thought it might be simpler than that and I was just overlooking something.

I do have a Mac, but I need a portable solution to take with me when I am away from my Mac at home, to practice coding ObjC.

Looks like I might just stick to Mac after all and forget about trying to replicate the coding environment on Linux (as I understand it, the Foundation framework is not entirely replicated anyway on gnustep)....