[ https://issues.apache.org/jira/browse/ARROW-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16157014#comment-16157014 ]
Kouhei Sutou commented on ARROW-1464: ------------------------------------- Arrow GLib uses README for developers information: https://github.com/apache/arrow/tree/master/c_glib#how-to-build-by-developers I think that RAEDME is a good place to write this information. I think that http://arrow.apache.org/install/ is a good place for Arrow C++'s `make install` and `ldconfig`. The page only has "how to install by package" information for now. It may be better that the page have "how to install from source" too. > [GLib] Documentation for troubleshooting of build errors > -------------------------------------------------------- > > Key: ARROW-1464 > URL: https://issues.apache.org/jira/browse/ARROW-1464 > Project: Apache Arrow > Issue Type: Improvement > Components: GLib > Reporter: Wataru Shimizu > Priority: Minor > > When I built Arrow GLib on macOS and Ubuntu-16.04, some tweaks listed below > were required on my environment. I want to share them because they may help > other users. Is there suitable place to describe them in the web site or > source tree? Or, are there any other way to fix them? > h4. make install and ldconfig > Arrow GLib depends on Arrow C++, so it must be installed with {{sudo make > install}} before building Arrow GLib. In addition, on linux, {{sudo > ldconfig}} is also needed. > h4. configure script failed because of AX_CXX_COMPILE_STDCXX_11 macro (macOS) > # Check whether {{autoconf-archive}} is installed. > # Run {{brew install autoconf-archive}} again. If it shows like the following > message, run {{brew link autoconf-acrhive}}. > {code} > $ brew install autoconf-archive > Warning: autoconf-archive 2017.03.21 is already installed, it's just not > linked. > You can use `brew link autoconf-archive` to link this version. > {code} > Note that some packages (e.g. gnome-common) conflict with autoconf-archive. > If you see like the following message, run {{brew unlink <pkgname>}}. > {code} > $ brew link autoconf-archive > 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: > brew unlink gnome-common > {code} > h4. configure script can't find gobject-introspection-1.0 (macOS) > gobject-introspection requires libffi, and it's automatically installed with > gobject-introspection. However it can't be found because it's > [keg-only|https://docs.brew.sh/FAQ.html#what-does-keg-only-mean]. You need to > set PKG_CONFIG_PATH when executing {{configure}}. > {code} > $ PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig ./configure > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)