Can't find gfortran 4.8 to build package

前端 未结 4 1940
后悔当初
后悔当初 2021-02-14 07:31

I\'m trying to install the deldir package in R via install.packages(\"deldir\",type = \'source\') but am getting the following error message (this is O

4条回答
  •  不思量自难忘°
    2021-02-14 08:04

    I had your same problem (in OS X Yosemite), and (unfortunately) painstakingly recreated your symlink "partial solution". Finally, I was able to solve the issue by forgetting about linking or aliasing and just downgrading to gfortran-4.8.

    I had installed the newer version with brew, so for me this entailed uninstalling

    brew uninstall gcc
    

    and then following the instructions here to install 4.8.2, i.e.

    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 /
    

    It still threw up some warnings but at least I got a successful installation of deldir, which I needed to run pgirmess.

提交回复
热议问题