Building LibreOffice Source on MacOS


I am attempting to build the source code on MacOS. When following the steps outlined here ( I get to “./setup” and get the below error.

MacOS version: MacOS Big Sur 11.1
Xcode 12.3
Java SE 15

[ 98%] Built target _doxygen
Scanning dependencies of target doxygen
make[2]: *** No rule to make target '/usr/lib/libiconv.dylib', needed by 'bin/doxygen'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 98%] Building CXX object src/CMakeFiles/doxygen.dir/main.cpp.o
CMakeFiles/Makefile2:351: recipe for target 'src/CMakeFiles/doxygen.dir/all' failed
make[1]: *** [src/CMakeFiles/doxygen.dir/all] Error 2
Makefile:181: recipe for target 'all' failed
make: *** [all] Error 2
error making doxygen

(reformatted by ajlittoz for clarity)

I was able to get this working by running ./setup --no-doxygen.


I ran ./setup after following the same steps above and get the following error:

Cloning into bare repository ‘core.git’…
remote: Counting objects: 2616407, done
remote: Finding sources: 100% (2615246/2615246)
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Error Cloning mirror /Users/PATH/TO//LO_src/lode/mirrors/core.git