Giter VIP home page Giter VIP logo

Comments (5)

skysign avatar skysign commented on August 19, 2024 1

제가 맥유저가 아니라서, 정확한 답변은 아닐 수 있습니다.

에러 메세지로보면, systemfonts 패키지를 소스에서 부터, 빌드(컴파일)해서 설치하려고 하는대,
"ft2build.h' 라는 헤더 파일이 없어서, 컴파일을 못해서 생긴 에러 입니다.
검색을 좀 해보니, 해당 헤더 파일은 freetype2 에 속해있는 헤더 파일중에 하나 인 것 같습니다.

맥이라 제가 정확히는 모르겠지만, 리눅스랑 비슷할 것 같아서 답글 남겨 봅니다.

리눅스에서는 보통 한 패키지가 2개 있습니다.
하나는 사용하는 용도고, 다른 하나는 이 패키지를 사용해서 빌드 하는 용도 입니다.
빌드하는 용도의 패키지는 보통 패키지이름의 뒷부분에 -dev 를 붙여 주고,
헤더파일밑 디버깅에 필요한 파일들이 함께 들어 있습니다.

PKG_LIBS=-lfreetype
이 옵션을 봐서는 freetype 패키지를 사용해서 빌드 하는건 맞는 것 같구요,
따라서, freetype의 dev 패키지를 설치하고, 다시 ggiraphExtra 설치하면, 설치가 될 것 같습니다.

검색을 좀 해봤는대요, 아래 사이트를 참고하면, 아마도 아래 커맨드로 해결 될 수 도 있을 것 같습니다.
참고한 사이트 : https://matplotlib.org/3.1.0/users/installing.html

brew install libpng freetype pkg-config

ps : 우연히 gmail을 열었다가, 메일이 와있길래, 잘 모르는 맥이지만, 검색해서 답변 드렸습니다.

ps ps : 책에 직접적으로 관련된 질문 내용이 아니라서, 여기에 올리시기 보다는 다른 R 커뮤니티에 올리시면, 더 빨리 답을 얻을 수 있을 것 같아요.

from doit_r.

KUSYSY avatar KUSYSY commented on August 19, 2024

감사합니다!

from doit_r.

youngwoos avatar youngwoos commented on August 19, 2024

@skysign 제가 잘 모르는 분야인데 친절하게 설명해주셔서 감사합니다! 👍

from doit_r.

youngwoos avatar youngwoos commented on August 19, 2024

@KUSYSY 해결 안되시면 ggiraphExtra 패키지 저장소에 이슈 남겨보시겠어요? 패키지 개발자 문건웅님이 맥 유저라서 해결 방법을 알고 계실지도 모르겠습니다.
https://github.com/cardiomoon/ggiraphExtra

from doit_r.

skysign avatar skysign commented on August 19, 2024

@KUSYSY 어떻게 해결은 되셨어요?

해결 되셨거나, 다른 커뮤니티에서 해결방법을 찾으 시는 중이시면,
이 issue는close 해주시겠어요?

from doit_r.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.