View Issue Details

IDProjectCategoryView StatusLast Update
0002889libpasastroGeneralpublic26-02-02 18:24
Reporterrobert morelli Assigned To 
PrioritynormalSeverityblockReproducibilityalways
Status newResolutionopen 
PlatformRPI5OSRaspian OS VersionTrixie
Summary0002889: Pb de compilation de libpasastro
DescriptionBonjour,

En vue d'installer CCDCiel sur mon RPI5, j'ai suivi la procédure de compilation de libpasastro qui ne semble pas aboutir:

robert@raspberrypi:~/libpasastro $ sudo make install PREFIX=/usr
./install.sh /usr
Install LibPasAstro to /usr
install: impossible d'évaluer 'getdss/libpasgetdss.so.*': Aucun fichier ou dossier de ce nom
install: impossible d'évaluer 'plan404/libpasplan404.so.*': Aucun fichier ou dossier de ce nom
install: impossible d'évaluer 'wcs/libpaswcs.so.*': Aucun fichier ou dossier de ce nom
'/usr/share/doc/libpasastro/changelog' supprimé
'changelog' -> '/usr/share/doc/libpasastro/changelog'
'/usr/share/doc/libpasastro/copyright' supprimé
'copyright' -> '/usr/share/doc/libpasastro/copyright'
ln: impossible de créer le lien symbolique 'libpasgetdss.so.1': Le fichier existe
ln: impossible de créer le lien symbolique 'libpasplan404.so.1': Le fichier existe
ln: impossible de créer le lien symbolique 'libpaswcs.so.1': Le fichier existe
make: *** [Makefile:58: install] Error 1
robert@raspberrypi:~/libpasastro $
TagsNo tags attached.

Activities

Patrick Chevalley

26-01-31 09:53

administrator   ~0009619

Bonjour Robert,

Mes makefiles ne sont peut-être pas standards, mais il faut toujours faire make avant make install.
Je le fais toujours comme ça car ça évite aussi de faire la compilation en root.

robert morelli

26-01-31 11:16

reporter   ~0009620

Last edited: 26-01-31 12:30

Bonjour Christian,

j'ai suivi le readme, donc:
- make clean all
- sudo make install PREFIX=/usr
- sudo ldconfig

Je suis donc bloqué pour installer CCDciel, Skychart, eqmodgui.

Patrick Chevalley

26-02-01 10:10

administrator   ~0009623

C'est Patrick, pas Christian :)

Ou est-ce que tu as pris les sources ? github ?
Qu'est-ce qui ne marche pas ? des messages ?

robert morelli

26-02-01 10:40

reporter   ~0009624

Les sources viennent du github.

stellarmate@stellarmate:~/libpasastro $ make all clean
make -C getdss all
make[1]: Entering directory '/home/stellarmate/libpasastro/getdss'
gcc -I. -O3 -fPIC -c getdss_lib.cpp
gcc -I. -O3 -fPIC -c dss.cpp
gcc -I. -O3 -fPIC -c extr_fit.cpp
gcc -I. -O3 -fPIC -c getpiece.cpp
gcc -I. -O3 -fPIC -c hdcmprss.cpp
gcc -I. -O3 -fPIC -c bitinput.cpp
gcc -I. -O3 -fPIC -c decode.cpp
gcc -I. -O3 -fPIC -c dodecode.cpp
gcc -I. -O3 -fPIC -c hinv.cpp
gcc -I. -O3 -fPIC -c platelst.cpp
gcc -I. -O3 -fPIC -c qtreedec.cpp
gcc -shared -lc -Wl,-soname,libpasgetdss.so.1 -o libpasgetdss.so.1.1 getdss_lib.o dss.o extr_fit.o getpiece.o hdcmprss.o bitinput.o decode.o dodecode.o hinv.o platelst.o qtreedec.o -lm -lstdc++
make[1]: Leaving directory '/home/stellarmate/libpasastro/getdss'
make -C plan404 all
make[1]: Entering directory '/home/stellarmate/libpasastro/plan404'
gcc -O3 -fPIC -c plan404.c -o obj/plan404.o
gcc -O3 -fPIC -c mer404.c -o obj/mer404.o
gcc -O3 -fPIC -c ven404.c -o obj/ven404.o
gcc -O3 -fPIC -c ear404.c -o obj/ear404.o
gcc -O3 -fPIC -c mar404.c -o obj/mar404.o
gcc -O3 -fPIC -c jup404.c -o obj/jup404.o
gcc -O3 -fPIC -c sat404.c -o obj/sat404.o
gcc -O3 -fPIC -c ura404.c -o obj/ura404.o
gcc -O3 -fPIC -c nep404.c -o obj/nep404.o
gcc -O3 -fPIC -c plu404.c -o obj/plu404.o
gcc -O3 -fPIC -c gplan.c -o obj/gplan.o
gcc -O3 -fPIC -c cmoon.c -o obj/cmoon.o
gcc -O3 -fPIC -c precess.c -o obj/precess.o
gcc -O3 -fPIC -c epsiln.c -o obj/epsiln.o
gcc -O3 -fPIC -c nutate.c -o obj/nutate.o
gcc -O3 -fPIC -shared -Wl,-soname,libpasplan404.so.1 -lc -lm -o libpasplan404.so.1.1 ./obj/plan404.o ./obj/mer404.o ./obj/ven404.o ./obj/ear404.o ./obj/mar404.o ./obj/jup404.o ./obj/sat404.o ./obj/ura404.o ./obj/nep404.o ./obj/plu404.o ./obj/gplan.o ./obj/cmoon.o ./obj/precess.o ./obj/epsiln.o ./obj/nutate.o -lm
make[1]: Leaving directory '/home/stellarmate/libpasastro/plan404'
make -C wcs all
make[1]: Entering directory '/home/stellarmate/libpasastro/wcs'
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o cdcwcs.o cdcwcs.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o imgetwcs.o imgetwcs.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o daoread.o daoread.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o wcscon.o wcscon.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o fitswcs.o fitswcs.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o wcsinit.o wcsinit.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o wcs.o wcs.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o imrotate.o imrotate.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o fitsfile.o fitsfile.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o imhfile.o imhfile.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o hget.o hget.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o hput.o hput.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o imio.o imio.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o dateutil.o dateutil.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o imutil.o imutil.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o worldpos.o worldpos.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o tnxpos.o tnxpos.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o zpxpos.o zpxpos.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o dsspos.o dsspos.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o platepos.o platepos.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o sortstar.o sortstar.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o iget.o iget.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o fileutil.o fileutil.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o wcslib.o wcslib.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o lin.o lin.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o cel.o cel.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o proj.o proj.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o sph.o sph.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o wcstrig.o wcstrig.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o distort.o distort.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -c -o poly.o poly.c
gcc -w -fPIC -std=c99 -D_XOPEN_SOURCE=500 -shared -Wl,-soname,libpaswcs.so.1 -lc -lm -o libpaswcs.so.1.1 cdcwcs.o imgetwcs.o daoread.o wcscon.o fitswcs.o wcsinit.o wcs.o imrotate.o fitsfile.o imhfile.o hget.o hput.o imio.o dateutil.o imutil.o worldpos.o tnxpos.o zpxpos.o dsspos.o platepos.o sortstar.o iget.o fileutil.o wcslib.o lin.o cel.o proj.o sph.o wcstrig.o distort.o poly.o -lm
make[1]: Leaving directory '/home/stellarmate/libpasastro/wcs'
make -C getdss clean
make[1]: Entering directory '/home/stellarmate/libpasastro/getdss'
rm -f getdss_lib.o dss.o extr_fit.o getpiece.o hdcmprss.o bitinput.o decode.o dodecode.o hinv.o platelst.o qtreedec.o libpasgetdss.so.1.1
make[1]: Leaving directory '/home/stellarmate/libpasastro/getdss'
make -C plan404 clean
make[1]: Entering directory '/home/stellarmate/libpasastro/plan404'
rm -f ./obj/plan404.o ./obj/mer404.o ./obj/ven404.o ./obj/ear404.o ./obj/mar404.o ./obj/jup404.o ./obj/sat404.o ./obj/ura404.o ./obj/nep404.o ./obj/plu404.o ./obj/gplan.o ./obj/cmoon.o ./obj/precess.o ./obj/epsiln.o ./obj/nutate.o libpasplan404.so.1.1
make[1]: Leaving directory '/home/stellarmate/libpasastro/plan404'
make -C wcs clean
make[1]: Entering directory '/home/stellarmate/libpasastro/wcs'
rm -f *.a *.o libpaswcs.so.1.1
make[1]: Leaving directory '/home/stellarmate/libpasastro/wcs'
stellarmate@stellarmate:~/libpasastro $

stellarmate@stellarmate:~/libpasastro $ sudo make install PREFIX=/usr
./install.sh /usr
Install LibPasAstro to /usr
install: cannot stat 'getdss/libpasgetdss.so.*': No such file or directory
install: cannot stat 'plan404/libpasplan404.so.*': No such file or directory
install: cannot stat 'wcs/libpaswcs.so.*': No such file or directory
removed '/usr/share/doc/libpasastro/changelog'
'changelog' -> '/usr/share/doc/libpasastro/changelog'
removed '/usr/share/doc/libpasastro/copyright'
'copyright' -> '/usr/share/doc/libpasastro/copyright'
ln: failed to create symbolic link 'libpasgetdss.so.1': File exists
ln: failed to create symbolic link 'libpasplan404.so.1': File exists
ln: failed to create symbolic link 'libpaswcs.so.1': File exists
make: *** [Makefile:58: install] Error 1
stellarmate@stellarmate:~/libpasastro $

Puis sudo ldconfig, pas de message.

Patrick Chevalley

26-02-01 10:47

administrator   ~0009625

Tu fais : make all clean
le "all" compile les librairies, puis le "clean" les effaces.

Il faut le faire dans le bon ordre, essaye : make clean all
ou en deux fois:
make clean
make

robert morelli

26-02-01 12:08

reporter   ~0009626

Il y a toujours l'erreur au make install à la ligne 58 du makefile.

Patrick Chevalley

26-02-01 13:26

administrator   ~0009627

Si c'est juste le lien qui existe déjà c'est pas grave et ça va marcher, il n'y a pas besoin de le refaire a chaque fois.
Je viens de faire la correction pour les remplacer, c'est a jour sur Github.

L'important c'est qu'a la la fin tu as ces fichiers:
-rw-r--r-- 1 root root 59968 Feb 1 13:21 /usr/lib/libpasgetdss.so.1.1
-rw-r--r-- 1 root root 162872 Feb 1 13:21 /usr/lib/libpasplan404.so.1.1
-rw-r--r-- 1 root root 566944 Feb 1 13:21 /usr/lib/libpaswcs.so.1.1
lrwxrwxrwx 1 root root 19 Feb 1 13:21 /usr/lib/libpasgetdss.so.1 -> libpasgetdss.so.1.1
lrwxrwxrwx 1 root root 20 Feb 1 13:21 /usr/lib/libpasplan404.so.1 -> libpasplan404.so.1.1
lrwxrwxrwx 1 root root 16 Feb 1 13:21 /usr/lib/libpaswcs.so.1 -> libpaswcs.so.1.1

robert morelli

26-02-02 11:07

reporter   ~0009628

Les fichiers sont bien présents mais ça ne fonctionne toujours pas pour CCDCiel. J'ai omis de préciser que c'est sous Raspian Trixie.

stellarmate@stellarmate:/usr/lib $ ls -l libpas*
lrwxrwxrwx 1 root root 19 Jan 31 11:25 libpasgetdss.so.1 -> libpasgetdss.so.1.1
-rw-r--r-- 1 root root 67936 Feb 1 12:07 libpasgetdss.so.1.1
lrwxrwxrwx 1 root root 20 Jan 31 11:25 libpasplan404.so.1 -> libpasplan404.so.1.1
-rw-r--r-- 1 root root 191016 Feb 1 12:07 libpasplan404.so.1.1
lrwxrwxrwx 1 root root 16 Jan 31 11:25 libpaswcs.so.1 -> libpaswcs.so.1.1
-rw-r--r-- 1 root root 537688 Feb 1 12:07 libpaswcs.so.1.1
stellarmate@stellarmate:/usr/lib $


stellarmate@stellarmate:~/Downloads $ sudo dpkg -i ccdciel_0.9.92-3775_arm64.deb
(Reading database ... 206390 files and directories currently installed.)
Preparing to unpack ccdciel_0.9.92-3775_arm64.deb ...
Unpacking ccdciel (0.9.92-3775) over (0.9.92-3775) ...
dpkg: dependency problems prevent configuration of ccdciel:
 ccdciel depends on libqt5pas1; however:
  Package libqt5pas1 is not installed.
 ccdciel depends on libpasastro; however:
  Package libpasastro is not installed.

dpkg: error processing package ccdciel (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 ccdciel
stellarmate@stellarmate:~/Downloads $

Idem pour eqmodgui:

stellarmate@stellarmate:~/Downloads $ sudo dpkg -i eqmodgui-qt6_1.8.0-163_arm64.deb
(Reading database ... 206390 files and directories currently installed.)
Preparing to unpack eqmodgui-qt6_1.8.0-163_arm64.deb ...
Unpacking eqmodgui-qt6 (1.8.0-163) over (1.8.0-163) ...
dpkg: dependency problems prevent configuration of eqmodgui-qt6:
 eqmodgui-qt6 depends on libqt6pas6; however:
  Package libqt6pas6 is not installed.
 eqmodgui-qt6 depends on libsdl-mixer1.2; however:
  Package libsdl-mixer1.2 is not installed.

dpkg: error processing package eqmodgui-qt6 (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 eqmodgui-qt6
stellarmate@stellarmate:~/Downloads $

Pour Skychart:

stellarmate@stellarmate:~/Downloads $ sudo dpkg -i skychart_4.2.1-4073_arm64.deb
Selecting previously unselected package skychart.
(Reading database ... 203006 files and directories currently installed.)
Preparing to unpack skychart_4.2.1-4073_arm64.deb ...
Unpacking skychart (4.2.1-4073) ...
dpkg: dependency problems prevent configuration of skychart:
 skychart depends on libpasastro; however:
  Package libpasastro is not installed.
 skychart depends on libchealpix0; however:
  Package libchealpix0 is not installed.
 skychart depends on espeak; however:
  Package espeak is not installed.

dpkg: error processing package skychart (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 skychart
stellarmate@stellarmate:~/Downloads

Les librairies Qt5 ou 6 ne sont pas disponibles pour Trixie.

Patrick Chevalley

26-02-02 12:16

administrator   ~0009629

Je te conseil vraiment de ressayer avec la méthode indiquée sur Webastro.

Autrement pour les dépendances manquante pour libqt5pas1, libqt6pas6, libchealpix0, espeak il suffit de faire: apt install -f

Mais ça ne va pas lui faire comprendre que tu as compilé libpasastro sans passer par un paquet .deb
C'est toujours problématique de mélanger les deux modes d'installation.
Si vraiment tu veux insister dans cette voie tu peux utiliser le script buildpkg.sh dans le répertoire libpasastro, ça va te faire un .deb.

robert morelli

26-02-02 13:57

reporter   ~0009630

Je fais ça pour un membre du club qui fait de spectroscopie avec un Lhires et qui bien sur veut utiliser CCDCiel comme logiciel avec un RPI5.
Une autre solution est d'utiliser plutôt un Ubuntu avec lequel on n'aura pas tout ces soucis. Mais par pure curiosité, je vais insister pour installer tout cela sur une Debian Raspian Trixie ! Merci de ton aide précieuse.

Je n'ai pas mélangé les méthodes.

Avec l'option 2:

stellarmate@stellarmate:~ $ sudo apt -f install ccdciel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ccdciel : Depends: libqt5pas1 but it is not installable
           Recommends: libpasraw but it is not installable
           Recommends: espeak but it is not installable
           Recommends: exiv2 but it is not installable
E: Unable to correct problems, you have held broken packages.
stellarmate@stellarmate:~ $

Pour le deb de libpasastro:

stellarmate@stellarmate:~/libpasastro $ sudo ./buildpkg.sh
rm: cannot remove 'libpasastro*.xz': No such file or directory
rm: cannot remove 'libpasastro*.deb': No such file or directory
rm: cannot remove 'libpasastro*.rpm': No such file or directory
make -C getdss clean
make[1]: Entering directory '/home/stellarmate/libpasastro/getdss'
rm -f getdss_lib.o dss.o extr_fit.o getpiece.o hdcmprss.o bitinput.o decode.o dodecode.o hinv.o platelst.o qtreedec.o libpasgetdss.so.1.1
make[1]: Leaving directory '/home/stellarmate/libpasastro/getdss'
make -C plan404 clean
make[1]: Entering directory '/home/stellarmate/libpasastro/plan404'
rm -f ./obj/plan404.o ./obj/mer404.o ./obj/ven404.o ./obj/ear404.o ./obj/mar404.o ./obj/jup404.o ./obj/sat404.o ./obj/ura404.o ./obj/nep404.o ./obj/plu404.o ./obj/gplan.o ./obj/cmoon.o ./obj/precess.o ./obj/epsiln.o ./obj/nutate.o libpasplan404.so.1.1
make[1]: Leaving directory '/home/stellarmate/libpasastro/plan404'
make -C wcs clean
make[1]: Entering directory '/home/stellarmate/libpasastro/wcs'
rm -f *.a *.o libpaswcs.so.1.1
make[1]: Leaving directory '/home/stellarmate/libpasastro/wcs'
make -C getdss all
make[1]: Entering directory '/home/stellarmate/libpasastro/getdss'
arm-linux-gnueabihf-g++ -I. -O3 -fPIC -c getdss_lib.cpp
make[1]: arm-linux-gnueabihf-g++: No such file or directory
make[1]: *** [Makefile:32: getdss_lib.o] Error 127
make[1]: Leaving directory '/home/stellarmate/libpasastro/getdss'
make: *** [Makefile:28: all] Error 2
stellarmate@stellarmate:~/libpasastro $

Patrick Chevalley

26-02-02 18:24

administrator   ~0009631

Je pense qu'il vaut mieux abandonner cette compilation de libpasastro qui au final n'apporte rien et se concentrer sur l'installation de ccdciel.

Pour être sur que le repo est bien configuré regarde que le fichier suivant correspond:
$ cat /etc/apt/sources.list.d/skychart.sources
Types: deb
URIs: http://www.ap-i.net/apt/
Suites: unstable
Components: main
Signed-By: /usr/local/share/keyrings/skychart.gpg

Si c'est bien la cas, fait:
sudo apt remove ccdciel

Puis:
sudo apt update
sudo apt install ccdciel

Je ne peux pas voir la liste des paquets dans Raspbian, mais dans Debian Trixie il y a bien l'interface pour Qt5:
https://packages.debian.org/trixie/libqt5pas1

Issue History

Date Modified Username Field Change
26-01-30 23:52 robert morelli New Issue
26-01-31 09:53 Patrick Chevalley Note Added: 0009619
26-01-31 11:16 robert morelli Note Added: 0009620
26-01-31 12:30 robert morelli Note Edited: 0009620
26-02-01 10:10 Patrick Chevalley Note Added: 0009623
26-02-01 10:40 robert morelli Note Added: 0009624
26-02-01 10:47 Patrick Chevalley Note Added: 0009625
26-02-01 12:08 robert morelli Note Added: 0009626
26-02-01 13:26 Patrick Chevalley Note Added: 0009627
26-02-02 11:07 robert morelli Note Added: 0009628
26-02-02 12:16 Patrick Chevalley Note Added: 0009629
26-02-02 13:57 robert morelli Note Added: 0009630
26-02-02 18:24 Patrick Chevalley Note Added: 0009631