[Rd] R CMD SHLIB failure (Win7 64-bit OS)

2014-06-27 Thread Luke Hartigan
Dear all, I am struggling to get the 'Rtools' tool chain to successfully build .dlls using the "R CMD SHLIB" method on my home Win7 64-bit (Ultimate) PC. Strangely I did get it working on my work PC (also Win7 64-bit but Enterprise) so I am totally at a loss as to what to do. When I type, "R CMD

Re: [Rd] R CMD SHLIB error bad value (core2) for -mtune= switch

2013-11-15 Thread Simon Zehnder
No information has been given, where this error occurred. What were you doing? Simon On 15 Nov 2013, at 10:49, pranav.waila wrote: > I am getting the following error. Please help if the problem is resolved: > > $ make > 0 [main] make 10092 stdio_init: couldn't make stderr distinct from >

Re: [Rd] R CMD SHLIB error bad value (core2) for -mtune= switch

2013-11-15 Thread pranav.waila
I am getting the following error. Please help if the problem is resolved: $ make 0 [main] make 10092 stdio_init: couldn't make stderr distinct from stdout R CMD SHLIB src/C/util.c src/C/factor_model_util.c src/C/pagerank.c src/C/hierarchical.c src/C/factor_model_multicontext.c src/C/fact or_

Re: [Rd] R CMD SHLIB error bad value (core2) for -mtune= switch

2012-10-23 Thread David Winsemius
On Oct 23, 2012, at 10:58 AM, smzyij wrote: > Thank you so much Prof Ripley. > > You are right. So instead of using Windows R, I tried to compile binary R > under Cygwin, but it errored out everytime at different places when I tried > different options to configure. So I guess I need to seek oth

Re: [Rd] R CMD SHLIB error bad value (core2) for -mtune= switch

2012-10-23 Thread smzyij
Thank you so much Prof Ripley. You are right. So instead of using Windows R, I tried to compile binary R under Cygwin, but it errored out everytime at different places when I tried different options to configure. So I guess I need to seek other alternate ways. Is there any chance you think that I

Re: [Rd] R CMD SHLIB error bad value (core2) for -mtune= switch

2012-10-12 Thread Prof Brian Ripley
1) Cygwin is not a supported platform. See the 'R Installation and Administration Manual'. 2) C:\Program Files\R\R-2.15.1\etc\i386\Makeconf is for the Windows port of R, not Cygwin. Are you perchance trying to use Windows R with Cygwin compilers? It will not work Binary installations o

[Rd] R CMD SHLIB error bad value (core2) for -mtune= switch

2012-10-12 Thread smzyij
Hi there, I'm having trouble to compile the R + C/C++ codes for this project from Yahoo folks on latent factor models: https://github.com/yahoo/Latent-Factor-Models#readme After downloading the package from the site, I could not successfully *make* the files. Here is the message: =

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Lorenzo
Hi all, Thanks a LOT for your help. My issue actually came from the fact that my Renviron.site file was modifying the path variable (I though windows path and R path were different so hardcoded a path in Renviron. Because of this, the command in R "tool::.SHLIB()" was crashing R without any error

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread William Dunlap
am Dunlap > Sent: Wednesday, February 15, 2012 5:27 PM > To: Lorenzo; r-devel@r-project.org > Subject: Re: [Rd] R CMD SHLIB in Windows XP - No output at all > > Does the following example help? I installed Duncan Murdoch's > Rtools-2.13 into E:\Rtools-2.13 and R into E:\Pro

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread William Dunlap
ect.org] On > Behalf Of Lorenzo > Sent: Wednesday, February 15, 2012 4:03 PM > To: r-devel@r-project.org > Subject: Re: [Rd] R CMD SHLIB in Windows XP - No output at all > > Hi Duncan, > > Thanks for your help, I am actually using R Windows version 2.14.1 (22th Dec >

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Lorenzo
Hi Duncan, Thanks for your help, I am actually using R Windows version 2.14.1 (22th Dec 2011). Actually by "R CMD SHLIB *.*" I actually meant putting any file name after the R CMD SHLIB ("R CMD SHLIB convolve.c" for example). Another case which fails is : creating a Rcpp Armadillo package skeleto

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Lorenzo
Hi Dirk, Thanks for your suggestion. Seems that I have the same issue with the inline package, here is my output : INLINE SIMPLE EXAMPLE > library(Rcpp) > library(inline) > library(RcppArmadillo) > foo <- ' + int i, j, na, nb, nab; + double *xa, *xb, *xab; + SEXP ab; + + PR

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Duncan Murdoch
On 13/02/2012 7:09 PM, Lorenzo wrote: Hello all, I'm trying hard to make R CMD SHLIB work on Windows XP (32-bit) - please note that I don't have the admin rights on the computer. In terms of setup, I have followed the procedure : => installed Rtools 2.14 => changed my path : PATH=C:\Trading\R\

Re: [Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Dirk Eddelbuettel
On 13 February 2012 at 16:09, Lorenzo wrote: | Hello all, | | I'm trying hard to make R CMD SHLIB work on Windows XP (32-bit) - please Have a look at the countless examples and hundreds of unit tests in the Rcpp package. Almost all of them work by using the inline package to compile, link and l

[Rd] R CMD SHLIB in Windows XP - No output at all

2012-02-15 Thread Lorenzo
Hello all, I'm trying hard to make R CMD SHLIB work on Windows XP (32-bit) - please note that I don't have the admin rights on the computer. In terms of setup, I have followed the procedure : => installed Rtools 2.14 => changed my path : PATH=C:\Trading\R\RTools\bin;C:\Trading\R\RTools\MinGW\bin;C

[Rd] R CMD SHLIB on Mac OS X fails when the default tempdir() is used (PR#14168)

2009-12-28 Thread osklyar
This is prompted by trying to run the 'inline' package on Mac OS X Leopard = with R 2.10.1. Mac uses completely crazy temp paths and R uses those as wel= l. The inline package creates source files in the temp directory which it t= hen compiles with R CMD SHLIB and attaches. The compilation fails wi

Re: [Rd] R CMD SHLIB error using OS X

2007-06-12 Thread stefano iacus
please report to R-sig-mac stefano On 08/giu/07, at 06:29, Richard Zur wrote: > Hello, > > I'm using R 2.5.0 with OS X 10.4.9 and Xcode 2.4.1 on a PowerPC. My > code used to compile fine with R 2.4.* and Xcode 2.2 (I think). > > I'm compiling some C code (named mhroc_prop.c) that calls a fortran

Re: [Rd] R CMD SHLIB error using OS X

2007-06-08 Thread Simon Urbanek
Richard, On Jun 8, 2007, at 9:29 AM, Richard Zur wrote: > I'm using R 2.5.0 with OS X 10.4.9 and Xcode 2.4.1 on a PowerPC. My > code used to compile fine with R 2.4.* and Xcode 2.2 (I think). > > I'm compiling some C code (named mhroc_prop.c) that calls a fortran > routine from mvndstpack.f I g

[Rd] R CMD SHLIB error using OS X

2007-06-08 Thread Richard Zur
Hello, I'm using R 2.5.0 with OS X 10.4.9 and Xcode 2.4.1 on a PowerPC. My code used to compile fine with R 2.4.* and Xcode 2.2 (I think). I'm compiling some C code (named mhroc_prop.c) that calls a fortran routine from mvndstpack.f I get the error /usr/bin/libtool: file: mvndstpack.o is not

Re: [Rd] R CMD SHLIB fails under Mac OS (PR#9353)

2006-11-10 Thread Simon Urbanek
On Nov 10, 2006, at 2:04 PM, [EMAIL PROTECTED] wrote: > Full_Name: Hendrik Fuß > Version: 2.4.0 > OS: Mac OS 10.4.8 > Submission from: (NULL) (201.27.208.230) > > > R 2.4.0 on Mac OS X cannot seem to build shared libraries using R > CMD SHLIB. > > R CMD SHLIB mylib.o yields an error message: >

[Rd] R CMD SHLIB fails under Mac OS (PR#9353)

2006-11-10 Thread fuss-h
Full_Name: Hendrik Fuß Version: 2.4.0 OS: Mac OS 10.4.8 Submission from: (NULL) (201.27.208.230) R 2.4.0 on Mac OS X cannot seem to build shared libraries using R CMD SHLIB. R CMD SHLIB mylib.o yields an error message: /usr/bin/libtool: unknown option character `m' in: -macosx_version_min I can

Re: [Rd] R CMD SHLIB flags

2006-07-26 Thread Dirk Eddelbuettel
On 26 July 2006 at 16:59, Thomas Lumley wrote: | | How can one specify multiple extra flags to R CMD SHLIB? The example in | R-exts section 5.5 | MAKEFLAGS="CFLAGS=-O3" R CMD SHLIB *.c | works for a single flag, but when I try | MAKEFLAGS="CFLAGS=-g -O2 -Wall" R CMD SHLIB *.c | only the

[Rd] R CMD SHLIB flags

2006-07-26 Thread Thomas Lumley
How can one specify multiple extra flags to R CMD SHLIB? The example in R-exts section 5.5 MAKEFLAGS="CFLAGS=-O3" R CMD SHLIB *.c works for a single flag, but when I try MAKEFLAGS="CFLAGS=-g -O2 -Wall" R CMD SHLIB *.c only the first flag is used and the rest seem to be ignored (version

Re: [Rd] R CMD SHLIB

2006-05-17 Thread Prof Brian Ripley
On Wed, 17 May 2006, Bill Dunlap wrote: > On Wed, 17 May 2006, Martin Maechler wrote: > >>> "TL" == Thomas Lumley <[EMAIL PROTECTED]> >>> on Tue, 16 May 2006 10:15:11 -0700 (PDT) writes: >> >> TL> On Tue, 16 May 2006, Prof Brian Ripley wrote: >>>> It is possible to do things li

Re: [Rd] R CMD SHLIB

2006-05-17 Thread Bill Dunlap
On Wed, 17 May 2006, Martin Maechler wrote: > > "TL" == Thomas Lumley <[EMAIL PROTECTED]> > > on Tue, 16 May 2006 10:15:11 -0700 (PDT) writes: > > TL> On Tue, 16 May 2006, Prof Brian Ripley wrote: > >> It is possible to do things like > >> > >> env PKG_LIB="-L/opt/foo/l

Re: [Rd] R CMD SHLIB

2006-05-16 Thread Prof Brian Ripley
On Wed, 17 May 2006, Martin Maechler wrote: >> "TL" == Thomas Lumley <[EMAIL PROTECTED]> >> on Tue, 16 May 2006 10:15:11 -0700 (PDT) writes: > >TL> On Tue, 16 May 2006, Prof Brian Ripley wrote: >>> It is possible to do things like >>> >>> env PKG_LIB="-L/opt/foo/lib -lb

Re: [Rd] R CMD SHLIB

2006-05-16 Thread Martin Maechler
> "TL" == Thomas Lumley <[EMAIL PROTECTED]> > on Tue, 16 May 2006 10:15:11 -0700 (PDT) writes: TL> On Tue, 16 May 2006, Prof Brian Ripley wrote: >> It is possible to do things like >> >> env PKG_LIB="-L/opt/foo/lib -lbar" R CMD SHLIB *.c >> >> to add libraries

Re: [Rd] R CMD SHLIB

2006-05-16 Thread Thomas Lumley
On Tue, 16 May 2006, Prof Brian Ripley wrote: > It is possible to do things like > > env PKG_LIB="-L/opt/foo/lib -lbar" R CMD SHLIB *.c > > to add libraries to the creation of a shared object, but I have from time > to time wondered if we should allow > > R CMD SHLIB *.c -L/opt/foo/lib

[Rd] R CMD SHLIB

2006-05-16 Thread Prof Brian Ripley
It is possible to do things like env PKG_LIB="-L/opt/foo/lib -lbar" R CMD SHLIB *.c to add libraries to the creation of a shared object, but I have from time to time wondered if we should allow R CMD SHLIB *.c -L/opt/foo/lib -lbar not least as users seems to expect it to work.