[Rcppoctave-user] Apple Blues

Giuseppe neox86 at gmail.com
Mon Nov 4 16:18:54 CET 2013


I have been reading the thread about woes with osx and RcppOctave.

If I am correct, it seems that the issue is declared closed if
"--no-test-load" is added to "R CMD INSTALL". Unfortunately, this does not
work for me. This is what I get :

[omitted]

llvm-g++-4.2 -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names
-undefined dynamic_lookup -single_module -multiply_defined suppress
-L/usr/local/lib -L/usr/local/lib -o RcppOctave.so conversion.o
rcpp_octave.o /Users/osxuser/Library/R/Rcpp/lib/libRcpp.a
-L/usr/local/Cellar/octave/3.6.4/lib/octave/3.6.4
-L/usr/local/Cellar/octave/3.6.4/lib -loctinterp -loctave -lcruft
-F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework
-Wl,CoreFoundation

installing to /Users/osxuser/Library/R/RcppOctave/libs


R(24620) malloc: *** error for object 0x7fff71042570: pointer being freed
was not allocated
*** set a breakpoint in malloc_error_break to debug
/Library/Frameworks/R.framework/Resources/bin/INSTALL: line 34: 24619 Done
                   echo 'tools:::.install_packages()'
     24620 Abort trap: 6           | R_DEFAULT_PACKAGES= LC_COLLATE=C
"${R_HOME}/bin/R" $myArgs --slave --args ${args}



However, i think the Makevars does not picks up the correct location of the
R library. I saw in the list that a patch was sent. Can I have it too to
test and see weather this is my case?

----

This is my setup:

[~/scratch]$ gfortran --version
GNU Fortran (GCC) 4.8.2

[~/scratch]$ octave --version
GNU Octave, version 3.6.4

[~/scratch]$ R --version
R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Platform: x86_64-apple-darwin10.8.0 (64-bit)


Octave and gfortran are from homebrew. Osx version is Maverick. Xcode tools
5.0.1.

[ ~/scratch]$ clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

[ ~/scratch]$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcppoctave-user/attachments/20131104/408d06a0/attachment.html>


More information about the Rcppoctave-user mailing list