macports安装mypaint

brew没有打包mypaint,所以使用macports来安装

$ sudo port install mypaint

提示:

Warning: Xcode does not appear to be installed; most ports will likely fail to build.

xcode其实早已经安装过了,执行

$ xcodebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

需要配置xcodebuild

$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/

然后再执行

$ sudo port install mypaint

就编译安装成功了,mypaint依赖于X11,所以事先需要安装xQuartz,或者macports安装xorg-server

$ sudo port install xorg-server

其实这也是在安装xQuartz而已

mypaint是X11程序,在MacOS上运行效果并不是很好。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.