rngtng opened a new issue #11994:
URL: https://github.com/apache/arrow/issues/11994
Hello I'm trying to setup `red-arrow` for latest ruby alpine. So far I got
it compiled & installed, but when I try to use it, I get the following error.
Any ideas what went wrong?
```
/usr/local/bundle/gems/gobject-introspection-3.4.9/lib/gobject-introspection/loader.rb:37:in
`require': Typelib file for namespace 'Arrow' (any version) not found
(GObjectIntrospection::RepositoryError::TypelibNotFound)
```
My `Dockerfile` is:
```
FROM ruby:alpine3.15
RUN apk update \
&& apk upgrade \
&& apk add --update --no-cache \
build-base tzdata openssl-dev openssh-client bash wget cmake autoconf
curl-dev meson glib-dev gobject-introspection-dev
ARG ARROW_VERSION=6.0.1
ARG
ARROW_SHA256=3786b3d2df954d078b3e68f98d2e5aecbaa3fa2accf075d7a3a13c187b9c5294
ARG ARROW_BUILD_TYPE=release
ENV ARROW_HOME=/usr/local \
PARQUET_HOME=/usr/local
RUN mkdir /arrow \
&& wget -q
https://github.com/apache/arrow/archive/apache-arrow-${ARROW_VERSION}.tar.gz -O
/tmp/apache-arrow.tar.gz \
&& echo "${ARROW_SHA256} *apache-arrow.tar.gz" | sha256sum
/tmp/apache-arrow.tar.gz \
&& tar -xvf /tmp/apache-arrow.tar.gz -C /arrow --strip-components 1 \
&& mkdir -p /arrow/cpp/build \
&& cd /arrow/cpp/build \
&& cmake -DCMAKE_BUILD_TYPE=$ARROW_BUILD_TYPE \
-DOPENSSL_ROOT_DIR=/usr/local/ssl \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
-DARROW_CSV=ON \
-DARROW_FILESYSTEM=ON \
-DARROW_JSON=ON \
-DARROW_PARQUET=ON \
-DARROW_WITH_BZ2=ON \
-DARROW_PYTHON=OFF \
-DARROW_WITH_ZLIB=ON \
-DARROW_WITH_ZSTD=ON \
-DARROW_WITH_LZ4=ON \
-DARROW_WITH_SNAPPY=ON \
-DARROW_PLASMA=ON \
-DARROW_S3=ON \
-DARROW_BUILD_TESTS=OFF \
.. \
&& cd /arrow \
&& meson setup c_glib.build c_glib --buildtype=release \
&& meson compile -C c_glib.build \
&& meson install -C c_glib.build \
&& rm -rf /arrow /tmp/apache-arrow.tar.gz
&& make -j$(nproc) \
&& make install
....
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]