{"id":2571,"date":"2025-09-05T15:55:13","date_gmt":"2025-09-05T07:55:13","guid":{"rendered":"https:\/\/thereisno.top\/?p=2571"},"modified":"2025-09-05T15:55:13","modified_gmt":"2025-09-05T07:55:13","slug":"libreoffice-macos-%e8%a7%a3%e5%86%b3%e7%bc%96%e8%af%91%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/thereisno.top\/?p=2571","title":{"rendered":"LibreOffice macOS \u89e3\u51b3\u7f16\u8bd1\u95ee\u9898"},"content":{"rendered":"\n<p>LibreOffice \u7f16\u8bd1\u65f6\u4f9d\u8d56\u9700\u8981&nbsp;<code>graphite<\/code>\uff0c \u800c<code>graphite<\/code>\u7684\u7f16\u8bd1\u53c8\u4f9d\u8d56<code>pkg-config<\/code>\u3002\u4f46\u662f\u4e0d\u60f3\u4f7f\u7528<code>homebrew<\/code>\u6216\u8005&nbsp;<code>MacPorts<\/code>\uff0c\u559c\u6b22\u4e0b\u8f7d\u6e90\u7801\u81ea\u5df1\u7f16\u8bd1\u3002<br><code>pkg-config<\/code>\u7f16\u8bd1\u6210\u529f\u540e\uff0c\u5e76\u4e14\u6307\u5b9a\u4e86\u73af\u5883\u53d8\u91cf\u3002<br>\u7136\u800c<code>make<\/code>\u603b\u662f\u62a5<code>checking&nbsp;for&nbsp;bogus&nbsp;pkg-config...&nbsp;configure:&nbsp;error:&nbsp;yes,&nbsp;from&nbsp;unknown&nbsp;origin.&nbsp;This&nbsp;*will*&nbsp;break&nbsp;the&nbsp;build.&nbsp;Please&nbsp;modify&nbsp;your&nbsp;PATH&nbsp;variable&nbsp;so&nbsp;that&nbsp;$PKG_CONFIG&nbsp;is&nbsp;no&nbsp;longer&nbsp;found&nbsp;by&nbsp;configure&nbsp;scripts.<\/code><\/p>\n\n\n\n<p>\u6392\u67e5<code>configure.ac<\/code>\u53d1\u73b0<code>pkg-config<\/code>&nbsp;\u68c0\u67e5\u51fa\u9519\u540e\uff0c\u5c31\u9000\u51fa\u4e86\u3002<br><code>pkg-config<\/code>\u7684\u4f5c\u7528\u4e3b\u8981\u662f\u4e3a\u4e86\u7f16\u8bd1<code>graphite<\/code>\uff0c\u800c<code>graphite<\/code>\u662f\u4e00\u79cd\u201c\u667a\u80fd\u5b57\u4f53\u201d\u7cfb\u7edf\uff0c\u4e13\u95e8\u4e3a\u5904\u7406\u4e16\u754c\u4e0a\u9c9c\u4e3a\u4eba\u77e5\u7684\u8bed\u8a00\u7684\u590d\u6742\u6027\u800c\u5f00\u53d1\u3002<br>\u7136\u800c\uff0c\u5bf9\u4e8e\u4e2d\u6587\u5b57\u4f53\u53ef\u80fd\u5f71\u54cd\u4e0d\u5927\u3002\u8bd5\u8bd5\u5ffd\u7565\u8fd9\u90e8\u5206\u529f\u80fd\u3002\u4e8e\u662f\u4fee\u6539\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre id=\"codecell0\" class=\"wp-block-preformatted\">diff --git a\/configure.ac b\/configure.ac\nindex 99ccaf54f748..dbb727422dec 100644\n--- a\/configure.ac\n+++ b\/configure.ac\n@@ -7099,7 +7099,8 @@ if test $_os = Darwin; then\n                 if test -z \"$($PKG_CONFIG --list-all |grep -v '^libpkgconf')\" ; then\n                     AC_MSG_RESULT([yes, accepted since no packages available in default searchpath])\n                 else\n-                    AC_MSG_ERROR([yes, from unknown origin. This *will* break the build. Please modify your PATH variable so that $PKG_CONFIG is no longer found by configure scripts.])\n+                    # AC_MSG_ERROR([yes, from unknown origin. This *will* break the build. Please modify your PATH variable so that $PKG_CONFIG is no longer found by configure scripts.])\n+                    echo here ;\n                 fi\n             fi\n         fi\n<\/pre>\n\n\n\n<p>\u6ce8\u6389\u540e\uff0c\u6267\u884c<code>make<\/code>\uff0c\u679c\u7136\u6210\u529f\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LibreOffice \u7f16\u8bd1\u65f6\u4f9d\u8d56\u9700\u8981&nbsp;graphite\uff0c \u800cgraphite\u7684\u7f16\u8bd1\u53c8\u4f9d\u8d56pkg-c &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/thereisno.top\/?p=2571\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cLibreOffice macOS \u89e3\u51b3\u7f16\u8bd1\u95ee\u9898\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[147,41],"tags":[47,72],"class_list":["post-2571","post","type-post","status-publish","format-standard","hentry","category-c","category-macos","tag-libreoffice","tag-macos"],"_links":{"self":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts\/2571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2571"}],"version-history":[{"count":1,"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts\/2571\/revisions"}],"predecessor-version":[{"id":2572,"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts\/2571\/revisions\/2572"}],"wp:attachment":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}