Thanks for the quick response, David. You we're right, that was the issue. I made the mistake of referencing the old script but forgetting that it's very old. I still haven't got the install completed properly, but I'm still woking on it.
Regarding the GNUstep install process, is there a reason not to use the scripts/compile-all script included with the GNUstep trunk? I think I'll try out ./compile-all / "--with-ffi-include=/usr/include/x86_64-linux-gnu/ --with-ffi-library=/usr/lib/libffi.so" Seem reasonable? I'll let you guys know how it works and how this autoinstaller script comes along. Thanks Ryan On Feb 12, 2011, at 12:06 PM, David Chisnall wrote: > On 12 Feb 2011, at 18:03, Ryan Harter wrote: > >> I'm getting a bunch of errors while compiling Etoile. Here's where I've >> gotten so far. >> >> Initially I got the following error while building UnitKit: >> >>> Build Project: UnitKit >>> >>> Making all for framework UnitKit... >>> Compiling file UKRunner.m ... >>> In file included from UKRunner.m:39: >>> /Local/Library/Headers/ObjectiveC2/runtime.h:39: error: redefinition of >>> typedef ‘Ivar’ >>> /Local/Library/Headers/ObjectiveC2/runtime.h:39: note: previous declaration >>> of ‘Ivar’ was here >>> /Local/Library/Headers/ObjectiveC2/runtime.h:80: error: redefinition of >>> typedef ‘objc_property_t’ >>> /Local/Library/Headers/ObjectiveC2/runtime.h:80: note: previous declaration >>> of ‘objc_property_t’ was here >>> make[5]: *** [obj/UnitKit.obj/UKRunner.m.o] Error 1 >>> make[4]: *** [internal-framework-run-compile-submake] Error 2 >>> make[3]: *** [UnitKit.all.framework.variables] Error 2 >>> make[2]: *** [internal-all] Error 2 >>> make[1]: *** [internal-all] Error 2 >>> make: *** [internal-all] Error 2 >> >> To fix that I just change the call on UKRunner.m:39 from #include to #import >> since ObjectiveC2/runtime.h doesn't have an #ifndef >> __OBJECTIVE_C_2_RUNTIME__ clause. > > If you have ObjectiveC2.framework installed, then you are not using the > GNUstep runtime. Please install this and reconfigure GNUstep to use it. > Étoilé does not work with the GCC runtime. > > I think this is explained in the INSTALL document. > >>> Compiling file NSBlocks.m ... >>> NSBlocks.m:2: fatal error: objc/blocks_runtime.h: No such file or directory >>> compilation terminated. >>> make[5]: *** [obj/libEtoileFoundation.obj/NSBlocks.m.o] Error 1 >>> make[4]: *** [internal-subproject-all_] Error 2 >>> make[3]: *** [libEtoileFoundation.all.subproject.variables] Error 2 >>> make[2]: *** [EtoileFoundation.all.framework.variables] Error 2 >>> make[1]: *** [internal-all] Error 2 >>> make: *** [internal-all] Error 2 >> >> This is all using gnustep-make-2.4.0, base-1.21.1, gui-0.19.0, and >> back-0.19.0. I believe all of those are the latest ones, at least on the >> gnustep ftp site. > > The GCC runtime does not have blocks support, and therefore lacks this header. > > David > > -- Sent from my Difference Engine > _______________________________________________ > Etoile-dev mailing list > [email protected] > https://mail.gna.org/listinfo/etoile-dev _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
