Compile your own rattletrap

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.


Ensure that Xcode Command Line Tools is installed on the machine, and enter it if Xcode is installed: ``bash xcode-select –install

compile dependencies, requiring the use of brew
brew install cmake git boost

Compile and install

``bash’’ git clone –recursive 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.  

The following build commands failed:
	Ld xbuild/lib/Release/librime.1.4.0.dylib normal x86_64
(1 failure)
make[1]: *** [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 . bash. 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 From: ==> Dependencies Required: icu4c✔ ==> Options --HEAD Install HEAD version ==> Analytics 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 branch. 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.

Update (2019.3.26)

For the above compilation problem, the current document suggests that the installation of the specified booster version by brew to solve.