On Tue, May 5, 2015 at 10:51 PM, Steve Lianoglou
<lianoglou.st...@gene.com> wrote:
> Hi,
>
> On Tue, May 5, 2015 at 8:41 PM, Peng Yu <pengyu...@gmail.com> wrote:
>> On Tue, May 5, 2015 at 3:12 PM, Steve Lianoglou
>> <lianoglou.st...@gene.com> wrote:
>>> Following the instructions here worked for me:
>>>
>>> http://www.thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error
>>>
>>> Although the instructions have a slight typo in them, and probably should 
>>> read:
>>>
>>>   curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
>>>   sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /
>>>
>>> I should note that I was having different problems than what you
>>> report, though, but try that.
>>
>> Nothing has been fixed.
>
> On second thought, I'm not sure why I thought to suggest that other
> than you'll probably need it later (ie. if you want to compile
> RcppArmadillo, which is what tripped me up) -- Rcpp doesn't require a
> "working" fortran compiler, I'd imagine ;-)
>
>> I have macports installed.Could it be the problem?
>
> Maybe?
>
> You didn't happen to install an updated gcc from macports, did you?
> What's the output of:
>
>   $ which g++

~$ type -P g++
/usr/bin/g++

> and
>
>   $ g++ --version

~$ g++ --version
Configured with:
--prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

> from the command line?
>
> -steve
>
> --
> Steve Lianoglou
> Computational Biologist
> Genentech



-- 
Regards,
Peng
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to