我试图在我的macbookair上安装hadoop,但我似乎无法让它与自制软件一起工作。它能够安装它的大部分,但当它得到“使图像”的一部分,它停止了一段时间,然后给我一个错误。我已经在ubuntu上做过多次了,但是要在mac上完成安装是一个真正的挑战。另外,这是一个非常旧的mac,所以请记住这一点。下面是终端输出的样子
brew install hadoop
Warning: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
==> Downloading https://github.com/openjdk/jdk/commit/f80a6066e45c3d53a61715abfe
Already downloaded: /Users/erinokeefe/Library/Caches/Homebrew/downloads/0559e02e5059303e24d4303a0fe5b7c8fe841833d62ff7e53e3ab735713e1ae2--f80a6066e45c3d53a61715abfe71abc3b2e162a1.patch
==> Downloading https://github.com/openjdk/jdk/commit/4622a18a72c30c4fc72c166bee
Already downloaded: /Users/erinokeefe/Library/Caches/Homebrew/downloads/6f828ea92f87af2663228de008ebd5a67c58919d2bb6471f8ab46b4814e6c297--4622a18a72c30c4fc72c166bee7de42903e1d036.patch
==> Downloading https://download.java.net/java/GA/jdk14.0.2/205943a0976c4ed48cb1
Already downloaded: /Users/erinokeefe/Library/Caches/Homebrew/downloads/4a16d10e8fdff3dd085a21e2ddd1d0ff91dba234c8c5f6588bff9752c845bebb--openjdk-14.0.2_osx-x64_bin.tar.gz
==> Downloading https://hg.openjdk.java.net/jdk-updates/jdk15u/archive/jdk-15.0.
Already downloaded: /Users/erinokeefe/Library/Caches/Homebrew/downloads/336948b1d9a8eba79fadf26569f4af0cb2fe147fde214fc9d9bf6b66f2f927d2--jdk15u-jdk-15.0.1-ga.tar.bz2
==> Downloading https://archive.apache.org/dist/hadoop/common/hadoop-3.2.1/hadoo
Already downloaded: /Users/erinokeefe/Library/Caches/Homebrew/downloads/04f4e38d436545a3530b6296fcfb19caf4d31f4c2afc68a33677c40cd34f3143--hadoop-3.2.1.tar.gz
==> Installing dependencies for hadoop: openjdk
==> Installing hadoop dependency: openjdk
==> Patching
==> Applying f80a6066e45c3d53a61715abfe71abc3b2e162a1.patch
patching file src/hotspot/share/runtime/sharedRuntime.cpp
Hunk #1 succeeded at 2850 (offset -6 lines).
==> Applying 4622a18a72c30c4fc72c166bee7de42903e1d036.patch
patching file src/java.desktop/macosx/native/libawt_lwawt/awt/CSystemColors.m
==> ./configure --without-version-pre --without-version-opt --with-version-build
==> make images
Last 15 lines from /Users/erinokeefe/Library/Logs/Homebrew/openjdk/02.make:
./src/jdk.incubator.jpackage/share/native/applauncher/AppLauncher.cpp:224:41: error: default initialization of an object of const type 'const (anonymous namespace)::ResetLastErrorMsgAtEndOfScope' without a user-provided default constructor
const ResetLastErrorMsgAtEndOfScope resetLastErrorMsg;
^
= {}
1 error generated.
* All command lines available in /private/tmp/openjdk-20210217-31117-16vasue/jdk15u-jdk-15.0.1-ga/build/macosx-x86_64-server-release/make-support/failure-logs.
=== End of repeated output ===
No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.
make[1]:***[main] Error 2
make:***[images] Error 2
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
openjdk 15.0.2 https://github.com/Homebrew/homebrew-core/pull/69460
openjdk@11 11.0.10 https://github.com/Homebrew/homebrew-core/pull/69396
OpenJDK post-install fails without Xcode on M1 https://github.com/Homebrew/homebrew-core/issues/69100
Cassandra 3.11.9_1 crashes in openjdk@8 JVM https://github.com/Homebrew/homebrew-core/issues/66462
OpenJDK is somewhat broken on newer MacOS instances, console is flooded with errors when using JMeter, AdoptOpenJDK has no issues https://github.com/Homebrew/homebrew-core/issues/66953
Error: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
暂无答案!
目前还没有任何答案,快来回答吧!