|
|
ツールの解説 No. 346 Palm と接続して HotSync を実行する方法Palm を接続し、J-Pilot を使用して HotSync を実現する手順を解説します。 1) J-Pilotをダウンロードする J-Pilot のサイトから、ソースファイル jpilot-0.98.1.tar.gz をダウンロードします。 (バージョンは異なる場合がありますが、最新の物をダウンロードして下さい。) J-Pilot http://jpilot.linuxave.net/ また、同時に pilot-link.0.9.3.tar.gz が必要になるのでRequirementsページから ダウンロードしておきます。 (バージョンは異なる場合がありますが、最新の物をダウンロードして下さい。) 2) コンパイル 以下のコマンドを実行し、pilot-linkをコンパイルします。 $ tar xvfz pilot-link.0.9.3.tar.gz $ cd pilot-link.0.9.3 $ ./configure $ make $ su # make install 最後に次のようなメッセージが表示されるので、記述されている手順を実行します。 ------------------------------------------------------------------------------ Libraries have been installed in: /usr/local/lib To link against installed libraries in a given directory, LIBDIR, you must use the `-LLIBDIR' flag during linking. You will also need to do one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ------------------------------------------------------------------------------ ここでは、4番目の方法を採用します。 /etc/ld.so.conf ファイルに、"/usr/local/lib" という記述を追加して保存します。 [/etc/ld.so.conf] ---------------------- /usr/local/lib ---------------------- rootになってldconfigを実行しておきましょう。 # ldconfig これを忘れると、jpilot実行時に次のようなエラーが出力されてしまいます。 jpilot: error in loading shared libraries: libpisock.so.3: cannot open shared object file: No such file or directory 続いてjpilotも同様にコンパイルします。 configure実行時に、--with-japaneseを忘れずに指定しましょう。 $ tar xvfz jpilot-0.98.1.tar.gz $ cd jpilot-0.98.1 $ ./configure --with-japanese $ make $ su # make install 3) /dev/pilot の作成 Palm の接続されているデバイスへのシンボリックリンクを作成します。 たとえばシリアル接続(/dev/ttyS0)を使用するのであれば、以下のように実行します。 # ln -s /dev/ttyS0 /dev/pilot 他のデバイスを使用する場合には、/dev/ttyS0の部分を書き換えて下さい。 4) J-Pilotの起動 jpilotを実行します。 $ jpilot & 5) Sync Window上の[Sync]ボタンを押すことによって、メッセージウィンドウが表示されます。 ここで、Palm側のHotSyncボタンを押せば、Syncが実行されます。 【注意】 Sync実行時に、「PalmのユーザIDがNULLである」という警告が表示されてSyncが失敗す ることがあります。そのときには、install-user コマンドを使用して、UserIDを登録 します。 書式 : install-user /dev/pilot [User name [User ID]] 例) $ install-user /dev/pilot test 100 Card #0 has 3735548 bytes of ROM, and 2097152 bytes of RAM (1942058 of that is free) It is called 'PalmCard', and was made by 'Palm Computing'. Through ReadSysInfo: ROM Version: 0x03513000, locale: 0x00010000, name: '' ROM Version through ReadFeature: 0x03513000 NetSync: LAN sync = 0, Host name = '', address = '', netmask ='' Palm J-Pilot HotSync pilot-link 関連文書
Last modified : Wed Nov 29 JST 2000 # 1
|
Copyright © Turbolinux, Inc..All Right Reserved.

