Installing R 3.4.2 from ports doesn't find lib

Roland Smith rsmith at
Sun Oct 1 14:14:57 UTC 2017

On Sun, Oct 01, 2017 at 03:35:34PM +0200, Victor wrote:
> Under
> FreeBSD metbsd 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1 #0: Wed Aug  9 11:17:49 UTC 2017    
> root at  i386
> I'm trying to install the new R 3.4.2 version from ports (/usr/ports/math/R) but when I issue
> make install
> ..............
> ..............
> ===>  Checking if R already installed
> ===>   Registering installation for R-3.4.2
> pkg-static: Unable to access file /usr/ports/math/R/work/stage/usr/local/lib/R/library/grDevices/libs/ such file or directory
> *** Error code 74

Check your work tree if there actually *is* a

    cd /usr/ports/math/R/work/
    find . -type f -name

> Can someone out there help me to fix the problem?

If is not being built, I would suggest making a backup of the port Makefile.
Then edit the Makefile to change:



According to /usr/ports/Mk/, the ${opt}_CONFIGURE_WITH flag adds
“--with-${content}”. But from other options, it seems that R uses the
--enable/--disable style of options. That should be done with

[plain text email much appreciated]

More information about the freebsd-questions mailing list