Cmake GUI 'Permission denied' errors, while building caffe.

Hello could you please help with my errors? I have been at this for days trying to install caffe, first via make, now via cmake gui. I do not understand what is the matter with permissions: I have gone to the files about which the complaint is and they are all ‘read and write’. I have now added ‘read and write’ across the board for all users/admin etc, but still same issue. I am on MacBook Pro, Catalina. Trying to install with Anaconda and CPU only. Here is my output from cmake gui:

Error in configuration process, project files may be invalid.

The C compiler identification is AppleClang 11.0.3.11030032
The CXX compiler identification is AppleClang 11.0.3.11030032
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/clang - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
Detecting CXX compile features
Detecting CXX compile features - done
CMake Warning (dev) at cmake/Misc.cmake:32 (set):
  implicitly converting 'BOOLEAN' to 'STRING' type.
Call Stack (most recent call first):
  CMakeLists.txt:25 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

Found Boost: /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.54") found components: system thread filesystem 
Found gflags  (include: /usr/local/include, library: /usr/local/lib/libgflags.dylib)
Found glog    (include: /usr/local/include, library: /usr/local/lib/libglog.dylib)
Found PROTOBUF Compiler: /usr/local/bin/protoc
error: unable to open output file 'cmake_hdf5_test.o': 'Read-only file system'
1 error generated.

HDF5 C compiler wrapper is unable to compile a minimal HDF5 program.
error: unable to open output file 'cmake_hdf5_test.o': 'Read-only file system'
1 error generated.

HDF5 CXX compiler wrapper is unable to compile a minimal HDF5 program.
Found lmdb    (include: /usr/local/include, library: /usr/local/lib/liblmdb.dylib)
Found LevelDB (include: /usr/local/include, library: /usr/local/lib/libleveldb.dylib)
Found Snappy  (include: /usr/local/include, library: /usr/local/lib/libsnappy.dylib)
-- CUDA is disabled. Building without it...
OpenCV found (/usr/local/Cellar/opencv/4.3.0_5/lib/cmake/opencv4)
Found vecLib as part of Accelerate.framework
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.18/Modules/FindPythonLibs.cmake:262 (file):
  file STRINGS file
  "/Users/bondgirl007/caffe/Users/bondgirl007/opt/anaconda3/envs/yoga/include/python3.8/patchlevel.h"
  cannot be read.
Call Stack (most recent call first):
  cmake/Dependencies.cmake:151 (find_package)
  CMakeLists.txt:49 (include)


Could NOT find PythonLibs: Found unsuitable version "", but required is at least "3.0" (found Users/bondgirl007/opt/anaconda3/envs/yoga/lib/libpython3.8.dylib)
NumPy ver. 1.19.0 found (include: /Users/bondgirl007/opt/anaconda3/envs/yoga/lib/python3.8/site-packages/numpy/core/include)
CMake Error at cmake/Dependencies.cmake:156 (STRING):
  STRING sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:49 (include)


Could NOT find Boost: missing: python-py (found /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.46"))
CMake Warning at /usr/local/lib/cmake/boost_python-1.72.0/libboost_python-variant-shared-py3.8.cmake:74 (message):
  Target Boost::python already has an imported location
  '/usr/local/lib/libboost_python38-mt.dylib', which will be overwritten with
  '/usr/local/lib/libboost_python38.dylib'
Call Stack (most recent call first):
  /usr/local/lib/cmake/boost_python-1.72.0/boost_python-config.cmake:57 (include)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:119 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:184 (boost_find_component)
  /Applications/CMake.app/Contents/share/cmake-3.18/Modules/FindBoost.cmake:448 (find_package)
  cmake/Dependencies.cmake:173 (find_package)
  CMakeLists.txt:49 (include)


Found Boost: /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.46") found components: python 
CMake Warning at /Applications/CMake.app/Contents/share/cmake-3.18/Modules/FindDoxygen.cmake:447 (message):
  Unable to determine doxygen version: Permission denied
Call Stack (most recent call first):
  /Applications/CMake.app/Contents/share/cmake-3.18/Modules/FindDoxygen.cmake:610 (_Doxygen_find_doxygen)
  cmake/Dependencies.cmake:210 (find_package)
  CMakeLists.txt:49 (include)


CMake Error at /Applications/CMake.app/Contents/share/cmake-3.18/Modules/FindDoxygen.cmake:689 (message):
  Unable to generate Doxyfile template: Permission denied
Call Stack (most recent call first):
  cmake/Dependencies.cmake:210 (find_package)
  CMakeLists.txt:49 (include)


Configuring incomplete, errors occurred!
See also "/Users/bondgirl007/caffe/build/CMakeFiles/CMakeOutput.log".

launch CMake Gui as admin. Or change installation location.

It looks like the build tree is on a .dmg view or something. A different build directory in a writable location would be better.