Re: [R-pkg-devel] Build fails on Mavericks

2015-11-19 Thread Zhian Kamvar
Might it be an issue with your Makevars file? As far as I can tell, by default, OS X sets clang as the C compiler. If you installed gcc separately, then you have to tell R to use it in ~/.R/Makevars Here's an example of my Makevars file so that I can run C code with openmp: https://gist.github.

Re: [R-pkg-devel] Build fails on Mavericks

2015-11-19 Thread Daniel Marcelino
Yes, I do use homebrew for installing almost everything. I ended up solving the issue with $ brew link readline --forc e Daniel On Thu, Nov 19, 2015 at 2:37 PM, Rainer M Krug wrote: > Duncan Murdoch writes: > >> On 19/11/2015 9:05 AM, Daniel Marcelino wrote: >>> Hi, I'm having this error when

Re: [R-pkg-devel] Build fails on Mavericks

2015-11-19 Thread Rainer M Krug
Duncan Murdoch writes: > On 19/11/2015 9:05 AM, Daniel Marcelino wrote: >> Hi, I'm having this error when building C functions from a package: >> >> clang: error: no such file or directory: '/usr/local/lib/libreadline.a' >> >> Apparently, it's a path issue caused by xcode/gfortran, but I couldn

Re: [R-pkg-devel] Build fails on Mavericks

2015-11-19 Thread Duncan Murdoch
On 19/11/2015 9:05 AM, Daniel Marcelino wrote: Hi, I'm having this error when building C functions from a package: clang: error: no such file or directory: '/usr/local/lib/libreadline.a' Apparently, it's a path issue caused by xcode/gfortran, but I couldn't figure out how to solve it. "which

[R-pkg-devel] Build fails on Mavericks

2015-11-19 Thread Daniel Marcelino
Hi, I'm having this error when building C functions from a package:  clang: error: no such file or directory: '/usr/local/lib/libreadline.a'  Apparently, it's a path issue caused by xcode/gfortran, but I couldn't figure out how to solve it.  "which gcc" points to "/usr/bin/gcc" Does someone have