Hi,

> I’ve successfully installed Meson according to your suggestion, however it 
> couldn’t run, probably due to some compatibility issues on the system. (I’ve 
> written an email to the Helpdesk for help.)

I think that you're using Python 2. Meson requires Python 3.

> In the meantime of waiting for their response, I would like to know if it is 
> possible to do some modification in the source code of the current Apache 
> Arrow release to disable building GObject Introspection, instead of waiting 
> for the next release.

Here is a patch to make GObject Introspection optional:

  https://patch-diff.githubusercontent.com/raw/apache/arrow/pull/6072.patch

You need to use Meson to build with this patch.

To use configure, you need to regenerate c_glib/configure
from c_glib/configure.ac. It requires GObject Introspection.
So you can't use configure on your environment.


Thanks,
--
kou

In 
<tSWuBtndqpJhkCaHTDcHDaE3za0pbqK-8fnqKT99Vv6QGVxYAjKuZUUSZ4A94U6DiZaWxc8wYc5JXiu9EoZublUwbXhlq8kar_sguY6onWI=@protonmail.ch>
  "Re: Trouble with building Arrow GLib" on Fri, 20 Dec 2019 09:59:27 +0000,
  Chengxin Ma <c...@protonmail.ch.INVALID> wrote:

> Hi Kou,
> 
> I am working on [the Cartesius 
> system](https://userinfo.surfsara.nl/systems/cartesius). The OS on it is 
> [bullx Linux](https://userinfo.surfsara.nl/systems/cartesius/software/rhel).
> 
> I’ve successfully installed Meson according to your suggestion, however it 
> couldn’t run, probably due to some compatibility issues on the system. (I’ve 
> written an email to the Helpdesk for help.)
> 
> In the meantime of waiting for their response, I would like to know if it is 
> possible to do some modification in the source code of the current Apache 
> Arrow release to disable building GObject Introspection, instead of waiting 
> for the next release.
> 
> Kind Regards
> Chengxin
> 
> 
> Sent with ProtonMail Secure Email.
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Friday, December 20, 2019 4:49 AM, Sutou Kouhei <k...@clear-code.com> 
> wrote:
> 
>> Hi,
>>
>> Arrow GLib can provide C API but it requires GObject
>> Introspection for now. So you need to install GObject
>> Introspection to use Arrow GLib for now.
>> (I'll add a build option to build without GObject
>> Introspection. Then you can build Arrow GLib without GObject
>> Introspection in the next release.)
>>
>> Could you show your environment? Are you using a Linux distribution?
>>
>> You can install Meson by "pip install --user meson".
>> See also: https://mesonbuild.com/Getting-meson.html#installing-meson-with-pip
>>
>> Thanks,
>>
>> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> kou
>>
>> In 
>> DIVG0Hqiw9iory_bs1T6A_cf5etWsPJ0-lbAFxaJ4H2hrTm87EGUED3ztGenYN6EjVzW5_oYL1KIH4V3F_BE1dMQyu4EtbBflin-m-iGC_Q=@protonmail.ch
>> "Trouble with building Arrow GLib" on Thu, 19 Dec 2019 10:53:48 +0000,
>> Chengxin Ma c...@protonmail.ch.INVALID wrote:
>>
>> > Hi All,
>> > I am building Arrow GLib on a system where I'm not the admin.
>> > In the installation instructions 
>> > (https://github.com/apache/arrow/tree/master/c_glib) there are two options 
>> > for building GLib: "How to build by users" and "How to build by 
>> > developers". I followed the "by users" section and met the following 
>> > problem:
>> > "checking for gobject-introspection... configure: error: 
>> > gobject-introspection-1.0 is not installed".
>> > "GObject Introspection" is mentioned explicitly in the "How to build by 
>> > developers" section. Does this indicate it is optional if we build as a 
>> > user?
>> > I checked "./configure --help" but didn't find a way to exclude it in the 
>> > build process.
>> > I've also tried to build GObject Introspection 
>> > (http://www.linuxfromscratch.org/blfs/view/svn/general/gobject-introspection.html)
>> >  but Meson isn't available on the system...
>> > Could someone please offer a suggestion for me to build Arrow GLib?
>> > Kind Regards
>> > Chengxin
>> > Sent with ProtonMail Secure Email.
> 
> 

Reply via email to