×

INDI Library v1.9.8 Released (Yesterday)

Bi-monthly INDI Library released with new drivers and bug fixes.

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: 11 months 1 week ago by Hal.
11 months 1 week ago #76640

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

  • Posts: 1274
  • Thank you received: 221
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: 11 months 1 week ago by Andrew.
11 months 1 week ago #76641

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

  • Posts: 207
  • Thank you received: 103
The following user(s) said Thank You: Hal
11 months 1 week ago #76642

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

  • Posts: 212
  • Thank you received: 26
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: 11 months 1 week ago by PDB.
11 months 1 week 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.
11 months 1 week 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: 11 months 1 week ago by Hal.
11 months 1 week ago #76676

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

  • Posts: 1274
  • Thank you received: 221
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.
11 months 1 week ago #76677

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

  • Posts: 207
  • Thank you received: 103
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: 11 months 1 week ago by Patrick Chevalley.
11 months 1 week ago #76686

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

Time to create page: 0.362 seconds