|
From: | pierre rs |
Subject: | GNUstep install on macOS |
Date: | Wed, 21 Apr 2021 00:55:35 -0300 |
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang --version
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
gnumake --versionGNU Make 3.81Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions.There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE.This program built for i386-apple-darwin11.3.0
mkdir -p ~/Downloads/gnustep
cd ~/Downloads/gnustep
git clone https://github.com/gnustep/libs-base.git
git clone https://github.com/gnustep/libs-back.git
git clone https://github.com/gnustep/libs-gui.git
git clone https://github.com/gnustep/tools-make.git
git clone https://github.com/gnustep/tools-scripts.git
./tools-scripts/clang-build
./tools-scripts/compile-all
./tools-scripts/build-darwin
...
======== Build base
(...)
In file included from GCObject.m:31:
In file included from .././common.h:59:
../../Headers/Foundation/NSString.h:974:15: error: 'objc_class' is unavailable
extern struct objc_class _NSConstantStringClassReference;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/runtime.h:55:8: note: 'objc_class' has been explicitly marked unavailable here
struct objc_class {
^
In file included from GCArray.m:27:
In file included from .././common.h:59:
../../Headers/Foundation/NSString.h:974:15: error: 'objc_class' is unavailable
extern struct objc_class _NSConstantStringClassReference;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/runtime.h:55:8: note: 'objc_class' has been explicitly marked unavailable here
struct objc_class {
^
In file included from GSObjCRuntime.m:32:
In file included from .././common.h:59:
../../Headers/Foundation/NSString.h:974:15: error: 'objc_class' is unavailable
extern struct objc_class _NSConstantStringClassReference;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/runtime.h:55:8: note: 'objc_class' has been explicitly marked unavailable here
struct objc_class {
^
1 error generated.
1 error generated.
gnumake[4]: *** [obj/Additions.obj/GCObject.m.o] Error 1
gnumake[4]: *** Waiting for unfinished jobs....
gnumake[4]: *** [obj/Additions.obj/GCArray.m.o] Error 1
In file included from GSObjCRuntime.m:52:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/Protocol.h:39:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/NSObject.h:53:1: error: duplicate interface definition for class 'NSObject'
@interface NSObject <NSObject> {
^
../../Headers/Foundation/NSObject.h:292:12: note: previous definition is here
@interface NSObject <NSObject>
^
2 errors generated.
gnumake[4]: *** [obj/Additions.obj/GSObjCRuntime.m.o] Error 1
gnumake[3]: *** [internal-subproject-all_] Error 2
gnumake[2]: *** [Additions.all.subproject.variables] Error 2
gnumake[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2
(...)
======== Build gui
(...)
aking all in Source ...
/usr/local/opt/GNUstep/System/Library/Makefiles/mkinstalldirs .
mv ../Headers/Additions/GNUstepGUI/config.h .
touch ./config.h
Making all for library libgnustep-gui...
Compiling file Functions.m ...
Compiling file NSAccessibility.m ...
Compiling file NSAccessibilityCustomAction.m ...
Compiling file NSAccessibilityCustomRotor.m ...
/bin/sh: gcc-10: command not found
/bin/sh: gcc-10: command not found
/bin/sh: gcc-10: command not found
/bin/sh: gcc-10: command not found
gnumake[4]: *** [obj/libgnustep-gui.obj/NSAccessibility.m.o] Error 127
gnumake[4]: *** Waiting for unfinished jobs....
gnumake[4]: *** [obj/libgnustep-gui.obj/Functions.m.o] Error 127
gnumake[4]: *** [obj/libgnustep-gui.obj/NSAccessibilityCustomAction.m.o] Error 127
gnumake[4]: *** [obj/libgnustep-gui.obj/NSAccessibilityCustomRotor.m.o] Error 127
gnumake[3]: *** [internal-library-all_] Error 2
gnumake[2]: *** [libgnustep-gui.all.library.variables] Error 2
gnumake[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2
(...)
======== Build back
(...)
configure: error: libXt not found - required for building x11 server
/usr/local/opt/GNUstep/System/Library/Makefiles/common.make:203: back.make: No such file or directory
This is gnustep-make 2.9.0. Type 'gnumake print-gnustep-make-help' for help.
Running in gnustep-make version 2 strict mode.
if [ -x config.status ]; then \
./config.status --recheck && ./config.status; \
else \
./configure; \
fi
checking build system type... x86_64-apple-darwin20.3.0
checking host system type... x86_64-apple-darwin20.3.0
checking target system type... x86_64-apple-darwin20.3.0
configure: WARNING: You are running configure with the compiler (gcc-10) set to a different value from that used by gnustep-make (clang). To a
void conflicts/problems, reconfigure/reinstall gnustep-make to use gcc-10 or run the gnustep-base configure again with your CC environment var
iable set to clang
configure: WARNING: You are running configure with the compiler (g++-10) set to a different value from that used by gnustep-make (clang++). To
avoid conflicts/problems, reconfigure/reinstall gnustep-make to use g++-10 or run the gnustep-base configure again with your CXX environment
variable set to clang++
checking for gcc... gcc-10
checking whether the C compiler works... no
configure: error: in `/Users/pierre/Downloads/gnustep/libs-back':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [back.make] Error 77
Done.
[Prev in Thread] | Current Thread | [Next in Thread] |