首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Node-Canvas Cairo构建错误

Node-Canvas Cairo构建错误
EN

Stack Overflow用户
提问于 2015-01-03 01:32:01
回答 1查看 309关注 0票数 0

我在OSX上从源代码安装cairo时遇到错误。我遵循这个指南:https://github.com/Automattic/node-canvas/wiki/Installation---OSX。我在谷歌(https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#sourceid=chrome-psyapi2&ie=UTF-8&q=%22x86_64-apple-darwin14.0.0-pkg-config%3a%20file%20exists%22)上找不到任何关于"x86_64-apple-darwin14.0.0-pkg-config: File exists“的参考,除了显示输出之外,我不知道如何描述它:

代码语言:javascript
复制
$ tar -zxf pkgconfig.tgz && cd pkg-config-0.28
$ ./configure --with-internal-glib && make install
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-apple-darwin14.0.0
checking host system type... x86_64-apple-darwin14.0.0
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep

...
...

  CC       gwakeup.lo
  CC       gprintf.lo
  CC       glib-unix.lo
  CC       gthread-posix.lo
  CC       giounix.lo
  CC       gspawn.lo
  CCLD     libglib-2.0.la
echo   > glib-public-headers.txt.tmp && mv glib-public-headers.txt.tmp glib-public-headers.txt
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
Making install in .
  CC       pkg.o
  CC       parse.o
  CC       main.o
  CCLD     pkg-config
 /usr/local/bin/gmkdir -p '/usr/local/bin'
  /bin/sh ./libtool   --mode=install /usr/local/bin/ginstall -c pkg-config '/usr/local/bin'
libtool: install: /usr/local/bin/ginstall -c pkg-config /usr/local/bin/pkg-config
/Applications/Xcode.app/Contents/Developer/usr/bin/make  install-exec-hook
cd /usr/local/bin && ln pkg-config x86_64-apple-darwin14.0.0-pkg-config
ln: x86_64-apple-darwin14.0.0-pkg-config: File exists
EN

回答 1

Stack Overflow用户

发布于 2015-01-09 07:40:31

请先尝试"make uninstall“,然后重试

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27746108

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档