Hallo,
on ARCH-Linux there is a problem with indiserver 1.3 and indi_gphoto_ccd. indiserver fails to start with gphoto driver.
indiserver -v indi_gphoto_ccd
2016-11-18T12:59:13: startup: indiserver -v indi_gphoto_ccd
2016-11-18T12:59:13: Driver indi_gphoto_ccd: pid=15280 rfd=3 wfd=6 efd=72016-11-18T12:59:13: listening to port 7624 on fd 42016-11-18T12:59:13: Driver indi_gphoto_ccd: INDI::CCD::SetTemperature 0.00 - Should never get here
2016-11-18T12:59:13: Driver indi_gphoto_ccd: stderr EOF
2016-11-18T12:59:13: Driver indi_gphoto_ccd: restart #1
indiserver 1.2 works like a charm.
I tried to compile the sources as a whole with gcc-6.2.1. but it fail in compiling indi_sx_ccd:
[31%] Building CXX object indi-sx/CMakeFiles/indi_sx_ccd.dir/sxccd.o
/home/cherno/AURinstall/libindi_3rdparty/src/libindi_3rdparty_1.2.0/indi-sx/sxccd.cpp: In member function 'virtual void SXCCD::TimerHit()':
/home/cherno/AURinstall/libindi_3rdparty/src/libindi_3rdparty_1.2.0/indi-sx/sxccd.cpp:383:57: error: call of overloaded 'abs(float)' is ambiguous
if (abs(TemperatureRequest - TemperatureReported) < 1)
^
In file included from /usr/include/c++/6.2.1/cstdlib:75:0,
from /usr/include/c++/6.2.1/stdlib.h:36,
from /usr/include/fitsio.h:76,
from /usr/include/libindi/indiccd.h:29,
from /home/cherno/AURinstall/libindi_3rdparty/src/libindi_3rdparty_1.2.0/indi-sx/sxccd.h:33,
from /home/cherno/AURinstall/libindi_3rdparty/src/libindi_3rdparty_1.2.0/indi-sx/sxccd.cpp:36:
/usr/include/stdlib.h:735:12: note: candidate: int abs(int)
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
Also the apogee driver did not compile.
I could compile the gphoto driver alone. This works for me, but I am not rally happy with this.
As you're trying to compile 1.2.0 instead of a newer release I think there are some fixes like github.com/indilib/indi/commit/7c6be6f50...fe663a16d25e75ab67fc missing. I'm building the Fedora packages and we have gcc 6.x for quite a while. Current release 1.3 compiles without additional fixes.
There is no libindi-3rdparty_1.3.0, it's all now shipped as indi-1.3 so select from it which stuff you want to compile/package. I tried compiling under Arch but it seems libftdi is installed different and need to modify FindFTDI.cmake in order to find it. This is the first error there may be more. If you can find out other issues with GIT that prevents it from compiling on Arch, please create Pull Request and submit a patch.
Ok knro, if have done it.
I could compile really all drivers from a clone of github.com/indilib/indi.
But I get an error trying indi_qhy_ccd and indi_sx_ccd.
I compiled a git clone from Nov. 25th and there are no errors so far. I could test the drivers qhy, atik ans sx. Only the sx driver has a minor problem (see another thred).
On ARCH Linux there are no devel packages. All you need is listed in www.archlinux.org/packages/extra/i686/libindi/. Maybe one should install gpsd, ftdi and ftdi-compat from the ARCH repository and Aravis from wiki.gnome.org/Projects/Aravis, depencies are fond here aur.archlinux.org/packages/aravis/.
Libindi is a really great project. Thanks to all contributors.