So, in trying to follow in your footsteps, I added the following to a copy of ./build-soft-latest-xisf.sh in line 20
# add libxisf support
cd "$ROOTDIR"
[ ! -d "libxisf" ] && git clone --depth=1
git.launchpad.net/libxisf
cd libxisf
git pull origin
[ ! -d ../build-libxisf ] && { cmake -B ../build-libxisf ../libxisf -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_LIBS=1 -DCMAKE_BUILD_TYPE=Release || { echo "XISF lib failed"; exit 1; } }
cd ../build-libxisf
make -j $JOBS || { echo "XISF lib failed"; exit 1; }
sudo make install || { echo "XISF lib failed"; exit 1; }
running this script eventually produced errors later in the script, in compiling fitsdata
/home/blackastro/astro-soft/kstars/kstars/fitsviewer/fitsdata.cpp: In member function ‘bool FITSData::loadXISFImage(const QByteArray&)’:
/home/blackastro/astro-soft/kstars/kstars/fitsviewer/fitsdata.cpp:464:28: error: no matching function for call to ‘LibXISF::XISFReader::open(QString&)’
464 | xisfReader.open(m_Filename);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /home/blackastro/astro-soft/kstars/kstars/fitsviewer/fitsdata.cpp:42:
/usr/include/libxisf.h:357:10: note: candidate: ‘void LibXISF::XISFReader::open(const String&)’
357 | void open(const String &name);
| ^~~~
/usr/include/libxisf.h:357:29: note: no known conversion for argument 1 from ‘QString’ to ‘const String&’ {aka ‘const std::__cxx11::basic_string<char>&’}
357 | void open(const String &name);
| ~~~~~~~~~~~~~~^~~~
/usr/include/libxisf.h:358:10: note: candidate: ‘void LibXISF::XISFReader::open(const LibXISF::ByteArray&)’
358 | void open(const ByteArray &data);
| ^~~~
/usr/include/libxisf.h:358:32: note: no known conversion for argument 1 from ‘QString’ to ‘const LibXISF::ByteArray&’
358 | void open(const ByteArray &data);
| ~~~~~~~~~~~~~~~~~^~~~
/usr/include/libxisf.h:360:10: note: candidate: ‘void LibXISF::XISFReader::open(std::istream*)’
360 | void open(std::istream *io);
| ^~~~
/usr/include/libxisf.h:360:29: note: no known conversion for argument 1 from ‘QString’ to ‘std::istream*’ {aka ‘std::basic_istream<char>*’}
360 | void open(std::istream *io);
| ~~~~~~~~~~~~~~^~
etc...
I think I'm closer, in that I generated a libXISF.so.0.2.0
but I'm still clueless as to what is generating this current issue.
Cheers