Installing R 3.4.2 from ports doesn't find cairo.so lib

Victor vdemart at gmail.com
Sun Oct 1 17:13:28 UTC 2017


I modified
> CAIROPANGO_CONFIGURE_WITH=cairo
> 
> to
>    CAIROPANGO_CONFIGURE_ENABLE=cairo

to no avail. Same error!
Ciao
Vittorio
Il giorno 01/ott/2017, alle ore 16:14, Roland Smith ha scritto:

> 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 amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  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/cairo.so:No such file or directory
>> *** Error code 74
> 
> ........
> If cairo.so is not being built, I would suggest making a backup of the port Makefile.
> Then edit the Makefile to change:
> 
>    CAIROPANGO_CONFIGURE_WITH=cairo
> 
> to
>    CAIROPANGO_CONFIGURE_ENABLE=cairo
> 
> According to /usr/ports/Mk/bsd.options.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
> ${opt}_CONFIGURE_ENABLE.
> 
> Roland
> -- 
> R.F.Smith                                   http://rsmith.home.xs4all.nl/
> [plain text email much appreciated]



More information about the freebsd-questions mailing list