首页
随机
最近更改
特殊页面
社群首页
参数设置
关于WHY42
免责声明
WHY42
搜索
用户菜单
登录
欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。
查看“︁Build LibreOffice”︁的源代码
←
Build LibreOffice
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
Prepare dependencies:<ref>https://wiki.documentfoundation.org/Development/lode</ref> <syntaxhighlight lang="bash"> git clone https://gerrit.libreoffice.org/lode cd lode ./setup ~/.zshrc export LODE_HOME=$HOME/lode export PATH="${LODE_HOME}/opt/bin:${PATH}" </syntaxhighlight> Build core:<ref>https://wiki.documentfoundation.org/Development/GenericBuildingHints</ref> <syntaxhighlight lang="bash"> git clone https://github.com/LibreOffice/core.git cd core ./autogen.sh make check </syntaxhighlight> Error: <syntaxhighlight lang="bash"> 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. </syntaxhighlight> Workaround: <syntaxhighlight lang="bash"> sudo mv /usr/local/bin/pkg-config /usr/local/bin/pkg-config.bak ./autogen.sh make check </syntaxhighlight> Error: Same error here:<ref>https://www.spinics.net/lists/libreoffice/msg07834.html</ref> <syntaxhighlight lang="bash"> make check /Applications/Xcode.app/Contents/Developer/usr/bin/make -j 8 -rs -f /Users/riguz/Documents/apps/office/core/Makefile.gbuild unitcheck slowcheck subsequentcheck check /Users/riguz/Documents/apps/office/core/solenv/gbuild/LinkTarget.mk:931: *** extraneous `endef'. Stop. make: *** [build] Error 2 </syntaxhighlight>
返回
Build LibreOffice
。