On Tue, Jan 26, 2016 at 11:17:55AM -0200, Alba Pompeo wrote:
> I tried to compile the source myself, but it appears R doesn't play
> well with musl.
> Can someone please help? If we can compile from source, then a
> packager should easily make an APKBUILD for everyone.
I've tried building R for musl in the past; however, that was a few years
ago, and it failed some of the tests. (IIRC, I was using gcc/gfortran 4.2
or a 3.4.x-based toolchain.)
Because of that, I figured my build was unreliable.
Passing 'make test' is an important step, despite being optional
(not to mention impossible for cross-compiling).
> The error.
You missed the command; there's no way to help without it. (It's also good
to know what configure options, CFLAGS, and LDFLAGS you used.)
There should be something along the lines of with 'gcc ... <a>.o <b>.o ...
-l<lib> -lc' .
> ../unix/system.o: In function `Rf_initialize_R':
> /home/albap/R-3.2.3/src/unix/system.c:185: undefined reference to
> ../unix/system.o: relocation R_X86_64_PC32 against undefined symbol
> `__libc_stack_end' can not be used when making a shared object;
> recompile with -fPIC
> final link failed: Bad value
> collect2: error: ld returned 1 exit status
> On Mon, Jan 25, 2016 at 10:53 PM, Alba Pompeo <albapompeo_at_gmail.com> wrote:
> > I like to request the package R from https://www.r-project.org/
> > It's very important for my work in statistics and I would be happy if
> > we had it on Alpine. Thanks.
> > Ciao.
> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-devel+help_at_lists.alpinelinux.org
Received on Tue Jan 26 2016 - 06:54:47 UTC