Siga as etapas descritas no link
Ignore as seções Multilib.
Eu precisei de dois pacotes extras (não mencionados no manual):
sudo apt-get install libltdl-dev libgl1-mesa-dev
Em seguida, volte para um link da versão comum
O projeto Darling é uma camada de emulação de código aberto Darwin / OS X para Linux. Eu baixei o código-fonte com o git e tentei construí-lo com cmake
, mas ele falhou. O documento diz que preciso desses pacotes:
clang 3.1+
GCC 4.6+ (yes, you still need GCC for header files)
libkqueue
libbsd
gnustep-base ("Foundation")
gnustep-gui ("Cocoa")
gnustep-corebase ("CoreFoundation")
libobjc2
libudev
openssl
libasound
libav
libgc
Mas não consegui encontrá-los em apt
ou no Centro de Software. Também cmake
mostrou este resultado:
No build type selected, default to Debug
This is a 64-bit build
Building ObjC ABI 2
You have called ADD_LIBRARY for library Carbon without any source files. This typically indicates a problem with your CMakeLists.txt file
You have called ADD_LIBRARY for library AppKit without any source files. This typically indicates a problem with your CMakeLists.txt file
You have called ADD_LIBRARY for library auto without any source files. This typically indicates a problem with your CMakeLists.txt file
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBGNUSTEPCOREBASE_INCLUDE_DIR
used as include directory in directory /home/mirror/work/darling/darling/src/motool
used as include directory in directory /home/mirror/work/darling/darling/src/util
used as include directory in directory /home/mirror/work/darling/darling/src/libmach-o
used as include directory in directory /home/mirror/work/darling/darling/src/libdyld
used as include directory in directory /home/mirror/work/darling/darling/src/dyld
used as include directory in directory /home/mirror/work/darling/darling/src/dyld
used as include directory in directory /home/mirror/work/darling/darling/src/libSystem
used as include directory in directory /home/mirror/work/darling/darling/src/libltdl
used as include directory in directory /home/mirror/work/darling/darling/src/Cocoa
used as include directory in directory /home/mirror/work/darling/darling/src/libobjcdarwin
used as include directory in directory /home/mirror/work/darling/darling/src/CoreFoundation
used as include directory in directory /home/mirror/work/darling/darling/src/libncurses
used as include directory in directory /home/mirror/work/darling/darling/src/CoreSecurity
used as include directory in directory /home/mirror/work/darling/darling/src/CoreServices
used as include directory in directory /home/mirror/work/darling/darling/src/ExceptionHandling
used as include directory in directory /home/mirror/work/darling/darling/src/IOKit
used as include directory in directory /home/mirror/work/darling/darling/src/Foundation
used as include directory in directory /home/mirror/work/darling/darling/src/Carbon
used as include directory in directory /home/mirror/work/darling/darling/src/CoreVideo
used as include directory in directory /home/mirror/work/darling/darling/src/OpenGL
used as include directory in directory /home/mirror/work/darling/darling/src/thin
used as include directory in directory /home/mirror/work/darling/darling/src/thin
used as include directory in directory /home/mirror/work/darling/darling/src/libstdc++darwin
LIBKQUEUE_INCLUDE_DIR
used as include directory in directory /home/mirror/work/darling/darling/src/motool
used as include directory in directory /home/mirror/work/darling/darling/src/util
used as include directory in directory /home/mirror/work/darling/darling/src/libmach-o
used as include directory in directory /home/mirror/work/darling/darling/src/libdyld
used as include directory in directory /home/mirror/work/darling/darling/src/dyld
used as include directory in directory /home/mirror/work/darling/darling/src/dyld
used as include directory in directory /home/mirror/work/darling/darling/src/libSystem
used as include directory in directory /home/mirror/work/darling/darling/src/libltdl
used as include directory in directory /home/mirror/work/darling/darling/src/Cocoa
used as include directory in directory /home/mirror/work/darling/darling/src/libobjcdarwin
used as include directory in directory /home/mirror/work/darling/darling/src/CoreFoundation
used as include directory in directory /home/mirror/work/darling/darling/src/libncurses
used as include directory in directory /home/mirror/work/darling/darling/src/CoreSecurity
used as include directory in directory /home/mirror/work/darling/darling/src/CoreServices
used as include directory in directory /home/mirror/work/darling/darling/src/ExceptionHandling
used as include directory in directory /home/mirror/work/darling/darling/src/IOKit
used as include directory in directory /home/mirror/work/darling/darling/src/Foundation
used as include directory in directory /home/mirror/work/darling/darling/src/Carbon
used as include directory in directory /home/mirror/work/darling/darling/src/CoreVideo
used as include directory in directory /home/mirror/work/darling/darling/src/OpenGL
used as include directory in directory /home/mirror/work/darling/darling/src/thin
used as include directory in directory /home/mirror/work/darling/darling/src/thin
used as include directory in directory /home/mirror/work/darling/darling/src/libstdc++darwin
LIBOBJC2_INCLUDE_DIR
used as include directory in directory /home/mirror/work/darling/darling/src/motool
used as include directory in directory /home/mirror/work/darling/darling/src/util
used as include directory in directory /home/mirror/work/darling/darling/src/libmach-o
used as include directory in directory /home/mirror/work/darling/darling/src/libdyld
used as include directory in directory /home/mirror/work/darling/darling/src/dyld
used as include directory in directory /home/mirror/work/darling/darling/src/dyld
used as include directory in directory /home/mirror/work/darling/darling/src/libSystem
used as include directory in directory /home/mirror/work/darling/darling/src/libltdl
used as include directory in directory /home/mirror/work/darling/darling/src/Cocoa
used as include directory in directory /home/mirror/work/darling/darling/src/libobjcdarwin
used as include directory in directory /home/mirror/work/darling/darling/src/CoreFoundation
used as include directory in directory /home/mirror/work/darling/darling/src/libncurses
used as include directory in directory /home/mirror/work/darling/darling/src/CoreSecurity
used as include directory in directory /home/mirror/work/darling/darling/src/CoreServices
used as include directory in directory /home/mirror/work/darling/darling/src/ExceptionHandling
used as include directory in directory /home/mirror/work/darling/darling/src/IOKit
used as include directory in directory /home/mirror/work/darling/darling/src/Foundation
used as include directory in directory /home/mirror/work/darling/darling/src/Carbon
used as include directory in directory /home/mirror/work/darling/darling/src/CoreVideo
used as include directory in directory /home/mirror/work/darling/darling/src/OpenGL
used as include directory in directory /home/mirror/work/darling/darling/src/thin
used as include directory in directory /home/mirror/work/darling/darling/src/thin
used as include directory in directory /home/mirror/work/darling/darling/src/libstdc++darwin
Configuring incomplete, errors occurred!
Como posso construir o projeto Darling?
Siga as etapas descritas no link
Ignore as seções Multilib.
Eu precisei de dois pacotes extras (não mencionados no manual):
sudo apt-get install libltdl-dev libgl1-mesa-dev
Em seguida, volte para um link da versão comum
Você pode usar meu PPA para instalar o queridinho. Não se esqueça de adicionar o GNUstep PPA, que inclui pacotes multiarch das bibliotecas GNUstep necessárias, assim você poderá ter o dyld32 e o dyld64.
link