|
From: | Frank Rehwinkel |
Subject: | Building core/make, core/base and objc2 for OS X |
Date: | Fri, 24 May 2013 14:48:10 -0400 |
#!/bin/bash## configure, make and install for gnustep's core/make and core/base.PREFIX=/Users/frank/local/GNUstep# export for use by the GNUstep.sh belowexport GNUSTEP_MAKEFILES=${PREFIX}/Library/GNUstep/Makefilesexport CC=/Users/frank/local/bin/clangexport CXX=/Users/frank/local/bin/clang(cd core/make && \CC=/Users/frank/local/bin/clang \CXX=/Users/frank/local/bin/clang \./configure && \CC=/Users/frank/local/bin/clang \CXX=/Users/frank/local/bin/clang \make && make install DESTDIR=${PREFIX}). ${GNUSTEP_MAKEFILES}/GNUstep.sh(cd core/base && \./configure --prefix=${PREFIX} \--with-default-config=${PREFIX}/Library/GNUstep/GNUstep.conf \--with-installation-domain=LOCAL \--disable-tls --disable-icu && \make && \ ### Here is the step that fails.make install)
From the directory above core/base, 'find' actually finds three copies of the header file because I've also copied the objc2 source to a sibling directory in preparation for its build and install. I'm a bit confused about the order that core/base and objc2 should be built and installed because I've seen instructions about building and installing objc2 first but there is at least one unit test case for objc2 that won't build without the Foundation framework so for that I think I need to build and install core/base first.This is gnustep-make 2.6.4. Type 'make print-gnustep-make-help' for help.Making all in Source ...Making all in Additions ...rm -f GNUstepBaseln -s ../../Headers/GNUstepBase GNUstepBaseMaking all for subproject Additions...Compiling file GSObjCRuntime.m ...In file included from GSObjCRuntime.m:32:In file included from .././common.h:31:.././GNUstepBase/GSConfig.h:403:13: warning: '__weak' macro redefined# define __weak^<built-in>:165:9: note: previous definition is here#define __weak __attribute__((objc_gc(weak)))^In file included from GSObjCRuntime.m:32:In file included from .././common.h:32:./GNUstepBase/GSVersionMacros.h:319:16: fatal error: 'objc/blocks_runtime.h' file not found# include <objc/blocks_runtime.h>^1 warning and 1 error generated.
Thank you,$ find . -name blocks_runtime.h./1.7-RC1/blocks_runtime.h./1.7-RC1/objc/blocks_runtime.h./core/base/Headers/ObjectiveC2/objc/blocks_runtime.h
[Prev in Thread] | Current Thread | [Next in Thread] |