[R] Question on package building

From: Ev Whin <whinev_at_gmail.com>
Date: Thu, 21 Jun 2007 13:33:39 +0800


Hi dear R-Help members:

When I was building my R package, using
$R CMD build --binary pkg
it came out the following error:
........
** libs
Error: package 'methods' was built for x86_64-unknown-linux-gnu Execution halted

The information about $R_HOME/library/methods/libs/methods.so is:
$file methods.so

methods.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped

my machine is:
$uname -a

Linux whinev 2.4.21-37.EL #1 SMP Wed Sep 7 13:32:18 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

and I used the options below to build R src: ../configure --prefix=/home/whinev/R --enable-R-shlib CC="gcc -m32" CXXFLAGS="-m32 -O2 -g" FFLAGS="-m32 -O2 -g" FCFLAGS="-m32 -O2 -g" LDFLAGS="-L/usr/local/lib" LIBnn=lib --with-x=no

Would you please tell me what the matter is? Thank you all!

Whinev

        [[alternative HTML version deleted]]



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 21 Jun 2007 - 05:39:56 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 21 Jun 2007 - 06:32:17 GMT.

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