From 38c65f42ff31f70b2d7cb5b6f5b63d20a6df9d22 Mon Sep 17 00:00:00 2001 From: Stephen Pascoe Date: Tue, 5 Jun 2018 13:53:05 +0100 Subject: [PATCH 1/3] Add more common problems compiling c_glib on OSX --- c_glib/README.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/c_glib/README.md b/c_glib/README.md index af999d3ab335..6cb21cf49bdb 100644 --- a/c_glib/README.md +++ b/c_glib/README.md @@ -229,7 +229,7 @@ In this case, you need to run `brew link autoconf-archive`. It may fail with the ```console % brew link autoconf-archive -Linking /usr/local/Cellar/autoconf-archive/2017.03.21... +Linking /usr/local/Cellar/autoconf-archive/2017.03.21... Error: Could not symlink share/aclocal/ax_check_enable_debug.m4 Target /usr/local/share/aclocal/ax_check_enable_debug.m4 is a symlink belonging to gnome-common. You can unlink it: @@ -251,3 +251,28 @@ gobject-introspection requires libffi, and it's automatically installed with gob ### build failed - /usr/bin/ld: cannot find -larrow Arrow C++ must be installed to build Arrow GLib. Run `make install` on Arrow C++ build directory. In addtion, on linux, you may need to run `sudo ldconfig`. + +### build failed - unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl + +On OSX you may need to set the following environment variable: + +```console +% export XML_CATALOG_FILES="/usr/local/etc/xml/catalog" required to build docs +``` + +### build failed - Symbol not found, referenced from `libsource-highlight.4.dylib` + +On OSX if you see the following error you may need to upgrade `source-highlight` + +```console +dyld: Symbol not found: __ZN5boost16re_detail_10650112perl_matcherIPKcNSt3__19allocatorINS_9sub_matchIS3_EEEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE14construct_initERKNS_11basic_regexIcSC_EENS_15regex_constants12_match_flagsE + Referenced from: /usr/local/Cellar/source-highlight/3.1.8_7/lib/libsource-highlight.4.dylib + Expected in: flat namespace + in /usr/local/Cellar/source-highlight/3.1.8_7/lib/libsource-highlight.4.dylib +``` + +To fix do: + +```console +% brew upgrade source-highlight +``` From 03564bd1f03c4cc2ecad25578e5a754f6b784a16 Mon Sep 17 00:00:00 2001 From: Stephen Pascoe Date: Wed, 6 Jun 2018 17:05:18 +0100 Subject: [PATCH 2/3] Remove accidental comment --- c_glib/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_glib/README.md b/c_glib/README.md index 6cb21cf49bdb..fdedfcd9e78e 100644 --- a/c_glib/README.md +++ b/c_glib/README.md @@ -257,7 +257,7 @@ Arrow C++ must be installed to build Arrow GLib. Run `make install` on Arrow C++ On OSX you may need to set the following environment variable: ```console -% export XML_CATALOG_FILES="/usr/local/etc/xml/catalog" required to build docs +% export XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ``` ### build failed - Symbol not found, referenced from `libsource-highlight.4.dylib` From 3efd08f0cbaa40d0d3a329b8613fb80ac022b985 Mon Sep 17 00:00:00 2001 From: Stephen Pascoe Date: Wed, 6 Jun 2018 17:06:27 +0100 Subject: [PATCH 3/3] Rename OSX --- c_glib/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c_glib/README.md b/c_glib/README.md index fdedfcd9e78e..cc0d4ecc5842 100644 --- a/c_glib/README.md +++ b/c_glib/README.md @@ -254,7 +254,7 @@ Arrow C++ must be installed to build Arrow GLib. Run `make install` on Arrow C++ ### build failed - unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl -On OSX you may need to set the following environment variable: +On macOS you may need to set the following environment variable: ```console % export XML_CATALOG_FILES="/usr/local/etc/xml/catalog" @@ -262,7 +262,7 @@ On OSX you may need to set the following environment variable: ### build failed - Symbol not found, referenced from `libsource-highlight.4.dylib` -On OSX if you see the following error you may need to upgrade `source-highlight` +On macOS if you see the following error you may need to upgrade `source-highlight` ```console dyld: Symbol not found: __ZN5boost16re_detail_10650112perl_matcherIPKcNSt3__19allocatorINS_9sub_matchIS3_EEEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE14construct_initERKNS_11basic_regexIcSC_EENS_15regex_constants12_match_flagsE