<div dir="ltr">I have been reading the thread about woes with osx and RcppOctave. <div><br></div><div>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 :</div>
<div><br></div><div>[omitted]</div><div><br></div><div><div><div>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</div>
<div><br></div><div>installing to /Users/osxuser/Library/R/RcppOctave/libs</div></div></div><div><br></div><div><br></div><div><div>R(24620) malloc: *** error for object 0x7fff71042570: pointer being freed was not allocated</div>
<div>*** set a breakpoint in malloc_error_break to debug</div><div>/Library/Frameworks/R.framework/Resources/bin/INSTALL: line 34: 24619 Done echo 'tools:::.install_packages()'</div><div> 24620 Abort trap: 6 | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --slave --args ${args}</div>
</div><div><br></div><div><br></div><div><div><div><br></div></div></div><div>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?</div>
<div><br></div><div>----</div><div><br></div><div>This is my setup:</div><div><br></div><div><div>[~/scratch]$ gfortran --version</div><div>GNU Fortran (GCC) 4.8.2</div><div><br></div><div><div>[~/scratch]$ octave --version</div>
<div>GNU Octave, version 3.6.4</div></div><div><br></div><div><div>[~/scratch]$ R --version</div><div>R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"</div><div>Platform: x86_64-apple-darwin10.8.0 (64-bit)<br></div>
</div></div><div><br></div><div><br></div><div>Octave and gfortran are from homebrew. Osx version is Maverick. Xcode tools 5.0.1. </div><div><br></div><div><div>[ ~/scratch]$ clang --version</div><div>Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)</div>
</div><div><br></div><div><div>[ ~/scratch]$ g++ --version</div><div>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1</div><div>Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)</div>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>