Hello Bryce,
Gistfile1 includes my result when I tried building  (
https://arrow.apache.org/docs/r/articles/developers/docker.html#example---the-manual-way)
from scratch.Before getting to the part of running the docker container I
made changes in line endings of 4 files(as seen in the gist).After that I
when I applied the container command I encountered the error in line 219 of
gistfile1(which i think is again related to CRLF line ending and since I
was not able to figure out the problem I changed all the script files to
the LF line endings which was a mistake on my part .So I think the real
problem started from line 219 of gistfle1.

https://gist.github.com/Divyansh200102/655c80a7a8c31d3f1a68a860c5f24872

On Mon, 23 Oct 2023 at 23:50, Bryce Mecum <bryceme...@gmail.com> wrote:

> Is the `docker-compose run r` output before or after you changed the
> line endings in build_arrow_static.sh? This error:
>
> inst/build_arrow_static.sh: line 38: $'\r': command not found
>
> makes it look like you may have written the file out with
> Windows-style line endings which I suspect MinGW is having a hard time
> with. If that's the case, do you get a different output from
> `docker-compose run r` before you rewrite the file? Are you running
> this with (1) recent checkout and (2) with a completely clean working
> copy? If you're not sure, include the output of `git rev-parse HEAD`
> and `git status` in an updated gist.
>
> On Sun, Oct 22, 2023 at 11:25 PM Divyansh Khatri
> <divyanshkhatri...@gmail.com> wrote:
> >
> > Hi Jonathan,
> > So,first of all regarding the previous message I sent I thought I setup
> the
> > R correctly but when i ran the container it was exiting immediately so I
> > did the process again.I followed the developer documentation [1] (
> >
> https://arrow.apache.org/docs/r/articles/developers/docker.html#example---the-manual-way
> > ).but i am encountering an error (I think it's regarding the line ending
> > of inst/build_arrow_static.sh).but even after changing the line ending I
> am
> > still encountering the same error. Can you tell me what's the problem?
> >
> > https://gist.github.com/Divyansh200102/dd7fc370e39818796c58df44badcc1b8
> >
> > I have attached the terminal output of the documentation [1] and the 4
> > files containing "inst/build_arrow_static.sh"(If I need to make any
> changes
> > in the line ending of any of  them please tell me which one).
> >
> > Thanks
> >
> > On Mon, 23 Oct 2023 at 00:59, Divyansh Khatri <
> divyanshkhatri...@gmail.com>
> > wrote:
> >
> > > Thanks for the help Jonathan,Nic and Bryce I was able to setup R  and
> the
> > >> docs.
> > >
> > >
>

Reply via email to