[ 
https://issues.apache.org/jira/browse/ARROW-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16169005#comment-16169005
 ] 

ASF GitHub Bot commented on ARROW-1464:
---------------------------------------

GitHub user wagavulin opened a pull request:

    https://github.com/apache/arrow/pull/1104

    [ARROW-1464]: [GLib] Add "Common build problems" section into the README.md 
of c_glib

    Add some detailed explanation of common build problems especially on macOS 
because it requires some tweaks.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wagavulin/arrow build-troubleshooting

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/arrow/pull/1104.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1104
    
----
commit ffd9ad93f870cee97dc47785f9e89d316ecb4bc1
Author: Wataru Shimizu <[email protected]>
Date:   2017-09-16T17:41:14Z

    Add "Common build problems" section in the README.md of c_glib
    
    Add some detailed explanation of common build problems especially on macOS 
because it requires some tweaks.

----


> [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
>              Labels: pull-request-available
>
> 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)

Reply via email to