rwinlib / gcc-4.9.3

Building R for Windows with the new gcc 4.9.3 toolchain
28 stars 7 forks source link

maps does not compile 32 bit libraries with new toolchain #7

Open jimhester opened 8 years ago

jimhester commented 8 years ago

They are using a custom Makevars.win that likely needs to be tweaked to work properly with the new toolchain.

This results in an error when trying to install mapproj, as there is no 32 bit library for maps

*** arch - i386
Error : package 'maps' is not installed for 'arch = i386'
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
jeroen commented 8 years ago

Some packages for whatever reason don't build with multiarch by default. You can still install for both architectures using the --merge-multiarch option:

install.packages("maps", type = "source", INSTALL_opts="--merge-multiarch")

If you run this in x64 it should build and install for i386 as well.

jimhester commented 8 years ago

Yep that worked, thanks Jeroen. I guess I will pass that install option always to avoid this with other packages.