当我正在用自制软件进行一些清理/重建的时候,我看到了一堆这样的信息:
This formula is keg-only: so it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/libxml2/lib
CPPFLAGS: -I/usr/local/opt/libxml2/include我很可能建立软件,我想要链接到自制版本,而不是OS版本。我也不太可能记得哪些库是仅限桶的,也不太可能在深夜的./configure; make; make install会话中适当地跟踪它们。
有什么方法可以让Homebrew列出所有这些标志的列表(也许是一种容易设置的环境变量格式),在那些时候,我想要被提醒到我所有的只使用桶的库?
发布于 2013-08-30 14:37:06
不怎么有意思。
如果这与您有关,最好的解决方法是将您自己的软件设置为Homebrew公式,因为构建过程将自动包含所有只用于keg的包的包含路径和链接路径。(查找"superenv“的详细信息。)
https://stackoverflow.com/questions/18339198
复制相似问题