Message-ID: <m27flekks5.fsf@krugs.de>
Date: 2015-11-19T16:37:30Z
From: Rainer M Krug
Subject: [R-pkg-devel] Build fails on Mavericks
In-Reply-To: <564DDF72.301@gmail.com> (Duncan Murdoch's message of "Thu, 19 Nov 2015 09:40:50 -0500")
Duncan Murdoch <murdoch.duncan at gmail.com> 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't figure out how to solve it.
>> "which gcc" points to "/usr/bin/gcc"
>> Does someone have any idea on how on this?
>
> You didn't say what system you're on, but the message is coming from
> clang, not gcc, so it looks like OSX, and "which gcc" is irrelevant.
> If so, you probably want to ask on the R-sig-mac group. If not, give
> more details.
Also: did you use the official R installer or installed it using homebrew?
The path looks very much like homebrew. If yes, try installing readline