Build LibreOffice:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第16行: | 第16行: | ||
cd core | cd core | ||
./autogen.sh | ./autogen.sh | ||
make check | |||
</syntaxhighlight> | </syntaxhighlight> | ||
第27行: | 第28行: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo mv /usr/local/bin/pkg-config /usr/local/bin/pkg-config.bak | sudo mv /usr/local/bin/pkg-config /usr/local/bin/pkg-config.bak | ||
./autogen.sh | |||
</syntaxhighlight> | </syntaxhighlight> |
2024年6月25日 (二) 10:22的版本
Prepare dependencies:[1]
git clone https://gerrit.libreoffice.org/lode
cd lode
./setup
~/.zshrc
export LODE_HOME=$HOME/lode
export PATH="${LODE_HOME}/opt/bin:${PATH}"
Build core:[2]
git clone https://github.com/LibreOffice/core.git
cd core
./autogen.sh
make check
Error:
checking for bogus pkg-config... configure: error: yes, from unknown origin. This *will* break the build. Please modify your PATH variable so that /usr/local/bin/pkg-config is no longer found by configure scripts.
Error running configure at ./autogen.sh line 321.
Workaround:
sudo mv /usr/local/bin/pkg-config /usr/local/bin/pkg-config.bak
./autogen.sh