Displaying 20 results from an estimated 900 matches similar to: "bug with R CMP SHLIB (PR#10945)"
2009 Apr 15
1
Compiling Fortran Subroutines as R Shared Objects on Mac OS-X
Hello,
I am trying to compile some F77 subroutines as shared objects for R on my Mac.
--> Mac OS-X Version 10.4.11 (Tiger Intel Mac)
I have done this (successfully) before on Sun Solaris and Linux Fedora systems using the following command.
> R CMD SHLIB myfile.f
I have g77 installed from this page.
http://hpc.sourceforge.net/
I am using R 2.8.1, and I have installed all 4 additional
2007 Jun 08
2
R CMD SHLIB error using OS X
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 an object file (not allowed
in a library)
after R outputs (sorry... not sure if this is
2007 Nov 06
2
Mac OS X Leopard and C compiling
I recently bought a new Intel Mac with OSX Leopard. I reinstalled the
latest version of R and the Xcode tools. I'm trying to compile a C
source code with the R compiler in X11, and I receive the following
error message:
[Macintosh:School Work 07-08/36-711/HW 3] dajmcdon% R CMD SHLIB McDonaldHW3.c
gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-std=gnu99 -no-cpp-precomp
2007 Nov 06
2
Mac OS X Leopard and C compiling
I recently bought a new Intel Mac with OSX Leopard. I reinstalled the
latest version of R and the Xcode tools. I'm trying to compile a C
source code with the R compiler in X11, and I receive the following
error message:
[Macintosh:School Work 07-08/36-711/HW 3] dajmcdon% R CMD SHLIB McDonaldHW3.c
gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-std=gnu99 -no-cpp-precomp
2008 Sep 22
1
Building binary package fails because of missing dependent package
On an (Intel Leopard) Mac I try to build a package (mxFinance) which
depends on another package (mxGraphics). The dependendy is 1) a
'Depends:' in DESCRIPTION and 2) an import in NAMESPACE.
- The build fails if the dependent package (mxGraphics) is not
installed in the R.framework
Do I need to have installed all packages which are required by
packages to be built binary (source builds
2008 Aug 21
1
pnmath compilation failure; dylib issue?
(1) ...need to speed up a monte-carlo sampling...any suggestions about
how I can get R to use all 8 cores of a mac pro would be most useful
and very appreciated...
(2) spent the last few hours trying to get pnmath to compile under os-
x 10.5.4...
using gcc version 4.2.1 (Apple Inc. build 5553) as downloaded from
CRAN, xcode 3.0...
...xcode 3.1 installed over top of above after
2008 May 24
1
RSPerl & OS X
Hi,
I'm wanting to call R from Perl via the RSPerl package. However I cannot
seem to install it on my Macbook (OS X Tiger - R 2.6 - Perl 5.8.6). I try to
install the source downloaded from the sigmahat website - but it seems to
fail - when I search my system for R.pm - I can't find it? Something looks
to be going wrong with the make bits?
Cheers
David M
----
$ R CMD INSTALL
2007 Nov 03
0
installing packages on OS X -- lgfortran problem
I am trying to install two packages that are not available at CRAN
(rmutil, dna). When trying the R CMD INSTALL with either file, I get
an error message that ends with
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file
for: -lgfortran
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lgfortran
is not an object file (not allowed in a library)
Can anyone
2007 Jan 30
1
Error message when building a package
I'm trying to build a package. The machine is PowerPC G4 with Mac OS 10.4.8,
and I'm using R2.4.1.
I get "R CMD build roots" working, and it created roots.tar.gz. But I get
the following message when I run "R CMD INSTALL -l ../myrlibrary
roots.tar.gz"
======================================================================
* Installing *source* package 'roots'
2007 Apr 05
1
Problem installing rgdal on Mac OS X
Please forgive me for posting this here if it is not appropriate (where
should this question be posed?)?
I am attempting to install rgdal (from source, since there is no binary)
on Mac OS X 10.4.9 on a PowerPC G3 Macintosh. I have R version 2.4.1
(2006-12-18) installed. Following the install directions suggested at:
http://www.sal.uiuc.edu/tools/tools-sum/rgeo/rgeo-detail/map-packages-on-cran
2009 Dec 27
0
R CMD SHLIB on Mac OS X fails when the default tempdir() is used (PR#14168)
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 with the =
error message below which seems to be caused by the complexity of the path =
2010 Apr 14
0
SHLIB works but inline compilation does not
Jeff Brown wrote:
>
> Hi,
>
> I appear to be able to compile, load and call shared objects using SHLIB
> and .Call:
>
>> code <- '#include <R.h>\n #include <Rdefines.h>\n SEXP f(){\n return
>> R_NilValue ; }'
>> writeLines( code, "test.c" )
>> system( "R CMD SHLIB test.c" )
> gcc -arch i386 -std=gnu99
>
2012 Jan 01
1
Compiling 64-bit libFLAC/libFLAC++ on OS X Lion, anyone successful?
I have also asked this question on stackoverflow (http://stackoverflow.com/questions/8694676/compiling-64-bit-flac-libflac-in-os-x-lion), which you can answer if you're interested in reputation points.
I am very unfamiliar with compiling C/C++ source of this size, and I'm having trouble debugging the issue. Basically, in the root folder of the FLAC bundle, even if I use the flags
2006 Nov 15
4
dyn.load (PR#9364)
Full_Name: Jonathan Tuke
Version: 2.4.0
OS: Mac OS X 10.4.8
Submission from: (NULL) (203.173.46.189)
I am writing C code to implement in R. I am using R CMD SHLIB and then
dyn.load("file.so"). The function I then call with .C("function"). Since I
installed the latest R version, I have found that if I alter my C code and
recompile, then use dyn.load("file.so"), the
2012 Sep 27
1
[LLVMdev] CLang/LLVM SVN for today no longer works on OS X 10.7.4
Here you go:
http://www.cornwarning.com/xfer/jccolor.o (from the jpeg library...)
jccolor.o:
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
MH_MAGIC_64 X86_64 ALL 0x00 OBJECT 4 432
SUBSECTIONS_VIA_SYMBOLS
Load command 0
cmd LC_SEGMENT_64
cmdsize 312
segname
vmaddr 0x0000000000000000
vmsize 0x0000000000000900
2011 Mar 16
1
object not found whilst loading namespace
I've been updating a package and, when installing a local devel
version, I get an error "object 'confusionMatrix' not found whilst
loading namespace". Looking around online, it appears that this might
be related to loading a specific RData file, but it doesn't seem to be
the case AFAICT.
I've installed the devel version in the last week without issues and
the
2009 Jan 14
2
[LLVMdev] quick q configuring osx
Le 14 janv. 09 à 21:48, Chris Lattner a écrit :
>
> On Jan 14, 2009, at 12:44 PM, Graham Wakefield wrote:
>
>> Sorry if this is a newb q... I'm developing an application on a
>> 10.5 machine but want to target the 10.4 SDK. Is there a magic
>> incantation for the llvm configure script to set the sysroot path,
>> equivalent to e.g. --with-sysroot
2009 Oct 25
2
[LLVMdev] configuring LLVM 2.6 for OSX 10.4sdk on OSX 10.5 system
Hi all,
(Sorry if the answer to this is obvious - and thanks in advance~)
Short version:
linker error of _backtrace from LLVMSystem.a building a dynamic
library embedding LLVM/clang, both against the OSX 10.4 sdk.
Long version:
I've just tried rebuilding my project using the 2.6 release, using the
following commands to try and force LLVM to build against the OSX 10.4
sdk (I am
2010 Jan 31
3
[LLVMdev] llvm-gcc 4.0 question
Thanks for responding, Duncan, and clarifying that y'all need more info
to help.
I'm trying to compile binaries on os x 10.5.8 intel hardware that are
compatible on ppc os x 10.4.
When I include various flags to llvm-gcc, including: -m32 -arch ppc
-isysroot /Developer/SDKs/MacOS10.4u.sdk -mmacosx-version-min=10.4
I am seeing errors when compiling using llvm-gcc 4.2.
If I leave out
2011 Oct 11
1
R CMD INSTALL writes to stderr
Dear list,
(this is a follow up from a previous query)
Why does R CMD INSTALL write most of its messages to stderr? If it wrote to stdout, then we could capture its output within an R session when calling
sink("stdout.txt", type="output")
install.packages("MASS", type="source")
sink()
As it stands, the stderr messages can't be captured via