Skip to content
Prev 3088 / 21307 Next

[Bioc-devel] Installing pkg with configure with support to multiple architectures

Hi Steve,

It's the CRAN build... and it behaves as expected, as long as the
package does not have a configure script (I should make it clear that
I always install packages from the source, ie, install.packages(...,
type='source') ).

For example, Biobase does not have a configure script. Then:

biocLite('Biobase')

gives me:

* installing *source* package ?Biobase? ...
** libs
*** arch - i386
<bunch of stuff>
*** arch - x86_64
<another bunch>
* DONE (Biobase)

Now, affyio and affy have a configure script:

biocLite(c('affyio', 'affy'))

gives me:

* installing *source* package ?affyio? ...
<./configure output>
** libs
*** arch - x86_64
<bunch of stuff>
* DONE (affyio)
* installing *source* package ?affy? ...
<./configure output>
** libs
*** arch - x86_64
<bunch of stuff>
* DONE (affy)

Note that affyio and affy were not installed under i386.

Now, try to install gcrma (has C code, but doesn't have a configure:

biocLite('gcrma')

gives:

* installing *source* package ?gcrma? ...
** libs
*** arch - i386
<bunch of stuff>
*** arch - x86_64
<bunch of stuff>
*** arch - i386
Error : package ?affy? is not installed for 'arch=i386'
Error: loading failed
Execution halted
*** arch - x86_64
ERROR: loading failed for ?i386?
* removing ?/Users/carval03/Rlibs/2.14/gcrma?

So, to get this to work, I need to download the tar.gz files and do

R --arch x86_64 CMD INSTALL pkg_version.tar.gz
R --arch i386 CMD INSTALL --libs-only pkg_version.tar.gz

for pkg = affyio, affy

and I was wondering if there was an automagic way of doing this
(which, I'd hopefully bring to oligo as well).

b

On 27 January 2012 14:36, Steve Lianoglou
<mailinglist.honeypot at gmail.com> wrote: