はじめに
NeoOffice の構築はせっかちな人や UNIX の構築・デバッグツール(たとえば cvs 、 make 、 gcc や gdb )に慣れていない人のためのものではありません。 NeoOffice の構築はOpenOffice.orgの構築と非常に密接な関係があります。このため、 OpenOffice.org の構築をとても複雑に感じたり、いらいらしたりする場合、 NeoOffice の構築もきっと同様でしょう。
A side affect of the above is that if, for some reason, you cannot get NeoOffice to build, you are on your own. There are way too many things that can break the build ranging from changes in the OpenOffice.org code to using a new version of Apple's developer tools.
必要条件
- あなたの使える最速のマシンで、最低 512MB のメモリ。低速のマシンでも動きます(私は G4 PowerMac を使ってます!)が、メモリの最低条件はこれ以上下げることはできません。また、 NeoOffice を構築している間、その低速マシンで何もすることができなくなるでしょう。
- Mac OS X 10.4.x. NeoOffice can only be built on this version of Mac OS X.
- ソースと一時ファイルの為に最低 20GB のハードディスクの空き容量が必要で、またその他にビルドバイナリを置くために 400MB の空きディスク容量が必要となります。
- たくさんの空き時間と忍耐強さが必要です。構築が途中で停止しなかった場合でも、私の古い G4 PowerMac では 48 時間もかかります。
NeoOffice のソースの取得
まず、最低限の空きディスクスペースを持っているボリュームに空のディレクトリを作成します。この説明ではこの空きディレクトリを「$NEO_HOME」とします。
NeoOffice のソースコードを入手するには、 NeoOffice の CVS 保管庫からチェックアウトします。
ソースコードを CVS 保管庫からチェックアウトするには、ターミナルアプリケーション( /Applications/Utilities/Terminal )で新しいターミナルを開いて、下記のコマンドを実行します。
- cd "$NEO_HOME"
- cvs -d :pserver:anoncvs@anoncvs.neooffice.org:/cvs login
- パスワードに anoncvs を入力します
- cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs login
- パスワードに anoncvs を入力します
- cvs -d :pserver:anoncvs@anoncvs.neooffice.org:/cvs co -r NeoOffice-3_1_1 NeoOffice
NeoOffice の構築
After you get the source code, you will need to take some steps to setup a build properly. The required steps are listed in the "$NEO_HOME/README.txt" file. You must follow all of the required steps before you start building NeoOffice.
Once you have followed all of the required steps, run the build by opening a new terminal and executing the following commands:
- cd "$NEO_HOME/neojava"
- cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs login
- パスワードに anoncvs を入力します。
- make all
重要: make は OpenOffice.org のソースをチェックアウトし構築します。これにはかなりの時間がかかります( 24 〜 36 時間)、しかし OpenOffice.org がダウンしたりインターネット接続が切断されたりすると失敗することがあります。
NeoOffice バイナリのインストール
ビルドに成功したら、次のディレクトリが現れます: $NEO_HOME/neojava/install/*3.1.1*.dmg 。
