Date: Sun, 1 Oct 2017 16:14:53 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Victor <vdemart@gmail.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Installing R 3.4.2 from ports doesn't find cairo.so lib Message-ID: <20171001141453.GB87960@slackbox.erewhon.home> In-Reply-To: <BF0BE6D1-F860-472C-B029-1B3411E4D8AF@gmail.com> References: <BF0BE6D1-F860-472C-B029-1B3411E4D8AF@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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 Check your work tree if there actually *is* a cairo.so: cd /usr/ports/math/R/work/ find . -type f -name cairo.so > Can someone out there help me to fix the problem? 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]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171001141453.GB87960>