Displaying 20 results from an estimated 1000 matches similar to: "Mac OS X Leopard and C compiling"
2008 Mar 12
2
bug with R CMP SHLIB (PR#10945)
Hello,
I'm working with R, I try to call C from R.
When I try to compile my file.c to make file.so, with the command :
R CMD SHLIB foo.c
return the message :
gcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-mmacosx-version-min=10.4 -std=gnu99 -dynamiclib
-Wl,-headerpad_max_install_names -Wl,-macosx_version_min -Wl,10.4 -undefined
dynamic_lookup -single_module -multiply_defined
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
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
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
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
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
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
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
2008 Feb 20
3
OSX universal rsync
Hi All,
Well, we compiled pre9 on an intel Mac running Tiger and now it
does work on the machine. I need to see if that will now work on a PPC
mac though. Hopefully it will but I am wondering if there is a way to
compile and make a universal binary rsync for the Mac that will run on
both, from my PPC Mac. Itried that yesterday with
patch -p1 <patches/flags.diff
patch -p1
2009 Jan 14
0
[LLVMdev] quick q configuring osx
Hi,
For the record, adding
UNIVERSAL_SDK_PATH=/Developer/SDKs/MacOSX10.4u.sdk/
was insufficient to restrict the .a/.o files to link against the 10.4
sdk, but
env MACOSX_DEPLOYMENT_TARGET=10.4 make
did the trick.
Thanks!
On Jan 14, 2009, at 1:29 PM, Jean-Daniel Dupas wrote:
>
> Le 14 janv. 09 à 21:48, Chris Lattner a écrit :
>
>>
>> On Jan 14, 2009, at 12:44 PM,
2009 Oct 25
0
[LLVMdev] configuring LLVM 2.6 for OSX 10.4sdk on OSX 10.5 system
On Oct 25, 2009, at 1:58 PM, Graham Wakefield wrote:
> 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,
2008 Jul 10
1
compiling pnmath on an intel processor running mac OS 10.5
Has anyone successfully compiled pnmath (http://www.stat.uiowa.edu/~luke/R/experimental
) for an intel processor running mac OS 10.5? When I attempt to do so
via the R package installer (choosing "Local Source Package" and
pointing to the pnmath_0.0-2.tar.gz file), I get the following errors:
* Installing *source* package 'pnmath' ...
** libs
** arch - i386
gcc -arch i386
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
2009 Dec 22
1
[LLVMdev] [PATCH] Cross-compiling LLVM on Mac OS X
>> Daniel's comments are also good.
>
> …success!
Looks like I spoke a bit too soon. Everything works as far as the fat binaries are concerned, except that -mmacosx-version-min is set to the host’s OS version, not that of the SDK, causing errors when it tries to link against 10.6’s versions of libraries instead of 10.5’s.
This patch appears to solve that; it uses the OS version
2008 Oct 31
1
rimage don't install on mac OS X 10.5.5
Hello, i'm trying to install de rimage package form source. I have
installed fftw2.1.5 and libjpeg, but during compilation appear this
message:
* Installing *source* package 'rimage' ...
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of
2012 Feb 10
2
Compiling flac for OSX 10.4
Hi, everyone.
I've been trying to compile flac 1.2.1 on OSX by using the 10.4 SDK. I
need to use the 10.4 SDK because the application linking to flac
requires it. Compiling flac with 10.5 results in link issues due to
10.5's fopen being different.
Unfortunately, when trying to compile using a command such as:
CFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
2008 Jan 14
1
Install RSPerl in Leopard
Hi,
I am having problems installing RSPerl 0.92-1 in my Mac OSX 10.5.1.
I?ve installed correctly R-2.6.1 with the .mpkg.
I run the next command: <R CMD INSTALL --configure-args=' --with-in-
perl ' RSPerl>
And the next error message appears:
RSPerl
* Installing to library '/Library/Frameworks/R.framework/Resources/
library'
* Installing *source* package
2011 Sep 02
1
[LLVMdev] does new EH require newer linker?
Is the new EH scheme completely compatible with the existing linker in Xcode 4.1?
I am finding that today's changes break the ability to link xplor-nih with dragonegg
under FSF gcc 4.6.2...
de-g++46 -c thread.cc -O3 -ffast-math -funroll-loops -g -DX_MMAP_FLAGS=0 -DFORTRAN_INIT -fno-common -DDARWIN -D_REENTRANT -DNDEBUG -I/Users/howarth/xplor-nih-2.27/vmd/
2006 Apr 28
1
Installing the Mac RGUI for OS X
Hello,
Having installed R 2.3 for OS X Tiger 10.4.6(PPC), i tried running
the new R.app, but it hangs (spinning beachball).
Moreover, i can't install the RGUI from within the R-2.3 DMG, - it
tells me i must have R 10.4 installed ! (I have 10.4.6)
R 2.3 runs successfully from the command line however.
I tried compiling from sources, but Xcode has this error(i.e it
can't locate
2011 Oct 02
1
i'd like to know how to add support for i386 on a power pc m
Hello,
i'm using a power pc mac and i'd like to build attesor (qemu).
but when i type file /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libSystem.B.dylib
i get:
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libSystem.B.dylib: Mach-O universal binary with 2 architectures
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libSystem.B.dylib (for architecture ppc): Mach-O dynamically linked shared library stub