OSX에서 KDE 소프트웨어를 구축할 때 문제

OSX에서 KDE 소프트웨어를 구축할 때 문제

다음과 같이 OSX 시스템에서 Kate를 빌드하려고 합니다.https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Mac

HOWTO를 끝까지 따라했는데, 발행하면 emerge Kate다음과 같은 오류가 발생합니다.

emerge warning: dev-util/extra-cmake-modules failed: Could not find package 

for dev-util/extra-cmake-modules as a dependency of kde/gpgmepp
*** Handling package: extra-cmake-modules, action: all ***
*** Action: fetch for frameworks/extra-cmake-modules ***
Cloning into '.'...
ssh: Could not resolve hostname kde: nodename nor servname provided, or not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
emerge warning: while running  cmd: git clone  kde:extra-cmake-modules .
emerge warning: Action: fetch for frameworks/extra-cmake-modules FAILED
*** Emerge all failed: all of frameworks/extra-cmake-modules failed after 0:00:00 ***
emerge error: fatal error: package frameworks/extra-cmake-modules all failed

원인과 해결 방법을 아시나요?

편집: extra-cmake-modules를 수동으로 설치하고 다음에 IP 주소를 추가한 후 새로운 오류 발생 /etc/hosts:

*** Action: fetch for frameworks/extra-cmake-modules ***
Cloning into '.'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
emerge warning: while running  cmd: git clone  kde:extra-cmake-modules .
emerge warning: Action: fetch for frameworks/extra-cmake-modules FAILED
*** Emerge all failed: all of frameworks/extra-cmake-modules failed after 0:00:01 ***
emerge error: fatal error: package frameworks/extra-cmake-modules all failed*** Action: fetch for frameworks/extra-cmake-modules ***
Cloning into '.'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
emerge warning: while running  cmd: git clone  kde:extra-cmake-modules .
emerge warning: Action: fetch for frameworks/extra-cmake-modules FAILED
*** Emerge all failed: all of frameworks/extra-cmake-modules failed after 0:00:01 ***
emerge error: fatal error: package frameworks/extra-cmake-modules all failed

편집 2: 익명 저장소를 사용한 후

Cloning into '.'...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for kde has changed,
and the key for the corresponding IP address 138.68.4.10
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:00FsaU0+NXKMqBhWLLHhWQpCtHpf35m8UCtSNSnvZbQ.
Please contact your system administrator.
Add correct host key in /Users/<name>/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/<name>/.ssh/known_hosts:2
ECDSA host key for kde has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.

답변1

수동으로 설치해 보십시오 extra-cmake modules.

  1. git clone https://github.com/KDE/extra-cmake-modules.git
  2. cd extra-cmake-modules
  3. cmake .
  4. make
  5. sudo make install

이는 git, make 및 cmake가 설치되어 있다고 가정합니다.

편집: 출력을 다시 살펴보니 git이 호스트 이름에서 복제를 시도하고 있는 것으로 나타났습니다 kde. 왜 이런 일이 발생하는지 모르겠지만 KDE 저장소에서 복제하려는 경우 /etc/hosts현재 IP 주소 git.kde.org138.201.41.178. 따라서 해당 행을 138.201.41.178 kde.git /etc/hosts이 특정 저장소에서 복제하려고 하면 작동할 수 있습니다.

편집 2:

제가 깨뜨렸을 수도 있을 것 같아요. 이는 IP 주소 대신 호스트 이름을 사용할 수 있기 때문에 사용 하는 git~/.gitconfig보다 훨씬 낫습니다 . /etc/hosts추가해 보는 게 어때?

[url "git://anongit.kde.org/"]
   insteadOf = kde:
[url "ssh://[email protected]/"]
   pushInsteadOf = kde:

당신을 위해서 ~/.gitconfig라면 다시 사용해 보세요 emerge. KDE 웹사이트에 이 저장소를 사용하라고 나와 있기 때문에 이것이 효과가 있을 것이라고 생각했습니다.

관련 정보