<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Installing PHD2 on a Raspberry Pi 5	</title>
	<atom:link href="https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/feed/" rel="self" type="application/rss+xml" />
	<link>https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/</link>
	<description>Amateur Astrophotography</description>
	<lastBuildDate>Mon, 28 Apr 2025 19:54:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>
		By: astroisk		</title>
		<link>https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-84</link>

		<dc:creator><![CDATA[astroisk]]></dc:creator>
		<pubDate>Sat, 29 Jun 2024 06:40:54 +0000</pubDate>
		<guid isPermaLink="false">https://astroisk.nl/?p=2353#comment-84</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-80&quot;&gt;Javier Ibarra&lt;/a&gt;.

Hi, good to hear you got it working.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-80">Javier Ibarra</a>.</p>
<p>Hi, good to hear you got it working.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: astroisk		</title>
		<link>https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-83</link>

		<dc:creator><![CDATA[astroisk]]></dc:creator>
		<pubDate>Sat, 29 Jun 2024 06:39:37 +0000</pubDate>
		<guid isPermaLink="false">https://astroisk.nl/?p=2353#comment-83</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-81&quot;&gt;Javier Ibarra&lt;/a&gt;.

This can happen for a number of reasons, including having multiple applications trying to use the same camera at the same time. Do you use the camera for imaging and guiding? Do you use an INDI camera, and you have it connected in the INDI client, or in KStars/EKOS, and also in PHD2? If you continue to have problems then we would suggest you raise it with the PHD2 community (https://openphdguiding.org/getting-help/).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-81">Javier Ibarra</a>.</p>
<p>This can happen for a number of reasons, including having multiple applications trying to use the same camera at the same time. Do you use the camera for imaging and guiding? Do you use an INDI camera, and you have it connected in the INDI client, or in KStars/EKOS, and also in PHD2? If you continue to have problems then we would suggest you raise it with the PHD2 community (<a href="https://openphdguiding.org/getting-help/" rel="nofollow ugc">https://openphdguiding.org/getting-help/</a>).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: astroisk		</title>
		<link>https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-82</link>

		<dc:creator><![CDATA[astroisk]]></dc:creator>
		<pubDate>Sat, 29 Jun 2024 06:33:26 +0000</pubDate>
		<guid isPermaLink="false">https://astroisk.nl/?p=2353#comment-82</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-79&quot;&gt;Javier Ibarra&lt;/a&gt;.

Hi Javier, the PHD2 installation checks the installed INDI version by looking at the header file in the include folder:

&lt;code&gt;cat /usr/include/libindi/indiapi.h &#124; grep INDI_VERSION
#define INDI_VERSION_MAJOR   2
#define INDI_VERSION_MINOR   0
#define INDI_VERSION_RELEASE 7&lt;/code&gt;

Do you see something else? Do you find instances of indiapi.h in other folders?

&lt;code&gt;sudo find / -name indiapi.h&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-79">Javier Ibarra</a>.</p>
<p>Hi Javier, the PHD2 installation checks the installed INDI version by looking at the header file in the include folder:</p>
<p><code>cat /usr/include/libindi/indiapi.h | grep INDI_VERSION<br />
#define INDI_VERSION_MAJOR   2<br />
#define INDI_VERSION_MINOR   0<br />
#define INDI_VERSION_RELEASE 7</code></p>
<p>Do you see something else? Do you find instances of indiapi.h in other folders?</p>
<p><code>sudo find / -name indiapi.h</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Javier Ibarra		</title>
		<link>https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-81</link>

		<dc:creator><![CDATA[Javier Ibarra]]></dc:creator>
		<pubDate>Thu, 27 Jun 2024 22:39:30 +0000</pubDate>
		<guid isPermaLink="false">https://astroisk.nl/?p=2353#comment-81</guid>

					<description><![CDATA[Hi again, now a different issue appears when running phd2 on Raspberry Pi 5. When connected to the ToupTek camera, GPCMOS02000KPA, it does not work. It allows connection, but que you try to execute the CONTINUOUS LOOP OF EXPOSURES FOR CENTERING AND FOCUS it fails. After 15+ seconds you get the message: 
After 16 seconds camera has not completed the 1 second picture. Camera disconnected to prevent other problems. Check the troubleshooting section for help.]]></description>
			<content:encoded><![CDATA[<p>Hi again, now a different issue appears when running phd2 on Raspberry Pi 5. When connected to the ToupTek camera, GPCMOS02000KPA, it does not work. It allows connection, but que you try to execute the CONTINUOUS LOOP OF EXPOSURES FOR CENTERING AND FOCUS it fails. After 15+ seconds you get the message:<br />
After 16 seconds camera has not completed the 1 second picture. Camera disconnected to prevent other problems. Check the troubleshooting section for help.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Javier Ibarra		</title>
		<link>https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-80</link>

		<dc:creator><![CDATA[Javier Ibarra]]></dc:creator>
		<pubDate>Thu, 27 Jun 2024 21:43:22 +0000</pubDate>
		<guid isPermaLink="false">https://astroisk.nl/?p=2353#comment-80</guid>

					<description><![CDATA[Hi again, surprisingly I recompiled INDI and afterwards recompiled PHD2 ¡AND IT WORKS!

pijavier@raspberrypi:~/Projects/phd2/tmp $ phd2 --version
2.6.13dev4
pijavier@raspberrypi:~/Projects/phd2/tmp $]]></description>
			<content:encoded><![CDATA[<p>Hi again, surprisingly I recompiled INDI and afterwards recompiled PHD2 ¡AND IT WORKS!</p>
<p>pijavier@raspberrypi:~/Projects/phd2/tmp $ phd2 &#8211;version<br />
2.6.13dev4<br />
pijavier@raspberrypi:~/Projects/phd2/tmp $</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Javier Ibarra		</title>
		<link>https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-79</link>

		<dc:creator><![CDATA[Javier Ibarra]]></dc:creator>
		<pubDate>Thu, 27 Jun 2024 21:17:49 +0000</pubDate>
		<guid isPermaLink="false">https://astroisk.nl/?p=2353#comment-79</guid>

					<description><![CDATA[Hello, I just followed the whole process step by step. First I installed the INDI Server version 2 or higher as per your guide: 
Harnessing Astronomy with Raspberry Pi 5: instalación de INDI para la exploración estelar

Everything went ok and the testing gave the following result:

pijavier@raspberrypi:~/Projects/phd2/tmp $ indiserver
2024-06-27T21:05:25: startup: indiserver
Usage: indiserver [options] driver [driver ...]
Purpose: server for local and remote INDI drivers
INDI Library: 2.0.8
Code 2.0.8-tgz. Protocol 1.7.
Options:
 -l d     : log driver messages to /YYYY-MM-DD.islog
 -m m     : kill client if gets more than this many MB behind, default 128
 -d m     : drop streaming blobs if client gets more than this many MB behind, default 5. 0 to disable
 -u path  : Path for the local connection socket (abstract), default /tmp/indiserver
 -p p     : alternate IP port, default 7624
 -r r     : maximum driver restarts on error, default 10
 -f path  : Path to fifo for dynamic startup and shutdown of drivers.
 -v       : show key events, no traffic
 -vv      : -v + key message content
 -vvv     : -vv + complete xml
driver    : executable or [device]@host[:port]
pijavier@raspberrypi:~/Projects/phd2/tmp $ 

As far as I understand the version is 2.0.8, then so far so good.

But when I compile PHD2 this is the result:

pijavier@raspberrypi:~/Projects/phd2/tmp $ cmake -DUSE_SYSTEM_LIBINDI=1 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/phd2
-- PHD2 version &#039;2.6.13&#039; (extracted from source)
-- Using system&#039;s CFITSIO.
-- using libcurl /usr/lib/aarch64-linux-gnu/libcurl.so
-- Using system&#039;s Eigen3.
-- Using system&#039;s libindi
-- INDI version 1.9.9 found in /usr/include/libindi, but at least version 2.0.0 is required
CMake Error at cmake_modules/FindINDI.cmake:136 (message):
  INDI not found.  Please install INDI and try again.
Call Stack (most recent call first):
  thirdparty/thirdparty.cmake:598 (find_package)
  CMakeLists.txt:122 (include)
-- Configuring incomplete, errors occurred!
See also &quot;/home/pijavier/Projects/phd2/tmp/CMakeFiles/CMakeOutput.log&quot;.
pijavier@raspberrypi:~/Projects/phd2/tmp $

So surprisingly it says: 
-- INDI version 1.9.9 found in /usr/include/libindi, but at least version 2.0.0 is required
INDI not found.  Please install INDI and try again

Why finds version 1.9.9, if after executing &quot;indiserver&quot; it says is version 2.0.8?

What should I do to complete PHD2 installation?

Thanks

Javier]]></description>
			<content:encoded><![CDATA[<p>Hello, I just followed the whole process step by step. First I installed the INDI Server version 2 or higher as per your guide:<br />
Harnessing Astronomy with Raspberry Pi 5: instalación de INDI para la exploración estelar</p>
<p>Everything went ok and the testing gave the following result:</p>
<p>pijavier@raspberrypi:~/Projects/phd2/tmp $ indiserver<br />
2024-06-27T21:05:25: startup: indiserver<br />
Usage: indiserver [options] driver [driver &#8230;]<br />
Purpose: server for local and remote INDI drivers<br />
INDI Library: 2.0.8<br />
Code 2.0.8-tgz. Protocol 1.7.<br />
Options:<br />
 -l d     : log driver messages to /YYYY-MM-DD.islog<br />
 -m m     : kill client if gets more than this many MB behind, default 128<br />
 -d m     : drop streaming blobs if client gets more than this many MB behind, default 5. 0 to disable<br />
 -u path  : Path for the local connection socket (abstract), default /tmp/indiserver<br />
 -p p     : alternate IP port, default 7624<br />
 -r r     : maximum driver restarts on error, default 10<br />
 -f path  : Path to fifo for dynamic startup and shutdown of drivers.<br />
 -v       : show key events, no traffic<br />
 -vv      : -v + key message content<br />
 -vvv     : -vv + complete xml<br />
driver    : executable or [device]@host[:port]<br />
pijavier@raspberrypi:~/Projects/phd2/tmp $ </p>
<p>As far as I understand the version is 2.0.8, then so far so good.</p>
<p>But when I compile PHD2 this is the result:</p>
<p>pijavier@raspberrypi:~/Projects/phd2/tmp $ cmake -DUSE_SYSTEM_LIBINDI=1 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/phd2<br />
&#8212; PHD2 version &#8216;2.6.13&#8217; (extracted from source)<br />
&#8212; Using system&#8217;s CFITSIO.<br />
&#8212; using libcurl /usr/lib/aarch64-linux-gnu/libcurl.so<br />
&#8212; Using system&#8217;s Eigen3.<br />
&#8212; Using system&#8217;s libindi<br />
&#8212; INDI version 1.9.9 found in /usr/include/libindi, but at least version 2.0.0 is required<br />
CMake Error at cmake_modules/FindINDI.cmake:136 (message):<br />
  INDI not found.  Please install INDI and try again.<br />
Call Stack (most recent call first):<br />
  thirdparty/thirdparty.cmake:598 (find_package)<br />
  CMakeLists.txt:122 (include)<br />
&#8212; Configuring incomplete, errors occurred!<br />
See also &#8220;/home/pijavier/Projects/phd2/tmp/CMakeFiles/CMakeOutput.log&#8221;.<br />
pijavier@raspberrypi:~/Projects/phd2/tmp $</p>
<p>So surprisingly it says:<br />
&#8212; INDI version 1.9.9 found in /usr/include/libindi, but at least version 2.0.0 is required<br />
INDI not found.  Please install INDI and try again</p>
<p>Why finds version 1.9.9, if after executing &#8220;indiserver&#8221; it says is version 2.0.8?</p>
<p>What should I do to complete PHD2 installation?</p>
<p>Thanks</p>
<p>Javier</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Karl Jacobs		</title>
		<link>https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-72</link>

		<dc:creator><![CDATA[Karl Jacobs]]></dc:creator>
		<pubDate>Mon, 10 Jun 2024 12:43:18 +0000</pubDate>
		<guid isPermaLink="false">https://astroisk.nl/?p=2353#comment-72</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-69&quot;&gt;astroisk&lt;/a&gt;.

Hi,
I ran into the same problem (indi 1.9.9 instead of 2.0.0), following your instructions to install the indi server from source, then installing phd2 from source. I suspect that installing the prerequisites per your instructions for phd2 which include &quot;libindi-dev&quot; is the culprit. When I recompiled/installed indi after installing the prerequisites for phd2, it worked except for the fact that I also needed to sudo apt-get install libopencv-dev before (on a freshly installed rpi5 with bookworm lite).
Cheers,
Karl]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-69">astroisk</a>.</p>
<p>Hi,<br />
I ran into the same problem (indi 1.9.9 instead of 2.0.0), following your instructions to install the indi server from source, then installing phd2 from source. I suspect that installing the prerequisites per your instructions for phd2 which include &#8220;libindi-dev&#8221; is the culprit. When I recompiled/installed indi after installing the prerequisites for phd2, it worked except for the fact that I also needed to sudo apt-get install libopencv-dev before (on a freshly installed rpi5 with bookworm lite).<br />
Cheers,<br />
Karl</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: astroisk		</title>
		<link>https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-69</link>

		<dc:creator><![CDATA[astroisk]]></dc:creator>
		<pubDate>Thu, 09 May 2024 05:35:56 +0000</pubDate>
		<guid isPermaLink="false">https://astroisk.nl/?p=2353#comment-69</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-68&quot;&gt;David Kreiton&lt;/a&gt;.

Hi David, it looks you have an older and incompatible version of libindi installed, as suggested by the error message:

&lt;code&gt;INDI version 1.9.9 found in /usr/include/libindi, but at least version 2.0.0 is required&lt;/code&gt;

Did you install libindi from the Debian package or using our guide?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-68">David Kreiton</a>.</p>
<p>Hi David, it looks you have an older and incompatible version of libindi installed, as suggested by the error message:</p>
<p><code>INDI version 1.9.9 found in /usr/include/libindi, but at least version 2.0.0 is required</code></p>
<p>Did you install libindi from the Debian package or using our guide?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: David Kreiton		</title>
		<link>https://astroisk.nl/blog/2024/04/03/a-guide-to-guiding-installing-phd2-on-a-raspberry-pi-5/#comment-68</link>

		<dc:creator><![CDATA[David Kreiton]]></dc:creator>
		<pubDate>Wed, 08 May 2024 17:51:41 +0000</pubDate>
		<guid isPermaLink="false">https://astroisk.nl/?p=2353#comment-68</guid>

					<description><![CDATA[i&#039;m having a problem building PHD2. I followed the instructions and when trying to build the code I get this:

davidjkreiton@raspberrypi:~/Projects/phd2/tmp $ cmake -DUSE_SYSTEM_LIBINDI=1 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/phd2
-- PHD2 version &#039;2.6.13&#039; (extracted from source)
-- Using system&#039;s CFITSIO.
-- using libcurl /usr/lib/aarch64-linux-gnu/libcurl.so
-- Using system&#039;s Eigen3.
-- Using system&#039;s libindi
-- INDI version 1.9.9 found in /usr/include/libindi, but at least version 2.0.0 is required
CMake Error at cmake_modules/FindINDI.cmake:136 (message):
  INDI not found.  Please install INDI and try again.
Call Stack (most recent call first):
  thirdparty/thirdparty.cmake:598 (find_package)
  CMakeLists.txt:122 (include)


-- Configuring incomplete, errors occurred!
See also &quot;/home/davidjkreiton/Projects/phd2/tmp/CMakeFiles/CMakeOutput.log&quot;.


I looked at the .log file but could not make any sense of it as I have no real knowledge of how to build PHD2 and am just blindly following the instructions. FWiW if I type indiserver I get this:

davidjkreiton@raspberrypi:~/Projects/phd2/tmp $ indiserver
2024-05-08T17:45:23: startup: indiserver
Usage: indiserver [options] driver [driver ...]
Purpose: server for local and remote INDI drivers
INDI Library: 2.0.7
Code 2.0.7-tgz. Protocol 1.7.
Options:
 -l d     : log driver messages to /YYYY-MM-DD.islog
 -m m     : kill client if gets more than this many MB behind, default 128
 -d m     : drop streaming blobs if client gets more than this many MB behind, default 5. 0 to disable
 -u path  : Path for the local connection socket (abstract), default /tmp/indiserver
 -p p     : alternate IP port, default 7624
 -r r     : maximum driver restarts on error, default 10
 -f path  : Path to fifo for dynamic startup and shutdown of drivers.
 -v       : show key events, no traffic
 -vv      : -v + key message content
 -vvv     : -vv + complete xml

What do I need to do to build PHD2?
Thank you for your help.
Best regards, David Kreiton]]></description>
			<content:encoded><![CDATA[<p>i&#8217;m having a problem building PHD2. I followed the instructions and when trying to build the code I get this:</p>
<p>davidjkreiton@raspberrypi:~/Projects/phd2/tmp $ cmake -DUSE_SYSTEM_LIBINDI=1 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/phd2<br />
&#8212; PHD2 version &#8216;2.6.13&#8217; (extracted from source)<br />
&#8212; Using system&#8217;s CFITSIO.<br />
&#8212; using libcurl /usr/lib/aarch64-linux-gnu/libcurl.so<br />
&#8212; Using system&#8217;s Eigen3.<br />
&#8212; Using system&#8217;s libindi<br />
&#8212; INDI version 1.9.9 found in /usr/include/libindi, but at least version 2.0.0 is required<br />
CMake Error at cmake_modules/FindINDI.cmake:136 (message):<br />
  INDI not found.  Please install INDI and try again.<br />
Call Stack (most recent call first):<br />
  thirdparty/thirdparty.cmake:598 (find_package)<br />
  CMakeLists.txt:122 (include)</p>
<p>&#8212; Configuring incomplete, errors occurred!<br />
See also &#8220;/home/davidjkreiton/Projects/phd2/tmp/CMakeFiles/CMakeOutput.log&#8221;.</p>
<p>I looked at the .log file but could not make any sense of it as I have no real knowledge of how to build PHD2 and am just blindly following the instructions. FWiW if I type indiserver I get this:</p>
<p>davidjkreiton@raspberrypi:~/Projects/phd2/tmp $ indiserver<br />
2024-05-08T17:45:23: startup: indiserver<br />
Usage: indiserver [options] driver [driver &#8230;]<br />
Purpose: server for local and remote INDI drivers<br />
INDI Library: 2.0.7<br />
Code 2.0.7-tgz. Protocol 1.7.<br />
Options:<br />
 -l d     : log driver messages to /YYYY-MM-DD.islog<br />
 -m m     : kill client if gets more than this many MB behind, default 128<br />
 -d m     : drop streaming blobs if client gets more than this many MB behind, default 5. 0 to disable<br />
 -u path  : Path for the local connection socket (abstract), default /tmp/indiserver<br />
 -p p     : alternate IP port, default 7624<br />
 -r r     : maximum driver restarts on error, default 10<br />
 -f path  : Path to fifo for dynamic startup and shutdown of drivers.<br />
 -v       : show key events, no traffic<br />
 -vv      : -v + key message content<br />
 -vvv     : -vv + complete xml</p>
<p>What do I need to do to build PHD2?<br />
Thank you for your help.<br />
Best regards, David Kreiton</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
