From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 22:25:55 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21DC142E for ; Sun, 18 Jan 2015 22:25:55 +0000 (UTC) Received: from smtp10.hushmail.com (smtp10.hushmail.com [65.39.178.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.hushmail.com", Issuer "Self-signed" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 05C1B834 for ; Sun, 18 Jan 2015 22:25:54 +0000 (UTC) Received: from smtp10.hushmail.com (localhost [127.0.0.1]) by smtp10.hushmail.com (Postfix) with SMTP id 949E4C0189 for ; Sun, 18 Jan 2015 21:46:38 +0000 (UTC) Received: from smtp.hushmail.com (w2.hushmail.com [65.39.178.46]) by smtp10.hushmail.com (Postfix) with ESMTP for ; Sun, 18 Jan 2015 21:46:38 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id 6126FA0685; Sun, 18 Jan 2015 21:46:38 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 18 Jan 2015 21:46:38 +0000 To: freebsd-questions@freebsd.org Subject: Re: npm install canvas on FreeBSD 10.1 From: opendaddy@hushmail.com In-Reply-To: <20150118211153.A1914A0684@smtp.hushmail.com> References: <20150118193023.30449A0685@smtp.hushmail.com> <20150118211153.A1914A0684@smtp.hushmail.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20150118214638.6126FA0685@smtp.hushmail.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2015 22:25:55 -0000 * pkgconf On 18. januar 2015 at 9:05 PM, opendaddy@hushmail.com wrote: > >Marked as solved -- I was missing the `pkgconfig` package. > >Thanks! > >O.D. > >On 18. januar 2015 at 7:59 PM, opendaddy@hushmail.com wrote: >> >>Hello! >> >>Can anyone tell what's up with this? `cairo-1.12.18_1,2` is >>installed. I've tried `export >>PKG_CONFIG_PATH=/usr/local/libdata/pkgconfig` to no avail: >> >> # uname -a >> FreeBSD test 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: >Tue >>Nov 11 21:02:49 UTC 2014 >> # npm install canvas >> / >> > canvas@1.1.6 install /usr/home/www/myapp/node_modules/canvas >> > node-gyp rebuild >> >> ./util/has_cairo_freetype.sh: line 4: pkg-config: command not >>found >> gyp: Call to './util/has_cairo_freetype.sh' returned exit >>status 0. while trying to load binding.gyp >> gyp ERR! configure error >> gyp ERR! stack Error: `gyp` failed with exit code: 1 >> gyp ERR! stack at ChildProcess.onCpExit >>(/usr/local/lib/node_modules/npm/node_modules/node- >>gyp/lib/configure.js:343:16) >> gyp ERR! stack at ChildProcess.emit (events.js:98:17) >> gyp ERR! stack at Process.ChildProcess._handle.onexit >>(child_process.js:820:12) >> gyp ERR! System FreeBSD 10.1-RELEASE >> gyp ERR! command "node" >>"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node- >>gyp.js" "rebuild" >> gyp ERR! cwd /usr/home/www/myapp/node_modules/canvas >> gyp ERR! node -v v0.10.35 >> gyp ERR! node-gyp -v v1.0.2 >> gyp ERR! not ok >> npm ERR! FreeBSD 10.1-RELEASE >> npm ERR! argv "node" "/usr/local/bin/npm" "install" "canvas" >> npm ERR! node v0.10.35 >> npm ERR! npm v2.1.18 >> npm ERR! code ELIFECYCLE >> >> npm ERR! canvas@1.1.6 install: `node-gyp rebuild` >> npm ERR! Exit status 1 >> npm ERR! >> npm ERR! Failed at the canvas@1.1.6 install script 'node-gyp >>rebuild'. >> npm ERR! This is most likely a problem with the canvas >package, >> npm ERR! not with npm itself. >> npm ERR! Tell the author that this fails on your system: >> npm ERR! node-gyp rebuild >> npm ERR! You can get their info via: >> npm ERR! npm owner ls canvas >> npm ERR! There is likely additional logging output above. >> >> npm ERR! Please include the following file with any support >>request: >> npm ERR! /usr/home/www/myapp/npm-debug.log >> >>Thanks! >> >>O.D. >> >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions- >>unsubscribe@freebsd.org" > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions- >unsubscribe@freebsd.org"