2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Homebrewでfontforgeをインストール

Posted at

20120320時点の最新fontforge formulaを使うと /usr/local/share/fontforge ディレクトリの所有者が root になって、最後の最後でインストールがこける。所有者を戻してから brew link fontforge を実行すればインストールが完了する。

% brew update
% brew install fontforge
==> Downloading http://downloads.sourceforge.net/project/fontforge/fontforge-sou
######################################################################## 100.0%
tar: Failed to set default locale
==> ./configure --prefix=/usr/local/Cellar/fontforge/20110222 --enable-double --
==> make
==> make install
==> Caveats
fontforge is an X11 application.

To install the Mac OS X wrapper application run:
    brew linkapps
or:
    ln -s /usr/local/Cellar/fontforge/20110222/FontForge.app /Applications
Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link fontforge'
==> Summary
/usr/local/Cellar/fontforge/20110222: 270 files, 14M, built in 102 seconds
% brew link fontforge
Linking /usr/local/Cellar/fontforge/20110222... 
Error: Could not symlink file: /usr/local/Cellar/fontforge/20110222/share/fontforge/python
Check /usr/local/share/fontforge/python does not already exist.
Check /usr/local/share/fontforge is writable.
% ls -l /usr/local/share | grep fontforge
drwxr-xr-x   2 root  admin    68B Nov  3 15:31 fontforge/
% sudo chown WHOAMI /usr/local/share/fontforge
% brew link fontforge
Linking /usr/local/Cellar/fontforge/20110222... 18 symlinks created
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?