- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我能够在 macOS High Sierra 10.13 中安装 Homebrew + nginx + rtmp。现在我想在 macOS Mojave 10.14 上做同样的事情。
所以让我们开始...安装 Homebrew,首先我们需要在终端中使用 Xcode...
xcode-select –install
比。我们需要 Homebrew 软件
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
比安装nginx + rtmp
这就是问题所在
我试过:
brew install nginx-full --with-rtmp-module
但是不行
结果:
Updating Homebrew...
Usage: brew install [options] formula
Install formula. Additional options specific to formula may be appended to the command.
Unless HOMEBREW_NO_INSTALL_CLEANUP is set, brew cleanup will then be run for
the installed formulae or, every 30 days, for all formulae.
-d, --debug If brewing fails, open an interactive
debugging session with access to IRB or a
shell inside the temporary build directory.
--env If std is passed, use the standard build
environment instead of superenv. If super
is passed, use superenv even if the formula
specifies the standard build environment.
--ignore-dependencies An unsupported Homebrew development flag to
skip installing any dependencies of any
kind. If the dependencies are not already
present, the formula will have issues. If
you're not developing Homebrew, consider
adjusting your PATH rather than using this
flag.
--only-dependencies Install the dependencies with specified
options but do not install the formula
itself.
--cc Attempt to compile using the specified
compiler, which should be the name of the
compiler's executable, e.g. gcc-7 for GCC
7. In order to use LLVM's clang, specify
llvm_clang. To use the Apple-provided
clang, specify clang. This option will
only accept compilers that are provided by
Homebrew or bundled with macOS. Please do
not file issues if you encounter errors
while using this option.
-s, --build-from-source Compile formula from source even if a
bottle is provided. Dependencies will still
be installed from bottles if they are
available.
--force-bottle Install from a bottle if it exists for the
current or newest version of macOS, even if
it would not normally be used for
installation.
--include-test Install testing dependencies required to
run brew test formula.
--devel If formula defines it, install the
development version.
--HEAD If formula defines it, install the HEAD
version, aka. master, trunk, unstable.
--fetch-HEAD Fetch the upstream repository to detect if
the HEAD installation of the formula is
outdated. Otherwise, the repository's HEAD
will only be checked for updates when a new
stable or development version has been
released.
--keep-tmp Retain the temporary files created during
installation.
--build-bottle Prepare the formula for eventual bottling
during installation, skipping any
post-install steps.
--bottle-arch Optimise bottles for the specified
architecture rather than the oldest
architecture supported by the version of
macOS the bottles are built on.
-f, --force Install without checking for previously
installed keg-only or non-migrated
versions.
-v, --verbose Print the verification and postinstall
steps.
--display-times Print install times for each formula at the
end of the run.
-i, --interactive Download and patch formula, then open a
shell. This allows the user to run
./configure --help and otherwise
determine how to turn the software package
into a Homebrew package.
-g, --git Create a Git repository, useful for
creating patches to the software.
-h, --help Show this message.
Error: invalid option: --with-rtmp-module
所以我尝试了:
brew install nginx --with-rtmp-module
但是......结果:
Updating Homebrew...
Error: No available formula with the name "–with-rtmp-module"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
所以我决定先尝试安装 nginx 而不是 rtmp 模块
brew install nginx
然后我试过了:
brew install nginx libnginx-mod-rtmp
(从 Linux 复制)brew install rtmp-module
brew install module-rtmp
但以上方法均无效。我该如何解决?
最佳答案
在尝试安装 nginx-full 之前,你应该点击一个 nginx 公式
那么你可以试试 denji/nginx
,因为 homebrew/nginx tap 已经被弃用了,那就是:
brew tap denji/nginx
然后
brew install nginx-full --with-rtmp-module
这对我有用。
关于macos - 在 macOS Movaje 10.14 中安装 Homebrew + nginx + rtmp,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61931028/
我也不能再跑 brew upgrade或 brew update : 都中止 Error: homebrew-core is a shallow clone. To `brew update` fir
是否可以与 Homebrew 并行安装多个版本? 我发现自己处于需要 sbt-0.7.x、sbt-0.10.x 和 sbt-0.11.0 的情况。我目前已手动安装了 sbt-0.7.7 和 sbt-0
我使用Homebrew Cask来安装ngrok。安装进行得很好。我正在尝试编辑ngrok的config.yml文件。我在Mac上找不到它。 看来ngrok住在这里: /usr/local/Cask
Homebrew 瓶是从哪里下载的? Homebrew Documentation: Bottles不说。 我创建了一个 Github Homebrew/brew issue #672 . 最佳答案
我想安装screen,但是接下来我应该做什么? $ brew search screen imgur-screenshot screen
我最近决定 brew install stack,Haskell 包管理器,但中途改变了主意,用 ctrl+c 打断了。看起来安装在我的计算机上占用了合理数量的存储空间,但是,所以我认为从安装中下载的
有以下两个包有冲突。解决此冲突的正确方法是什么? $ brew cask install rar ==> Downloading https://www.rarlab.com/rar/rarosx-5
我想将一些 shell 脚本 + 支持文件打包成一个 Homebrew 公式,将这些脚本安装在用户的某处 $PATH .我将从我自己的水龙头中提供配方。 通读formula cookbook这些示例似
我今天在不知道自己在做什么的情况下安装了 Homebrew 软件,现在我的 scikit-learn 包坏了。我想通过卸载 Homebrew 软件来撤消我所做的一切,并尝试按照此处的提示操作: htt
不知何故,我的 Homebrew 安装有一个 prefix 〜/.rvm。我想将其设置为默认值 /usr/local . 这可能吗? 最佳答案 看来我需要 卸载 Homebrew 软件。 Here's
我有一个具有以下依赖项的电子应用程序: ffmpeg libmagic gdbm 目前,我使用 Homebrew 并运行 brew install ffmpeg等在应用程序启动时。 但是,这对于分发来
我有一个 Homebrew安装在 $HOME/brew ,而且从历史上看,它运行良好。不幸的是,随着时间的推移,Homebrew 越来越不能容忍 /usr/local 之外的安装。 .各种公式对安装前
反正有没有命令brew显示任何给定包的所有已安装或可选依赖项?查看哪些安装包本身是其他包的依赖项也会很有帮助。 最佳答案 您可以使用 info 命令,例如。 brew info ffmpeg 它将向您
我按照 http://caskroom.io/ 中的描述安装了 Homebrew Cask 用于踢球.它归结为以下命令: $ brew install caskroom/cask/brew-cask
是否可以在详细模式下运行,在该模式下,它实际上并不安装软件包,而只是安装软件包的位置和方式的详细信息? 最佳答案 您可以运行 brew outdated 来查看运行 brew Upgrade 时将升级
在我的 CI 设置中,我想确保安装给定公式的最新版本,无论它是否已安装。 我目前正在使用类似的东西: brew update brew install FORMULA || (brew upgrade
我正在阅读这个堆栈溢出答案 Mac user and getting WARNING: Nokogiri was built against LibXML version 2.7.8, but has
我正在尝试在 Mac OS X 10.9 上安装 wxWidgets。它已经安装,但我遇到了描述的问题 here 。有人建议添加 ENV.append_to_cflags "-stdlib=libc+
我最近开始使用 Homebrew 程序,我对当我在我的系统上 brew 某些东西时会发生什么感到有点困惑,但它的 brew 依赖项是仅桶的,这意味着它们在 /usr 下链接/本地。 例如,我正在安装v
我知道当我brew update时,它会列出所有==>更新的公式,但是当我更新了几次而没有运行brew update时code>,如何获取所有可以升级的应用程序的列表? 最佳答案 每homebrew
我是一名优秀的程序员,十分优秀!