Re: [Rd] Cross-compile errors under R-2.4.0 and R-2.4.1

From: Hin-Tak Leung <hin-tak.leung_at_cimr.cam.ac.uk>
Date: Fri 19 Jan 2007 - 14:27:56 GMT

You missed my posts (earlier this week). The subject is: "mingw-cross with R 2.4.x Re: [Rd] wine and build difference between R.2.4.0 and R 2.4.1 windows binaries?" which contains my notes on this subject.

Basically you need newer mingw than on Prof Ripley's web site (i.e. you'll need to build mingw yourself), and as for the pcre error in 2.4.0, you need to graft pcre from 2.4.1 back. Good luck.

Daniel Berg wrote:
> Dear all,
>
> I already posted a question regarding this to an existing thread:
> http://tolstoy.newcastle.edu.au/R/e2/devel/06/10/0852.html#start
>
> I apologize for the double posting but I have some further information
> that might be illuminating.
>
> I am trying to cross-compile my R-package under ubuntu linux, kernel
> 2.6.17-10-generic, on an IBM T60.
>
> I am following the suggested steps in
> http://cran.r-project.org/doc/contrib/cross-build.pdf
>
> I have tried changing R = R-x.x.x (2.3.1, 2.4.0 and 2.4.1) in
> http://cran.ii.uib.no/doc/contrib/Makefile-rcb
>
> 1) For R-2.3.1 everything works fine
> 2) For R-2.4.0 I receive the following error messages from 'make R':
>
> ../extra/pcre/libpcre.a(pcre_dfa_exec.o):pcre_dfa_exec.c:(.text+0x1f2a):
> more undefined references to `__pcre_ucp_findprop' follow
> collect2: ld returned 1 exit status
> make[4]: *** [R.dll] Error 1
> make[3]: *** [../../bin/R.dll] Error 2
> make[2]: *** [rbuild] Error 2
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
>
> There is already a post that seems to address the same error:
> http://tolstoy.newcastle.edu.au/R/e2/devel/06/10/0852.html#start
>
> However, I have tried the suggestions there with no further success
> and I am awaiting further instructions before pursuing that solution.
>
> 3) For R-2.4.1 I receive the following error message from 'make R',
> under 'Making package tools':
>
> preparing package tools for lazy loading
> Error in makeLazyLoadDB(ns, dbbase) : could not find function "seq_along"
> Execution halted
>
>
> Hope this is illuminating and that the 'bugs', whether it is in R or
> in PCRE, can be resolved for the next release, this would be highly
> appreciated. Meanwhile, any suggestions as to how I can cross-compile
> successfully under R-2.4.1 are most welcome.
>
> Best wishes,
> Daniel Berg



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Jan 20 01:31:29 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 19 Jan 2007 - 15:31:09 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.