Nowadays, there are not many third-party input methods on macOS to choose from, and all the popular ones are the products of internet hooligans.
But fortunately we still have rime series.
Ratatouille is the version of rime input method in macOS, the input method needs user to edit the configuration file.
The only problem is that the provided binary download is too old, 2015, and from the back of the basic stability improvement, so can compile your own latest version should be better than downloading it yourself.
Xcode Command Line Tools is installed on the machine, and enter it if Xcode is installed:
compile dependencies, requiring the use of brew ``bash'' brew install cmake git boost
Compile and install
``bash’’ git clone –recursive https://github.com/rime/squirrel.git cd squirrel make deps make sudo make install
The rest of the job is the same as installing from pkg. #### Update I'm having problems with a recent recompile of Squirrel 0.11.0. ``bash ** BUILD FAILED ** The following build commands failed: Ld xbuild/lib/Release/librime.1.4.0.dylib normal x86_64 (1 failure) make: *** [release] Error 65 make: *** [librime] Error 2
A search of Squirrel’s list of issues issues#247 revealed that it is because the latest version of boost 1.68.0 installed by brew has a dependency on icu4c, which is not available on Macs. Existence .
boost: stable 1.68.0 (bottled), HEAD
Collection of portable C++ source libraries
/usr/local/Cellar/boost/1.68.0 (13,712 files, 460.2MB)
Poured from bottle on 2018-12-07 at 14:38:09
/usr/local/Cellar/boost/1.68.0_1 (13,712 files, 469.0MB) *
Poured from bottle on 2019-01-22 at 12:44:52
Install HEAD version
install: 67,025 (30 days), 193,794 (90 days), 650,934 (365 days)
install_on_request: 19,138 (30 days), 55,740 (90 days), 192,830 (365 days)
build_error: 0 (30 days)
The author gives several solutions, compile the bost yourself or compile Squirrel by switching the librime source to the with-icu
Recompiling the -without-icu` booster for fear of causing other problems, so I used the latter.
I just need to finish the Squirrel library in the clone and then switch the branch to librime manually, and then start compiling to get it right.
For the above compilation problem, the current document suggests that the installation of the specified booster version by brew to solve.