lin_guiderはLinuxで動く軽量なオートガイダーソフトです。
lin_guider プロジェクトサイト http://sourceforge.net/projects/linguider/
ここでは、Raspberry Pi3上で動く Raspbian へのlin_guiderインストール方法を記述します。
上記、プロジェクトサイトよりlin_guider本体のソースアーカイブを取得してください。
インストール方法などはアーカイブ内の readme.en に記載されています。
ドキュメントよりインストール方法抜粋
4. Building and installation
===============================
You can get the executable file of the program by compiling it from the source code.
To do this:
1. install QT4 version 4.5 or later, including dev-packages
2. install libusb-1.0, including dev-packages
3. install fxload (necessary for the owners of QHY5, QHY6, DSI2PRO)
4. open a terminal and navigate to the directory with the unpacked program
$ cd /home/user/path/to/lin_guider
5. run "configure"
$ ./configure
6. run "make"
$ make
Hence you will get the executable file of the program, compiled and optimised specifically for your system.
7. Download the package with the firmwares and udev rules from https://sourceforge.net/projects/cccd/files/firmware/
If the direct installation in your distributive is impossible, then:
7.1. unpack the package
7.2. copy all files with firmwares *.hex from the package to the directory /lib/firmware/ccd
7.3. copy all files with *.rules extention to your directory with the udev rules. This directory for Debian is /lib/udev/rules.d
7.4. restart udev
# /etc/init.d/udev restart
まず、必要なライブラリを入手、インストールします。
$ sudo apt-get install libusb-1.0-0-dev libqt4-dev fxload libftdi-dev libraw-dev libtiff-dev liblcms-dev※上記以外に必要なライブラリは各自、インストールしてください。
lin_guider-4.1.0.tar.bz2をダウンロードしてmakeします。
$ cd※4.1.0より build.shスクリプトが廃止され、configure, make 形式になりました。
$ wget http://jaist.dl.sourceforge.net/project/linguider/4.1.0/lin_guider-4.1.0.tar.bz2
$ tar -xvf lin_guider-4.1.0.tar.bz2
$ cd lin_guider_pack
$ cd lin_guider
$ ./configure
$ make
※make -j4などジョブ数を指定すると若干早くコンパイルできます。 CPUコア数に等しくすればよいでしょう。
makeには、しばらく時間がかかります。 エラーが出なければビルド完了です。
lin_guider_pack/lin_guider/lin_guider が実行ファイルです。実行環境にコピーします。
$ cd
$ sudo cp lin_guider_pack/lin_guider/lin_guider /usr/local/bin/
以上でビルド&インストール完了です。
当方で個人的に改造したlin_guiderのソースを放流しています。
詳しくは norikyuバージョン を参照してください。
続いて、カメラのファームウェアやudevルールなどをインストールします。
https://sourceforge.net/projects/cccd/files/firmware/
$ wget http://jaist.dl.sourceforge.net/project/cccd/firmware/firmware-ccd_1.3_all.deb
$ sudo dpkg -i firmware-ccd_1.3_all.deb
/lib/firmware/ccd にカメラファームウェアがインストールされます。
また、各カメラデバイス用のudevルールがインストールされます。
0 件のコメント:
コメントを投稿