Has anyone had any luck complining latest kstars from git
on the RPi with Raspbian Debian Stretch?
[ 6%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/ekos/align/opsastrometryindexfiles.cpp.o
/home/pi/Projects/kstars/kstars/ekos/align/opsastrometryindexfiles.cpp: In lambda function:
/home/pi/Projects/kstars/kstars/ekos/align/opsastrometryindexfiles.cpp:380:24: error: ‘class KAuth::Action’ has no member named ‘setTimeout’; did you mean ‘setName’?
action.setTimeout(900000);
^~~~~~~~~~
/home/pi/Projects/kstars/kstars/ekos/align/opsastrometryindexfiles.cpp: In member function ‘void Ekos::OpsAstrometryIndexFiles::downloadOrDeleteIndexFiles(bool)’:
/home/pi/Projects/kstars/kstars/ekos/align/opsastrometryindexfiles.cpp:504:28: error: ‘class KAuth::Action’ has no member named ‘setTimeout’; did you mean ‘setName’?
action.setTimeout(900000);
^~~~~~~~~~
kstars/CMakeFiles/KStarsLib.dir/build.make:2165: recipe for target 'kstars/CMakeFiles/KStarsLib.dir/ekos/align/opsastrometryindexfiles.cpp.o' failed
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/ekos/align/opsastrometryindexfiles.cpp.o] Error 1
CMakeFiles/Makefile2:328: recipe for target 'kstars/CMakeFiles/KStarsLib.dir/all' failed
make[1]: *** [kstars/CMakeFiles/KStarsLib.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
That looks like the KAuth in Debian Stretch is not quite right.
Oops from the kde site;
void Action::setTimeout ( int timeout )
Sets the action's timeout.
The timeout of the action in milliseconds -1 means the default D-Bus timeout (usually 25 seconds)
Since
5.29
Definition at line 137 of file kauthaction.cpp.
While debian stretch is
pi@henrypi:/usr/include/KF5/KAuth $ apt-file /usr/include/KF5/KAuth/KAuth
bash: apt-file: command not found
pi@henrypi:/usr/include/KF5/KAuth $ dpkg -S /usr/include/KF5/KAuth/KAuth
libkf5auth-dev:armhf: /usr/include/KF5/KAuth/KAuth
pi@henrypi:/usr/include/KF5/KAuth $ apt-cache policy libkf5auth-dev
libkf5auth-dev:
Installed: 5.28.0-2
Candidate: 5.28.0-2
Version table:
*** 5.28.0-2 500
500 http://ftp.heanet.ie/mirrors/raspbian/raspbian stretch/main armhf Packages
100 /var/lib/dpkg/status