Changing macosx_deployment_target is not required if you're building just for yourself, just don't add that line. Most of the patches are required because of macosx_deployment_target (it is stated so in the instructions), so if you don't set it, everything should work without any patches.
On Thu, 8 Oct 2020 14:12:45 +0200 Giuseppe Pagnoni <gpagn...@gmail.com> wrote: > Thank you very much, really appreciate it! A couple of questions > though, if I may. > > 1) In the linked instructions it says to add some lines to the > macports.conf file, among which is the following: > > macosx_deployment_target 10.7 > > Should I change this to 10.15 or it doesn't matter? (and, if it > doesn't matter for darktable, can it affect the building of other > ports in general?) > > 2) There seems to be quite a bit of patches and modifications done to > the macports system, but this is not necessary for the darktable port > in macports. Why is this different? > > thanks again > giuseppe > > On Thu, Oct 8, 2020 at 1:26 PM parafin <para...@paraf.in> wrote: > > > > https://github.com/darktable-org/darktable/blob/master/packaging/macosx/BUILD.txt > > > > > > On Thu, 8 Oct 2020 13:10:53 +0200 > > Giuseppe Pagnoni <gpagn...@gmail.com> wrote: > > > > > Hi, > > > > > > I am trying to build the latest release version of darktable from > > > source on a macbook pro 13" (latest) with the latest versions of the > > > OS and Xcode tools, following the instructions on the darktable web > > > page. I am doing this because I would like to test if building > > > specifically for this laptop makes darktable more speedy and less > > > prone to crash compared to the mac os x binaries downloaded from the > > > website. I normally use macports, but the darktable port there is not > > > the latest version. > > > > > > When I run the command: > > > > > > ./build.sh --prefix /opt/darktable --build-type Release --install --sudo > > > > > > this is the output I get: > > > > > > ----------- > > > Darktable build script > > > Building directory: /Users/gp/darktable/build > > > Installation prefix: /opt/darktable > > > Build type: Release > > > Build generator: Unix Makefiles > > > Build tasks: 4 > > > CMake Error at > > > /opt/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 > > > (message): > > > > > > Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) > > > (Required is at least version "4.5") > > > > > > Call Stack (most recent call first): > > > > > > > > > /opt/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 > > > (_FPHSA_FAILURE_MESSAGE) > > > > > > /opt/local/share/cmake-3.18/Modules/FindOpenMP.cmake:529 > > > (find_package_handle_standard_args) > > > > > > CMakeLists.txt:76 (find_package) > > > > > > -- Configuring incomplete, errors occurred! > > > > > > See also "/Users/gp/darktable/build/CMakeFiles/CMakeOutput.log". > > > ----- > > > > > > and the first few lines of the CMakeOutput.log are the following: > > > > > > The system is: Darwin - 19.6.0 - x86_64 > > > Compiling the CXX compiler identification source file > > > "CMakeCXXCompilerId.cpp" succeeded. > > > Compiler: > > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ > > > Build flags: > > > Id flags: > > > The output was: > > > 0 > > > > > > Compilation of the CXX compiler identification source > > > "CMakeCXXCompilerId.cpp" produced "a.out" > > > The CXX compiler identification is AppleClang, found in > > > "/Users/gp/darktable/build/CMakeFiles/3.18.4/CompilerIdCXX/a.out" > > > Compiling the C compiler identification source file > > > "CMakeCCompilerId.c" succeeded. > > > Compiler: > > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc > > > Build flags: > > > Id flags: > > > The output was: > > > 0 > > > > > > Compilation of the C compiler identification source > > > "CMakeCCompilerId.c" produced "a.out" > > > The C compiler identification is AppleClang, found in > > > "/Users/gp/darktable/build/CMakeFiles/3.18.4/CompilerIdC/a.out" > > > > > > > > > > > > > > > Any suggestions? > > > > > > thanks in advance > > > giuseppe > > > > > > > > > -- > > > Giuseppe Pagnoni > > > Dip. Scienze Biomediche, Metaboliche e Neuroscienze > > > Sezione Fisiologia e Neuroscienze > > > Univ. di Modena e Reggio Emilia > > > Via Campi 287 > > > I-41125 Modena, Italy > > > Tel: +39-059-205-5742 > > > Fax: +39-059-205-5363 > > > ____________________________________________________________________________ > > > darktable user mailing list > > > to unsubscribe send a mail to > > > darktable-user+unsubscr...@lists.darktable.org > > > > > > > > ____________________________________________________________________________ > > darktable user mailing list > > to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org > > > > > -- > Giuseppe Pagnoni > Dip. Scienze Biomediche, Metaboliche e Neuroscienze > Sezione Fisiologia e Neuroscienze > Univ. di Modena e Reggio Emilia > Via Campi 287 > I-41125 Modena, Italy > Tel: +39-059-205-5742 > Fax: +39-059-205-5363 > ____________________________________________________________________________ > darktable user mailing list > to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org > ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org