×

INDI Library v1.9.4 Released (17 Jan 2022)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

How to install phd2 on raspian OS

  • Posts: 17
  • Thank you received: 1
Cannot find a good post for this. Launchpad addresses ubuntu distributions only.
Any one have success with this?
Last edit: 3 months 5 days ago by Hal.
3 months 5 days ago #76640

Please Log in or Create an account to join the conversation.

  • Posts: 1163
  • Thank you received: 207
sudo apt -y install libwxgtk3.0-dev
git clone --depth 1 https://github.com/OpenPHDGuiding/phd2.git
mkdir build
cd build
make -j $(expr $(nproc) + 2)
sudo make install
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last edit: 3 months 4 days ago by Andrew.
3 months 4 days ago #76641

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 99
The following user(s) said Thank You: Hal
3 months 4 days ago #76642

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 25
Or just follow instructions on indilib.org/get-indi/download-rpi/category/6-raspberry-pi.html

This will install the astroberry repo which also has PHD2

Paul
Last edit: 3 months 4 days ago by PDB.
3 months 4 days ago #76671

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 1
Andrew, where are you creating the build directory?  When you execute thegit clone --depth 1 github.com/OpenPHDGuiding/phd2.git

command, it creates a phd2 directory and a build sub-directory under it, with what appears to be the files your (make -j $(expr $(nproc) + 2) needs. I cd'd over to that to issue the command below:

The command make -j $(expr $(nproc) + 2) yields the following error:
make: *** No targets specified and no makefile found.  Stop.

I think the expr and nproc variable is not defined. What goes in there?

Thanks for your time.
3 months 3 days ago #76675

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 1
The link Patrick posted worked.
Thanks!
[SOLVED]
Last edit: 3 months 3 days ago by Hal.
3 months 3 days ago #76676

Please Log in or Create an account to join the conversation.

  • Posts: 1163
  • Thank you received: 207
Where ever you like. Git clone will download the source code into a folder. You then create a build directory within it and cd into it. Then run the make command.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
3 months 3 days ago #76677

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 99
You cannot run make directly, cmake is required first.

Also cmake as some interesting option, for example if using all INDI driver you can specify -DOPENSOURCE_ONLY=1
This prevent PHD2 to install its own libasi and libqhy, this keep your system cleaner by not having multiple version of this libraries installed.
Last edit: 3 months 3 days ago by Patrick Chevalley.
3 months 3 days ago #76686

Please Log in or Create an account to join the conversation.

Time to create page: 0.258 seconds