最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】brew安装watchman时出错:Error Could not link

Web crifan 4958浏览 0评论

折腾:

【记录】折腾React Native iOS

出错:

➜  ~ brew install watchman
Updating Homebrew…
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
gandi.cli                                   libtensorflow                               uniutils
==> Updated Formulae
android-ndk     basex           gnome-autoar    juju            m-cli           mame            rom-tools       storm
Error: Could not link:
/usr/local/etc/bash_completion.d/brew
Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/doc/homebrew
Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/zsh/site-functions/_brew
Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/man/man1/brew.1
Please delete these paths and run `brew update`.
==> Installing dependencies for watchman: pcre
==> Installing watchman dependency: pcre
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.39.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pcre-8.39.sierra.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/pcre-config
Target /usr/local/bin/pcre-config
is a symlink belonging to pcre. You can unlink it:
  brew unlink pcre
To force the link and overwrite all conflicting files:
  brew link –overwrite pcre
To list all files that would be deleted:
  brew link –overwrite –dry-run pcre
Possible conflicting files are:
/usr/local/bin/pcre-config -> /usr/local/Cellar/pcre/8.38/bin/pcre-config
/usr/local/bin/pcregrep -> /usr/local/Cellar/pcre/8.38/bin/pcregrep
/usr/local/bin/pcretest -> /usr/local/Cellar/pcre/8.38/bin/pcretest
/usr/local/include/pcre.h -> /usr/local/Cellar/pcre/8.38/include/pcre.h
/usr/local/include/pcre_scanner.h -> /usr/local/Cellar/pcre/8.38/include/pcre_scanner.h
/usr/local/include/pcre_stringpiece.h -> /usr/local/Cellar/pcre/8.38/include/pcre_stringpiece.h
/usr/local/include/pcrecpp.h -> /usr/local/Cellar/pcre/8.38/include/pcrecpp.h
/usr/local/include/pcrecpparg.h -> /usr/local/Cellar/pcre/8.38/include/pcrecpparg.h
/usr/local/include/pcreposix.h -> /usr/local/Cellar/pcre/8.38/include/pcreposix.h
/usr/local/share/doc/pcre/AUTHORS
/usr/local/share/doc/pcre/COPYING
/usr/local/share/doc/pcre/ChangeLog
/usr/local/share/doc/pcre/LICENCE
/usr/local/share/doc/pcre/NEWS
/usr/local/share/doc/pcre/README
/usr/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt
/usr/local/share/doc/pcre/html/README.txt
/usr/local/share/doc/pcre/html/index.html
/usr/local/share/doc/pcre/html/pcre-config.html
/usr/local/share/doc/pcre/html/pcre.html
/usr/local/share/doc/pcre/html/pcre16.html
/usr/local/share/doc/pcre/html/pcre32.html
/usr/local/share/doc/pcre/html/pcre_assign_jit_stack.html
/usr/local/share/doc/pcre/html/pcre_compile.html
/usr/local/share/doc/pcre/html/pcre_compile2.html
/usr/local/share/doc/pcre/html/pcre_config.html
/usr/local/share/doc/pcre/html/pcre_copy_named_substring.html
/usr/local/share/doc/pcre/html/pcre_copy_substring.html
/usr/local/share/doc/pcre/html/pcre_dfa_exec.html
/usr/local/share/doc/pcre/html/pcre_exec.html
/usr/local/share/doc/pcre/html/pcre_free_study.html
/usr/local/share/doc/pcre/html/pcre_free_substring.html
/usr/local/share/doc/pcre/html/pcre_free_substring_list.html
/usr/local/share/doc/pcre/html/pcre_fullinfo.html
/usr/local/share/doc/pcre/html/pcre_get_named_substring.html
/usr/local/share/doc/pcre/html/pcre_get_stringnumber.html
/usr/local/share/doc/pcre/html/pcre_get_stringtable_entries.html
/usr/local/share/doc/pcre/html/pcre_get_substring.html
/usr/local/share/doc/pcre/html/pcre_get_substring_list.html
/usr/local/share/doc/pcre/html/pcre_jit_exec.html
/usr/local/share/doc/pcre/html/pcre_jit_stack_alloc.html
/usr/local/share/doc/pcre/html/pcre_jit_stack_free.html
/usr/local/share/doc/pcre/html/pcre_maketables.html
/usr/local/share/doc/pcre/html/pcre_pattern_to_host_byte_order.html
/usr/local/share/doc/pcre/html/pcre_refcount.html
/usr/local/share/doc/pcre/html/pcre_study.html
/usr/local/share/doc/pcre/html/pcre_utf16_to_host_byte_order.html
/usr/local/share/doc/pcre/html/pcre_utf32_to_host_byte_order.html
/usr/local/share/doc/pcre/html/pcre_version.html
/usr/local/share/doc/pcre/html/pcreapi.html
/usr/local/share/doc/pcre/html/pcrebuild.html
/usr/local/share/doc/pcre/html/pcrecallout.html
/usr/local/share/doc/pcre/html/pcrecompat.html
/usr/local/share/doc/pcre/html/pcrecpp.html
/usr/local/share/doc/pcre/html/pcredemo.html
/usr/local/share/doc/pcre/html/pcregrep.html
/usr/local/share/doc/pcre/html/pcrejit.html
/usr/local/share/doc/pcre/html/pcrelimits.html
/usr/local/share/doc/pcre/html/pcrematching.html
/usr/local/share/doc/pcre/html/pcrepartial.html
/usr/local/share/doc/pcre/html/pcrepattern.html
/usr/local/share/doc/pcre/html/pcreperform.html
/usr/local/share/doc/pcre/html/pcreposix.html
/usr/local/share/doc/pcre/html/pcreprecompile.html
/usr/local/share/doc/pcre/html/pcresample.html
/usr/local/share/doc/pcre/html/pcrestack.html
/usr/local/share/doc/pcre/html/pcresyntax.html
/usr/local/share/doc/pcre/html/pcretest.html
/usr/local/share/doc/pcre/html/pcreunicode.html
/usr/local/share/doc/pcre/pcre-config.txt
/usr/local/share/doc/pcre/pcre.txt
/usr/local/share/doc/pcre/pcregrep.txt
/usr/local/share/doc/pcre/pcretest.txt
/usr/local/share/doc/pcre/AUTHORS
/usr/local/share/doc/pcre/COPYING
/usr/local/share/doc/pcre/ChangeLog
/usr/local/share/doc/pcre/LICENCE
/usr/local/share/doc/pcre/NEWS
/usr/local/share/doc/pcre/README
/usr/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt
/usr/local/share/doc/pcre/html/README.txt
/usr/local/share/doc/pcre/html/index.html
/usr/local/share/doc/pcre/html/pcre-config.html
/usr/local/share/doc/pcre/html/pcre.html
/usr/local/share/doc/pcre/html/pcre16.html
/usr/local/share/doc/pcre/html/pcre32.html
/usr/local/share/doc/pcre/html/pcre_assign_jit_stack.html
/usr/local/share/doc/pcre/html/pcre_compile.html
/usr/local/share/doc/pcre/html/pcre_compile2.html
/usr/local/share/doc/pcre/html/pcre_config.html
/usr/local/share/doc/pcre/html/pcre_copy_named_substring.html
/usr/local/share/doc/pcre/html/pcre_copy_substring.html
/usr/local/share/doc/pcre/html/pcre_dfa_exec.html
/usr/local/share/doc/pcre/html/pcre_exec.html
/usr/local/share/doc/pcre/html/pcre_free_study.html
/usr/local/share/doc/pcre/html/pcre_free_substring.html
/usr/local/share/doc/pcre/html/pcre_free_substring_list.html
/usr/local/share/doc/pcre/html/pcre_fullinfo.html
/usr/local/share/doc/pcre/html/pcre_get_named_substring.html
/usr/local/share/doc/pcre/html/pcre_get_stringnumber.html
/usr/local/share/doc/pcre/html/pcre_get_stringtable_entries.html
/usr/local/share/doc/pcre/html/pcre_get_substring.html
/usr/local/share/doc/pcre/html/pcre_get_substring_list.html
/usr/local/share/doc/pcre/html/pcre_jit_exec.html
/usr/local/share/doc/pcre/html/pcre_jit_stack_alloc.html
/usr/local/share/doc/pcre/html/pcre_jit_stack_free.html
/usr/local/share/doc/pcre/html/pcre_maketables.html
/usr/local/share/doc/pcre/html/pcre_pattern_to_host_byte_order.html
/usr/local/share/doc/pcre/html/pcre_refcount.html
/usr/local/share/doc/pcre/html/pcre_study.html
/usr/local/share/doc/pcre/html/pcre_utf16_to_host_byte_order.html
/usr/local/share/doc/pcre/html/pcre_utf32_to_host_byte_order.html
/usr/local/share/doc/pcre/html/pcre_version.html
/usr/local/share/doc/pcre/html/pcreapi.html
/usr/local/share/doc/pcre/html/pcrebuild.html
/usr/local/share/doc/pcre/html/pcrecallout.html
/usr/local/share/doc/pcre/html/pcrecompat.html
/usr/local/share/doc/pcre/html/pcrecpp.html
/usr/local/share/doc/pcre/html/pcredemo.html
/usr/local/share/doc/pcre/html/pcregrep.html
/usr/local/share/doc/pcre/html/pcrejit.html
/usr/local/share/doc/pcre/html/pcrelimits.html
/usr/local/share/doc/pcre/html/pcrematching.html
/usr/local/share/doc/pcre/html/pcrepartial.html
/usr/local/share/doc/pcre/html/pcrepattern.html
/usr/local/share/doc/pcre/html/pcreperform.html
/usr/local/share/doc/pcre/html/pcreposix.html
/usr/local/share/doc/pcre/html/pcreprecompile.html
/usr/local/share/doc/pcre/html/pcresample.html
/usr/local/share/doc/pcre/html/pcrestack.html
/usr/local/share/doc/pcre/html/pcresyntax.html
/usr/local/share/doc/pcre/html/pcretest.html
/usr/local/share/doc/pcre/html/pcreunicode.html
/usr/local/share/doc/pcre/pcre-config.txt
/usr/local/share/doc/pcre/pcre.txt
/usr/local/share/doc/pcre/pcregrep.txt
/usr/local/share/doc/pcre/pcretest.txt
/usr/local/share/man/man1/pcre-config.1 -> /usr/local/Cellar/pcre/8.38/share/man/man1/pcre-config.1
/usr/local/share/man/man1/pcregrep.1 -> /usr/local/Cellar/pcre/8.38/share/man/man1/pcregrep.1
/usr/local/share/man/man1/pcretest.1 -> /usr/local/Cellar/pcre/8.38/share/man/man1/pcretest.1
/usr/local/share/man/man3/pcre.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre.3
/usr/local/share/man/man3/pcre16.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16.3
/usr/local/share/man/man3/pcre16_assign_jit_stack.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_assign_jit_stack.3
/usr/local/share/man/man3/pcre16_compile.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_compile.3
/usr/local/share/man/man3/pcre16_compile2.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_compile2.3
/usr/local/share/man/man3/pcre16_config.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_config.3
/usr/local/share/man/man3/pcre16_copy_named_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_copy_named_substring.3
/usr/local/share/man/man3/pcre16_copy_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_copy_substring.3
/usr/local/share/man/man3/pcre16_dfa_exec.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_dfa_exec.3
/usr/local/share/man/man3/pcre16_exec.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_exec.3
/usr/local/share/man/man3/pcre16_free_study.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_free_study.3
/usr/local/share/man/man3/pcre16_free_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_free_substring.3
/usr/local/share/man/man3/pcre16_free_substring_list.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_free_substring_list.3
/usr/local/share/man/man3/pcre16_fullinfo.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_fullinfo.3
/usr/local/share/man/man3/pcre16_get_named_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_get_named_substring.3
/usr/local/share/man/man3/pcre16_get_stringnumber.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_get_stringnumber.3
/usr/local/share/man/man3/pcre16_get_stringtable_entries.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_get_stringtable_entries.3
/usr/local/share/man/man3/pcre16_get_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_get_substring.3
/usr/local/share/man/man3/pcre16_get_substring_list.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_get_substring_list.3
/usr/local/share/man/man3/pcre16_jit_exec.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_jit_exec.3
/usr/local/share/man/man3/pcre16_jit_stack_alloc.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_jit_stack_alloc.3
/usr/local/share/man/man3/pcre16_jit_stack_free.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_jit_stack_free.3
/usr/local/share/man/man3/pcre16_maketables.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_maketables.3
/usr/local/share/man/man3/pcre16_pattern_to_host_byte_order.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_pattern_to_host_byte_order.3
/usr/local/share/man/man3/pcre16_refcount.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_refcount.3
/usr/local/share/man/man3/pcre16_study.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_study.3
/usr/local/share/man/man3/pcre16_utf16_to_host_byte_order.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_utf16_to_host_byte_order.3
/usr/local/share/man/man3/pcre16_version.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre16_version.3
/usr/local/share/man/man3/pcre32.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32.3
/usr/local/share/man/man3/pcre32_assign_jit_stack.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_assign_jit_stack.3
/usr/local/share/man/man3/pcre32_compile.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_compile.3
/usr/local/share/man/man3/pcre32_compile2.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_compile2.3
/usr/local/share/man/man3/pcre32_config.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_config.3
/usr/local/share/man/man3/pcre32_copy_named_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_copy_named_substring.3
/usr/local/share/man/man3/pcre32_copy_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_copy_substring.3
/usr/local/share/man/man3/pcre32_dfa_exec.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_dfa_exec.3
/usr/local/share/man/man3/pcre32_exec.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_exec.3
/usr/local/share/man/man3/pcre32_free_study.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_free_study.3
/usr/local/share/man/man3/pcre32_free_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_free_substring.3
/usr/local/share/man/man3/pcre32_free_substring_list.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_free_substring_list.3
/usr/local/share/man/man3/pcre32_fullinfo.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_fullinfo.3
/usr/local/share/man/man3/pcre32_get_named_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_get_named_substring.3
/usr/local/share/man/man3/pcre32_get_stringnumber.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_get_stringnumber.3
/usr/local/share/man/man3/pcre32_get_stringtable_entries.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_get_stringtable_entries.3
/usr/local/share/man/man3/pcre32_get_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_get_substring.3
/usr/local/share/man/man3/pcre32_get_substring_list.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_get_substring_list.3
/usr/local/share/man/man3/pcre32_jit_exec.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_jit_exec.3
/usr/local/share/man/man3/pcre32_jit_stack_alloc.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_jit_stack_alloc.3
/usr/local/share/man/man3/pcre32_jit_stack_free.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_jit_stack_free.3
/usr/local/share/man/man3/pcre32_maketables.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_maketables.3
/usr/local/share/man/man3/pcre32_pattern_to_host_byte_order.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_pattern_to_host_byte_order.3
/usr/local/share/man/man3/pcre32_refcount.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_refcount.3
/usr/local/share/man/man3/pcre32_study.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_study.3
/usr/local/share/man/man3/pcre32_utf32_to_host_byte_order.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_utf32_to_host_byte_order.3
/usr/local/share/man/man3/pcre32_version.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre32_version.3
/usr/local/share/man/man3/pcre_assign_jit_stack.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_assign_jit_stack.3
/usr/local/share/man/man3/pcre_compile.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_compile.3
/usr/local/share/man/man3/pcre_compile2.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_compile2.3
/usr/local/share/man/man3/pcre_config.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_config.3
/usr/local/share/man/man3/pcre_copy_named_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_copy_named_substring.3
/usr/local/share/man/man3/pcre_copy_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_copy_substring.3
/usr/local/share/man/man3/pcre_dfa_exec.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_dfa_exec.3
/usr/local/share/man/man3/pcre_exec.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_exec.3
/usr/local/share/man/man3/pcre_free_study.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_free_study.3
/usr/local/share/man/man3/pcre_free_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_free_substring.3
/usr/local/share/man/man3/pcre_free_substring_list.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_free_substring_list.3
/usr/local/share/man/man3/pcre_fullinfo.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_fullinfo.3
/usr/local/share/man/man3/pcre_get_named_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_get_named_substring.3
/usr/local/share/man/man3/pcre_get_stringnumber.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_get_stringnumber.3
/usr/local/share/man/man3/pcre_get_stringtable_entries.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_get_stringtable_entries.3
/usr/local/share/man/man3/pcre_get_substring.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_get_substring.3
/usr/local/share/man/man3/pcre_get_substring_list.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_get_substring_list.3
/usr/local/share/man/man3/pcre_jit_exec.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_jit_exec.3
/usr/local/share/man/man3/pcre_jit_stack_alloc.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_jit_stack_alloc.3
/usr/local/share/man/man3/pcre_jit_stack_free.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_jit_stack_free.3
/usr/local/share/man/man3/pcre_maketables.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_maketables.3
/usr/local/share/man/man3/pcre_pattern_to_host_byte_order.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_pattern_to_host_byte_order.3
/usr/local/share/man/man3/pcre_refcount.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_refcount.3
/usr/local/share/man/man3/pcre_study.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_study.3
/usr/local/share/man/man3/pcre_utf16_to_host_byte_order.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_utf16_to_host_byte_order.3
/usr/local/share/man/man3/pcre_utf32_to_host_byte_order.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_utf32_to_host_byte_order.3
/usr/local/share/man/man3/pcre_version.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcre_version.3
/usr/local/share/man/man3/pcreapi.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcreapi.3
/usr/local/share/man/man3/pcrebuild.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcrebuild.3
/usr/local/share/man/man3/pcrecallout.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcrecallout.3
/usr/local/share/man/man3/pcrecompat.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcrecompat.3
/usr/local/share/man/man3/pcrecpp.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcrecpp.3
/usr/local/share/man/man3/pcredemo.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcredemo.3
/usr/local/share/man/man3/pcrejit.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcrejit.3
/usr/local/share/man/man3/pcrelimits.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcrelimits.3
/usr/local/share/man/man3/pcrematching.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcrematching.3
/usr/local/share/man/man3/pcrepartial.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcrepartial.3
/usr/local/share/man/man3/pcrepattern.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcrepattern.3
/usr/local/share/man/man3/pcreperform.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcreperform.3
/usr/local/share/man/man3/pcreposix.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcreposix.3
/usr/local/share/man/man3/pcreprecompile.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcreprecompile.3
/usr/local/share/man/man3/pcresample.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcresample.3
/usr/local/share/man/man3/pcrestack.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcrestack.3
/usr/local/share/man/man3/pcresyntax.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcresyntax.3
/usr/local/share/man/man3/pcreunicode.3 -> /usr/local/Cellar/pcre/8.38/share/man/man3/pcreunicode.3
/usr/local/lib/libpcre.1.dylib -> /usr/local/Cellar/pcre/8.38/lib/libpcre.1.dylib
/usr/local/lib/libpcre.a -> /usr/local/Cellar/pcre/8.38/lib/libpcre.a
/usr/local/lib/libpcre.dylib -> /usr/local/Cellar/pcre/8.38/lib/libpcre.dylib
/usr/local/lib/libpcre16.0.dylib -> /usr/local/Cellar/pcre/8.38/lib/libpcre16.0.dylib
/usr/local/lib/libpcre16.a -> /usr/local/Cellar/pcre/8.38/lib/libpcre16.a
/usr/local/lib/libpcre16.dylib -> /usr/local/Cellar/pcre/8.38/lib/libpcre16.dylib
/usr/local/lib/libpcre32.0.dylib -> /usr/local/Cellar/pcre/8.38/lib/libpcre32.0.dylib
/usr/local/lib/libpcre32.a -> /usr/local/Cellar/pcre/8.38/lib/libpcre32.a
/usr/local/lib/libpcre32.dylib -> /usr/local/Cellar/pcre/8.38/lib/libpcre32.dylib
/usr/local/lib/libpcrecpp.0.dylib -> /usr/local/Cellar/pcre/8.38/lib/libpcrecpp.0.dylib
/usr/local/lib/libpcrecpp.a -> /usr/local/Cellar/pcre/8.38/lib/libpcrecpp.a
/usr/local/lib/libpcrecpp.dylib -> /usr/local/Cellar/pcre/8.38/lib/libpcrecpp.dylib
/usr/local/lib/libpcreposix.0.dylib -> /usr/local/Cellar/pcre/8.38/lib/libpcreposix.0.dylib
/usr/local/lib/libpcreposix.a -> /usr/local/Cellar/pcre/8.38/lib/libpcreposix.a
/usr/local/lib/libpcreposix.dylib -> /usr/local/Cellar/pcre/8.38/lib/libpcreposix.dylib
/usr/local/lib/pkgconfig/libpcre.pc -> /usr/local/Cellar/pcre/8.38/lib/pkgconfig/libpcre.pc
/usr/local/lib/pkgconfig/libpcre16.pc -> /usr/local/Cellar/pcre/8.38/lib/pkgconfig/libpcre16.pc
/usr/local/lib/pkgconfig/libpcre32.pc -> /usr/local/Cellar/pcre/8.38/lib/pkgconfig/libpcre32.pc
/usr/local/lib/pkgconfig/libpcrecpp.pc -> /usr/local/Cellar/pcre/8.38/lib/pkgconfig/libpcrecpp.pc
/usr/local/lib/pkgconfig/libpcreposix.pc -> /usr/local/Cellar/pcre/8.38/lib/pkgconfig/libpcreposix.pc
==> Summary
?  /usr/local/Cellar/pcre/8.39: 203 files, 5.4M
==> Installing watchman
==> Downloading https://homebrew.bintray.com/bottles/watchman-4.7.0.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring watchman-4.7.0.sierra.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/watchman
Target /usr/local/bin/watchman
is a symlink belonging to watchman. You can unlink it:
  brew unlink watchman
To force the link and overwrite all conflicting files:
  brew link –overwrite watchman
To list all files that would be deleted:
  brew link –overwrite –dry-run watchman
Possible conflicting files are:
/usr/local/bin/watchman -> /usr/local/Cellar/watchman/4.1.0/bin/watchman
/usr/local/bin/watchman-make -> /usr/local/Cellar/watchman/4.1.0/bin/watchman-make
/usr/local/bin/watchman-wait -> /usr/local/Cellar/watchman/4.1.0/bin/watchman-wait
==> Using the sandbox
==> launchctl unload -F /Users/crifan/Library/LaunchAgents/com.github.facebook.watchman.plist
==> Summary
?  /usr/local/Cellar/watchman/4.7.0: 21 files, 429.1K

【总结】所以,按照提示,去执行删除操作:

➜  ~ rm /usr/local/etc/bash_completion.d/brew
➜  ~ rm /usr/local/share/doc/homebrew
rm: /usr/local/share/doc/homebrew: is a directory
➜  ~ rm -rf /usr/local/share/doc/homebrew
➜  ~ rm /usr/local/share/zsh/site-functions/_brew
➜  ~ rm /usr/local/share/man/man1/brew.1
➜  ~ brew update
Already up-to-date.

重新去试试:

brew install watchman

➜  ~ brew install watchman
Updating Homebrew…
Warning: watchman-4.7.0 already installed, it’s just not linked.
➜  ~ brew link –overwrite watchman
Linking /usr/local/Cellar/watchman/4.7.0… 4 symlinks created
➜  ~ brew install watchman
Warning: watchman-4.7.0 already installed

看起来,应该是正常安装了。

转载请注明:在路上 » 【已解决】brew安装watchman时出错:Error Could not link

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
88 queries in 0.206 seconds, using 22.27MB memory