8000 trouble with install {arrow} · Issue #7 · r-hub/r-minimal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

trouble with install {arrow} #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll 8000 occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xiaodaigh opened this issue Dec 29, 2019 · 8 comments
Closed

trouble with install {arrow} #7

xiaodaigh opened this issue Dec 29, 2019 · 8 comments

Comments

@xiaodaigh
Copy link
xiaodaigh commented Dec 29, 2019

I have some trouble installing {arrow} which in turn is caused by {rlang}

here my the the Dockerfile

FROM rhub/r-minimal
RUN installr -d -t libparquet-dev arrow
/bin/sh: gcc: not found
make: *** [/usr/local/lib/R/etc/Makeconf:168: capture.o] Error 127
ERROR: compilation failed for packagerlang
@gaborcsardi
Copy link
Collaborator
gaborcsardi commented Dec 29, 2019

This is what I get:

~ # installr -d -t libparquet-dev arrow

--------------------------------------
Temporarily adding libparquet-dev gcc musl-dev g++
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  libparquet-dev (missing):
    required by: world[libparquet-dev]

--------------------------------------
Removing libparquet-dev gcc musl-dev g++

--------------------------------------
Cleaning up cache
~ #

@gaborcsardi
Copy link
Collaborator
~ # apk search parquet
~ #

so apparently, there is no parquet in the base Alpine system.

@gaborcsardi
Copy link
Collaborator

Seems like you'll need to build arrow, which is not quite ideal: https://gist.github.com/bskaggs/fc3c8d0d553be54e2645616236fdc8c6

@xiaodaigh
Copy link
Author

It doesn't work as jemalloc is not longer available

@xiaodaigh xiaodaigh reopened this Dec 30, 2019
@xiaodaigh
Copy link
Author

Seems like you'll need to build arrow, which is not quite ideal: https://gist.github.com/bskaggs/fc3c8d0d553be54e2645616236fdc8c6

Those are instructions for Python. I will see if it works for R as well.

@xiaodaigh xiaodaigh changed the title arrow trouble with install arrow trouble with install {arrow} Dec 31, 2019
@gaborcsardi
Copy link
Collaborator
gaborcsardi commented Dec 31, 2019

Those are instructions for Python. I will see if it works for R as well.

I meant the part that builds the arrow library:

https://gist.github.com/bskaggs/fc3c8d0d553be54e2645616236fdc8c6#file-dockerfile-L25-L42

@gaborcsardi
Copy link
Collaborator

I added a note to the README about this. Please comment here if you have any news about compiling arrow on ALpine.

gaborcsardi added a commit that referenced this issue Dec 12, 2023
Update README as well. Closes #7, really.

[ci skip]
@gaborcsardi
Copy link
Collaborator

quite late, but arrow works now, see the example in examples/arrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0