homebrew font
1.0.0
$ brew tap sanemat/font
$ brew install ricty
# (generate)
$ cp -f /PATH/TO/RICTY/fonts/Ricty*.ttf ~/Library/Fonts/
$ fc-cache -vf
brew install fontforge 중에 파이썬 오류가 발생합니다 brew install fontforge .
==> Patching
==> ./bootstrap
==> ./configure --prefix=/Users/sane/.homebrew/Cellar/fontforge/20141230 --disable-silent-rules --without-x --without-giflib --without-libspiro
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PYTHON_CFLAGS
and PYTHON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
다음을 실행하십시오.
# Install python before installing fontforge and ricty
brew install python
# Then install fontforge and ricty
brew install ricty
물론 홈브리를 사용하지만 홈브류의 파이썬을 사용하지 않습니다. 나는 Anyenv를 통해 Pyenv를 사용합니다. Homebrew 빌드 스크립트에서는 PKG_CONFIG_PATH 사용되지 않습니다. Homebrew의 PKG_CONFIG_PATH 가 있습니다. 이 brew sh 과 printenv | grep PKG_CONFIG_PATH 시도 할 수 있습니다 printenv | grep PKG_CONFIG_PATH .
Fontforge 구성 스크립트는 Pyenv의 파이썬을 감지하지 못하지만 (생각하지만, 나는 아직 Autoconf와 Famliar는 아닙니다. 죄송합니다). 왜 이것이 시스템 파이썬을 감지하지 못하는지 이해하지 못합니다 ( pyenv global system 실행 한 후).
다음은 brew install fontforge --verbose --debug 입니다.
detected a homebrew build environment
./configure: line 18044: /Users/sane/.homebrew/bin/python: No such file or directory
./configure: line 18045: cd: /../../pkgconfig: No such file or directory
found python pkg_config information:
./configure: line 18048: y: command not found
checking for a Python interpreter with version >= 2.7... python
checking for python... /Users/sane/.anyenv/envs/pyenv/versions/2.7.6/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for PYTHON... no
configure: error: Package requirements (python-"2.7") were not met:
No package 'python-2.7' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PYTHON_CFLAGS
and PYTHON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
실제 솔루션은 여기서 시스템 파이썬을 감지하는 것이지만 아직이를 감지하는 방법을 모르겠습니다.