8000 trouble with install {arrow} · Issue #7 · r-hub/r-minimal · GitHub
[go: up one dir, main page]

Skip to content

trouble with install {arrow} #7

Closed

Description

@xiaodaigh

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 f
8000
ailed for package ‘rlang’

Activity

  1. gaborcsardi commented on Dec 29, 2019

    @gaborcsardi
    Collaborator

    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
    ~ #
    
  2. gaborcsardi commented on Dec 29, 2019

    @gaborcsardi
    Collaborator
    ~ # apk search parquet
    ~ #
    

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

  3. gaborcsardi commented on Dec 29, 2019

    @gaborcsardi
    Collaborator

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

  4. xiaodaigh commented on Dec 30, 2019

    @xiaodaigh
    Author

    It doesn't work as jemalloc is not longer available

  5. xiaodaigh commented on Dec 30, 2019

    @xiaodaigh
    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.

  6. changed the title [-]arrow trouble with install arrow[/-] [+]trouble with install {arrow}[/+] on Dec 31, 2019
  7. gaborcsardi commented on Dec 31, 2019

    @gaborcsardi
    Collaborator

    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

  8. gaborcsardi commented on Jan 2, 2020

    @gaborcsardi
    Collaborator

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

  9. added a commit that references this issue on Dec 12, 2023
    1ef8ed2
  10. gaborcsardi commented on Dec 12, 2023

    @gaborcsardi
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0