Hi Sune,
Today i finally got around looking at the kstars problems again, and i found
out that kstars does not create links to indi_lx200generic. One of them
should be a link called indi_lx200autostar. There is also an upstream
bugreport about the same problem. ( see
http://bugs.kde.org/show_bug.cgi?id=168411 ).
When I create this link manually, I can control my telescope.
The relevant part in the CMakeLists.txt is (i suppose) from line 211 to 220 as
attached.
I'm still not sure if this is an upstream or a packageing problem. Note that
the upstream bug report is from a kubuntu user, which is probably also based
on the same debian packages.
Still no success on the webcam issue though...
> patching the kstars dir and running make inside builddir, followed by
> fakeroot debian/rules binary should build binary packages without
> cleaning everything up before.
Yes, this works fine, however now (with the sources in experimental as of
today), the kdeedu package wont' build. Everything seems fine during
compilation but when creating the kalzium .deb it fails with:
~/Debs/kdeedu-4.1.0$ fakeroot debian/rules binary
lots of output skipped ...
.
dh_shlibdeps -pkalgebra
dh_installdeb -pkalzium
dh_perl -pkalzium
dh_shlibdeps -pkalzium
dpkg-shlibdeps: failure: couldn't find library libcompoundviewer.so.4 needed by
debian/kalzium/usr/bin/kalzium (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any
shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set
LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary-predeb-IMPL/kalzium] Fout 1
I checked and libcompoundviewer.so.4 *has* actually been build in
./obj-i486-linux-gnu/lib/libcompoundviewer.so.4
and also
./debian/tmp/usr/lib/libcompoundviewer.so.4
so it looks like there is some sort of path problem.
What can I do to fix this?
Yours,
Gerrit Jan.
if(UNIX)
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake
"exec_program(${CMAKE_COMMAND} ARGS -E create_symlink
${BIN_INSTALL_DIR}/indi_lx200generic ${BIN_INSTALL_DIR}/indi_lx200classic)\n
exec_program(${CMAKE_COMMAND} ARGS -E create_symlink
${BIN_INSTALL_DIR}/indi_lx200generic ${BIN_INSTALL_DIR}/indi_lx200autostar)\n
exec_program(${CMAKE_COMMAND} ARGS -E create_symlink
${BIN_INSTALL_DIR}/indi_lx200generic ${BIN_INSTALL_DIR}/indi_lx200_16)\n
exec_program(${CMAKE_COMMAND} ARGS -E create_symlink
${BIN_INSTALL_DIR}/indi_lx200generic ${BIN_INSTALL_DIR}/indi_lx200gps)\n
")
set_target_properties(indi_lx200generic PROPERTIES POST_INSTALL_SCRIPT
${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake)
endif(UNIX)