Trying to compile "R" from source.

Andre Mikulec andre_mikulec@hotmail.com
Fri Jun 4 02:36:32 GMT 2021


All,

The reason why is that I want to work exclusively in cygwin (and cygwin emulates UNIX without me having to go to UNIX).
I can compile postgres and pl/r in cygwin. I needed to debug versions of R that are not the current version and the version is somewhere in between distributions.


On 03.06.2021 06:37, Andre Mikulec via Cygwin wrote:
> All,
>
> I am trying to compile "R" from source.


any reason ? R is alrady available in Cygwin

>
> I am stuck.  I am getting an error. Please, help.
>
> My configure line:
> https://github.com/AndreMikulec/r-build/blob/99bec605560b6b07de8847b481157d3320515b44/build_script.sh#L513
> ```
> ./configure --disable-rpath --enable-R-shlib --enable-BLAS-shlib=no --enable-java=no --without-readline --with-blas --with-lapack --without-x --prefix=${rroot}
> ```
>
> My error lines:
> https://ci.appveyor.com/project/AndreMikulec/r-build/builds/39440541#L1470
> ```
> checking whether zlib support suffices... yes
> checking for BZ2_bzlibVersion in -lbz2... no
> checking whether bzip2 support suffices... configure: error: bzip2 library and headers are require


https://cygwin.com/packages/summary/bzip2-src.html
you need to install the package libbz2-devel

> ```
>
> Thanks,
> Andre
>

Regards
Marco

________________________________
From: Andre Mikulec <andre_mikulec@hotmail.com>
Sent: Wednesday, June 2, 2021 11:37 PM
To: cygwin@cygwin.com <cygwin@cygwin.com>
Subject: Trying to compile "R" from source.

All,

I am trying to compile "R" from source.

I am stuck.  I am getting an error. Please, help.

My configure line:
https://github.com/AndreMikulec/r-build/blob/99bec605560b6b07de8847b481157d3320515b44/build_script.sh#L513
```
./configure --disable-rpath --enable-R-shlib --enable-BLAS-shlib=no --enable-java=no --without-readline --with-blas --with-lapack --without-x --prefix=${rroot}
```

My error lines:
https://ci.appveyor.com/project/AndreMikulec/r-build/builds/39440541#L1470
```
checking whether zlib support suffices... yes
checking for BZ2_bzlibVersion in -lbz2... no
checking whether bzip2 support suffices... configure: error: bzip2 library and headers are require
```

Thanks,
Andre


More information about the Cygwin mailing list