のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

wsl ubuntu fontview "freetype2 >= 19.0.13 is missing"

~/github$ cd fontview

$ git submodule init
Submodule 'src/third_party/freetype/freetype2' (git://git.sv.nongnu.org/freetype/freetype2.git) registered for path 'src/third_party/freetype/freetype2'
Submodule 'src/third_party/fribidi/fribidi' (https://anongit.freedesktop.org/git/fribidi/fribidi.git) registered for path 'src/third_party/fribidi/fribidi'
Submodule 'src/third_party/gyp' (https://chromium.googlesource.com/external/gyp) registered for path 'src/third_party/gyp'
Submodule 'src/third_party/harfbuzz/harfbuzz' (https://github.com/behdad/harfbuzz.git) registered for path 'src/third_party/harfbuzz/harfbuzz'
Submodule 'src/third_party/raqm/libraqm' (https://github.com/HOST-Oman/libraqm.git) registered for path 'src/third_party/raqm/libraqm'
Submodule 'src/third_party/ucdn/ucdn' (https://github.com/grigorig/ucdn.git) registered for path 'src/third_party/ucdn/ucdn'
Submodule 'src/third_party/wxWidgets/wxWidgets' (https://github.com/wxWidgets/wxWidgets.git) registered for path 'src/third_party/wxWidgets/wxWidgets'

$ git submodule update src/third_party/raqm/libraqm
Cloning into '/home/m_fujii/github/fontview/src/third_party/raqm/libraqm'...
Submodule path 'src/third_party/raqm/libraqm': checked out '59d68d5a44332942fd426051ad90e38e417a02e9'

$ python build.py && ./build/fontview
freetype2 >= 19.0.13 is missing

github.com

github.com

~/github/fontview
$ python build.py && ./build/fontview
freetype2 >= 2.8.1 is missing

nixeneko.hatenablog.com

github.com

freetypeとかを、updateしないといけないみたいだ。

$git submodule update
m_fujii@None53-Surface:~/github/fontview
$ python build.py
Traceback (most recent call last):
  File "build.py", line 134, in <module>
    main()
  File "build.py", line 29, in main
    success = build_linux(release)
  File "build.py", line 71, in build_linux
    'wx-config --cflags --libs base,std,propgrid,qa'.split()).split()
  File "/usr/lib/python2.7/subprocess.py", line 216, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

にせねこメモさんの、ページをみながら、手動でコンパイルした。
nixeneko.hatenablog.com