Dear all, after updating my Intel Mac to Sonoma 14.6.1 Xcode 15.4 xcode-select version 2408 AppleClang 15.0.0 I have problems reinstalling deal.II.
I tried the https://github.com/dealii/dealii/releases/download/v9.5.2/dealii-9.5.2-sonoma-intel.dmg package ending up in cmake errors (attached) and discussed also here (https://groups.google.com/g/dealii/c/2hQ_pqbejgM). I tried ccmake to set the correct compiler which leads to a successful run of cmake, but make then leads to linker errors. I also painfully managed to install the current dealii master version directly via spack, essentially leading to the same cmake problems. I also tried using candi (as it recently worked successfully on a Mac with M3 processor) - also without success. I highly appreciate any tips, tricks and magic to install a recent version of deal.II. Thank you! Best, Alex -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/6c10fcf2-9d5b-463d-ae0f-1efc5e86bda6n%40googlegroups.com.
{\rtf1\ansi\ansicpg1252\cocoartf2761 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;} {\colortbl;\red255\green255\blue255;\red0\green0\blue0;\red180\green36\blue25;} {\*\expandedcolortbl;;\csgray\c0;\cssrgb\c76411\c21697\c12527;} \paperw11900\paperh16840\margl1440\margr1440\vieww20180\viewh16960\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0 \f0\fs22 \cf2 \CocoaLigature0 -- Using the deal.II-9.5.2 installation found at /Applications/deal.II.app/Contents/Resources/Libraries\ -- Include macro /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_add_test.cmake\ -- Include macro /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_initialize_cached_variables.cmake\ -- Include macro /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_invoke_autopilot.cmake\ -- Include macro /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_pickup_tests.cmake\ -- Include macro /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_query_git_information.cmake\ -- Include macro /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_setup_target.cmake\ -- Include macro /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_shell_escape_option_groups.cmake\ -- Include macro /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_target_compile_flags.cmake\ -- Include macro /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_target_link_flags.cmake\ -- The C compiler identification is AppleClang 15.0.0.15000309\ -- The CXX compiler identification is unknown\ -- Detecting C compiler ABI info\ -- Detecting C compiler ABI info - done\ -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped\ -- Detecting C compile features\ -- Detecting C compile features - done\ -- Detecting CXX compiler ABI info\ -- Detecting CXX compiler ABI info - failed\ -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++\ -- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++ - broken\ \cf3 CMake Error at /Applications/deal.II.app/Contents/Resources/spack/opt/cmake-3.27.9-grlp/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:60 (message):\cf2 \ \cf3 The C++ compiler\cf2 \ \ \cf3 "/Applications/deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++"\cf2 \ \ \cf3 is not able to compile a simple test program.\cf2 \ \ \cf3 It fails with the following output:\cf2 \ \ \cf3 Change Dir: '/Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-1/CMakeFiles/CMakeScratch/TryCompile-GqMixD'\cf2 \ \cf3 \cf2 \ \cf3 Run Build Command(s): /Applications/deal.II.app/Contents/Resources/spack/opt/cmake-3.27.9-grlp/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_0560f/fast\cf2 \ \cf3 /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_0560f.dir/build.make CMakeFiles/cmTC_0560f.dir/build\cf2 \ \cf3 Building CXX object CMakeFiles/cmTC_0560f.dir/testCXXCompiler.cxx.o\cf2 \ \cf3 /Applications/deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++ -o CMakeFiles/cmTC_0560f.dir/testCXXCompiler.cxx.o -c /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-1/CMakeFiles/CMakeScratch/TryCompile-GqMixD/testCXXCompiler.cxx\cf2 \ \cf3 [spack cc] ERROR: Spack compiler must be run from Spack! Input 'SPACK_ENV_PATH' is missing.\cf2 \ \cf3 make[1]: *** [CMakeFiles/cmTC_0560f.dir/testCXXCompiler.cxx.o] Error 1\cf2 \ \cf3 make: *** [cmTC_0560f/fast] Error 2\cf2 \ \cf3 \cf2 \ \cf3 \cf2 \ \ \cf3 \cf2 \ \ \cf3 CMake will not be able to correctly generate this project.\cf2 \ \cf3 Call Stack (most recent call first):\cf2 \ \cf3 CMakeLists.txt:38 (project)\cf2 \ \ \ -- Configuring incomplete, errors occurred!\ }