From owner-freebsd-questions@freebsd.org Sun Oct 1 14:14:57 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C523CE25AE6 for ; Sun, 1 Oct 2017 14:14:57 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb1-smtp-cloud9.xs4all.net (lb1-smtp-cloud9.xs4all.net [194.109.24.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 65C3421B7 for ; Sun, 1 Oct 2017 14:14:56 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud9.xs4all.net with ESMTPA id yf1BdGDu6nIXbyf1Cd5vFR; Sun, 01 Oct 2017 16:14:54 +0200 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 123f0 by slackbox.erewhon.home (DragonFly Mail Agent v0.11+); Sun, 01 Oct 2017 16:14:53 +0200 Date: Sun, 1 Oct 2017 16:14:53 +0200 From: Roland Smith To: Victor Cc: FreeBSD Mailing List Subject: Re: Installing R 3.4.2 from ports doesn't find cairo.so lib Message-ID: <20171001141453.GB87960@slackbox.erewhon.home> Mail-Followup-To: Victor , FreeBSD Mailing List References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-CMAE-Envelope: MS4wfAnWP1YHznAbBKl1RXFJHrJmhUb5O8bG/gWpShIcsq3Ap2HBwxE5ha4/8z8gNC36b3FW6IUmb5tZPCfpoaHvD6gYPSdQdRtwpHEMaY3NnBF5E5yiGl7R 0ofJ4QaG0UsJwN3LJelIejhH5mb+RP2xLIHe9HMTAji1Q8Lna5kNOPWuyPEbla5jSl497vrjUHt4KQ== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 14:14:57 -0000 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]