【问题描述】
鲲鹏环境下编译libreoffice-7.2.2.2报“missing /home/libreoffice-7.2.2.2/translstions/source/zh-CN/oox/messages.po”问题,详细报错如下:
missing /home/libreoffice-7.2.2.2/translstions/source/zh-CN/oox/messages.po
missing /home/libreoffice-7.2.2.2/translstions/source/zh-CN/oox/messages.po
make[1]: *** No rule to make target '/home/libreoffice-7.2.2.2/translstions/source/zh-CN/readlicense_oo/docs.po', needed by '/home/libreoffice-7.2.2.2/workdir/CustomTarget/readlicense_oo/readme/readme.xrm'. Stop.

【解决方法】
1、执行 ls /home/libreoffice-7.2.2.2/translstions 确认文件夹是否存在

2、拷贝libreoffice-translations-7.2.2.2源码路径的translations文件夹到/home/libreoffice-7.2.2.2/路径下
1)当在autogen.input文件中指定“--with-external-tar”选项时,执行如下命令拷贝translations文件夹到/home/libreoffice-7.2.2.2/路径下
cp -r ./src/libreoffice-translations-7.2.2.2/translations translations

2) 当未在autogen.input文件中指定“--with-external-tar”选项时(编译过程下载依赖包情况),执行如下命令拷贝translations文件夹到/home/libreoffice-7.2.2.2/路径下
cp -r ./external/tarballs/src/libreoffice-translations-7.2.2.2/translations translations
3、再次执行make编译即可。
【问题描述】
鲲鹏环境下编译libreoffice-7.2.2.2报“missing /home/libreoffice-7.2.2.2/translstions/source/zh-CN/oox/messages.po”问题,详细报错如下:
missing /home/libreoffice-7.2.2.2/translstions/source/zh-CN/oox/messages.po
missing /home/libreoffice-7.2.2.2/translstions/source/zh-CN/oox/messages.po
make[1]: *** No rule to make target '/home/libreoffice-7.2.2.2/translstions/source/zh-CN/readlicense_oo/docs.po', needed by '/home/libreoffice-7.2.2.2/workdir/CustomTarget/readlicense_oo/readme/readme.xrm'. Stop.
【解决方法】
1、执行 ls /home/libreoffice-7.2.2.2/translstions 确认文件夹是否存在
2、拷贝libreoffice-translations-7.2.2.2源码路径的translations文件夹到/home/libreoffice-7.2.2.2/路径下
1)当在autogen.input文件中指定“--with-external-tar”选项时,执行如下命令拷贝translations文件夹到/home/libreoffice-7.2.2.2/路径下
cp -r ./src/libreoffice-translations-7.2.2.2/translations translations
2) 当未在autogen.input文件中指定“--with-external-tar”选项时(编译过程下载依赖包情况),执行如下命令拷贝translations文件夹到/home/libreoffice-7.2.2.2/路径下
cp -r ./external/tarballs/src/libreoffice-translations-7.2.2.2/translations translations
3、再次执行make编译即可。