Aller au contenu

[GIMP] Problème de compilation du plugin gimp-plugin-astronomy


Messages recommandés

Posté

Bonjour,

Je cherche à installer le plugin gimp-plugin-astronomy. Après quelques tentatives et après avoir rajouté quelques librairies requises, je bute sur un dernier problème, notamment sur le module d'alignement :

 

eric@MIRPHAK:~/Téléchargements/gimp-plugin-astronomy-0.8$ make
make  all-recursive
make[1]: Entering directory '/home/eric/Téléchargements/gimp-plugin-astronomy-0.8'
Making all in po
make[2]: Entering directory '/home/eric/Téléchargements/gimp-plugin-astronomy-0.8/po'
file=`echo de | sed 's,.*/,,'`.gmo \
 && rm -f $file && /usr/bin/msgfmt -o $file de.po
file=`echo ru | sed 's,.*/,,'`.gmo \
 && rm -f $file && /usr/bin/msgfmt -o $file ru.po
make[2]: Leaving directory '/home/eric/Téléchargements/gimp-plugin-astronomy-0.8/po'
Making all in scripts
make[2]: Entering directory '/home/eric/Téléchargements/gimp-plugin-astronomy-0.8/scripts'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/eric/Téléchargements/gimp-plugin-astronomy-0.8/scripts'
Making all in src
make[2]: Entering directory '/home/eric/Téléchargements/gimp-plugin-astronomy-0.8/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pthread -I/usr/include/gegl-0.3 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/gimp-2.0 -I/usr/local/include -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gimp-plugin-astronomy"\"   -g -O2 -Wall -MT alignment.o -MD -MP -MF ".deps/alignment.Tpo" \
 -c -o alignment.o `test -f 'alignment.c' || echo './'`alignment.c; \
then mv -f ".deps/alignment.Tpo" ".deps/alignment.Po"; \
else rm -f ".deps/alignment.Tpo"; exit 1; \
fi
alignment.c: In function ‘get_cross_correlation’:
alignment.c:627:27: warning: variable ‘data_square’ set but not used [-Wunused-but-set-variable]
 gdouble fit_square = 0., data_square = 0.;
                          ^
alignment.c:627:10: warning: variable ‘fit_square’ set but not used [-Wunused-but-set-variable]
 gdouble fit_square = 0., data_square = 0.;
         ^
alignment.c: In function ‘get_center’:
alignment.c:881:2: warning: ‘gimp_pixel_rgn_init’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48): Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
 gimp_pixel_rgn_init( &region_source, gimp_drawable_get( layer ),
 ^
alignment.c:881:2: warning: ‘gimp_drawable_get’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:51): Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
alignment.c:884:2: warning: ‘gimp_pixel_rgn_get_rect’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80): Use 'gegl_buffer_get' instead [-Wdeprecated-declarations]
 gimp_pixel_rgn_get_rect( &region_source, data, sel_pos_x, sel_pos_y, sel_width, sel_height );
 ^
alignment.c:887:7: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
 gint ret;
      ^
alignment.c:853:16: warning: variable ‘layer_type’ set but not used [-Wunused-but-set-variable]
 GimpImageType layer_type;
               ^
alignment.c:852:20: warning: variable ‘image_type’ set but not used [-Wunused-but-set-variable]
 GimpImageBaseType image_type;
                   ^
alignment.c: In function ‘get_quality’:
alignment.c:1072:2: warning: ‘gimp_pixel_rgn_init’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48): Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
 gimp_pixel_rgn_init( &region_source, gimp_drawable_get( layer ),
 ^
alignment.c:1072:2: warning: ‘gimp_drawable_get’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:51): Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
alignment.c:1075:2: warning: ‘gimp_pixel_rgn_get_rect’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80): Use 'gegl_buffer_get' instead [-Wdeprecated-declarations]
 gimp_pixel_rgn_get_rect( &region_source, data, sel_pos_x, sel_pos_y, sel_width, sel_height );
 ^
alignment.c:1044:16: warning: variable ‘layer_type’ set but not used [-Wunused-but-set-variable]
 GimpImageType layer_type;
               ^
alignment.c:1043:20: warning: variable ‘image_type’ set but not used [-Wunused-but-set-variable]
 GimpImageBaseType image_type;
                   ^
alignment.c: In function ‘align_layers’:
alignment.c:1181:3: warning: ‘gimp_pixel_rgn_init’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48): Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
  gimp_pixel_rgn_init( &region_source, gimp_drawable_get( layers[active_layer] ),
  ^
alignment.c:1181:3: warning: ‘gimp_drawable_get’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:51): Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
alignment.c:1184:3: warning: ‘gimp_pixel_rgn_get_rect’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80): Use 'gegl_buffer_get' instead [-Wdeprecated-declarations]
  gimp_pixel_rgn_get_rect( &region_source, reference_data, sel_pos_x, sel_pos_y, sel_width, sel_height );
  ^
alignment.c:1189:3: warning: ‘gimp_drawable_get_visible’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:105): Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations]
  if ( !parameters.visible_only || gimp_drawable_get_visible( layers[number] ) )
  ^
alignment.c:1223:2: warning: ‘gimp_drawable_set_name’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:102): Use 'gimp_item_set_name' instead [-Wdeprecated-declarations]
 gimp_drawable_set_name( layers[0], buffer );
 ^
alignment.c:1226:3: warning: ‘gimp_drawable_get_visible’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:105): Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations]
  if ( !gimp_drawable_get_visible( layers[number] ) && parameters.visible_only )
  ^
alignment.c:1241:5: warning: ‘gimp_drawable_set_name’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:102): Use 'gimp_item_set_name' instead [-Wdeprecated-declarations]
    gimp_drawable_set_name( layers[number], buffer );
    ^
alignment.c:1268:4: warning: ‘gimp_drawable_get_visible’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:105): Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations]
   if ( !parameters.visible_only || gimp_drawable_get_visible( layers[number] ) )
   ^
alignment.c:1321:5: warning: ‘gimp_pixel_rgn_init’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48): Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
    gimp_pixel_rgn_init( &region_source, gimp_drawable_get( layers[active_layer] ),
    ^
alignment.c:1321:5: warning: ‘gimp_drawable_get’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:51): Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
alignment.c:1324:5: warning: ‘gimp_pixel_rgn_get_rect’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80): Use 'gegl_buffer_get' instead [-Wdeprecated-declarations]
    gimp_pixel_rgn_get_rect( &region_source, reference_data, sel_pos_x, sel_pos_y, sel_width, sel_height );
    ^
alignment.c:1337:5: warning: ‘gimp_drawable_get_visible’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:105): Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations]
    if ( !parameters.visible_only || gimp_drawable_get_visible( layers[number] ) )
    ^
alignment.c:1373:5: warning: ‘gimp_drawable_get_visible’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:105): Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations]
    if ( !gimp_drawable_get_visible( layers[number] ) && parameters.visible_only )
    ^
alignment.c:1404:6: warning: ‘gimp_drawable_transform_rotate’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawabletransform_pdb.h:95): Use 'gimp_item_transform_rotate' instead [-Wdeprecated-declarations]
     gimp_drawable_transform_rotate( layers[number], angle, FALSE /* Auto-center */,
     ^
alignment.c:1412:4: warning: ‘gimp_selection_load’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpselection_pdb.h:66): Use 'gimp_image_select_item' instead [-Wdeprecated-declarations]
   gimp_selection_load( selection );
   ^
alignment.c:1438:6: warning: ‘gimp_pixel_rgn_init’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48): Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
     gimp_pixel_rgn_init( &region_source, gimp_drawable_get( layers[active_layer] ),
     ^
alignment.c:1438:6: warning: ‘gimp_drawable_get’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:51): Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
alignment.c:1441:6: warning: ‘gimp_pixel_rgn_get_rect’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80): Use 'gegl_buffer_get' instead [-Wdeprecated-declarations]
     gimp_pixel_rgn_get_rect( &region_source, reference_data, sel_pos_x, sel_pos_y, sel_width, sel_height );
     ^
alignment.c:1452:6: warning: ‘gimp_drawable_get_visible’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:105): Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations]
     if ( !parameters.visible_only || gimp_drawable_get_visible( layers[number] ) )
     ^
alignment.c:1484:4: warning: ‘gimp_drawable_set_name’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:102): Use 'gimp_item_set_name' instead [-Wdeprecated-declarations]
   gimp_drawable_set_name( layers[0], buffer );
   ^
alignment.c:1487:5: warning: ‘gimp_drawable_get_visible’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:105): Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations]
    if ( !gimp_drawable_get_visible( layers[number] ) && parameters.visible_only )
    ^
alignment.c:1502:7: warning: ‘gimp_drawable_set_name’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:102): Use 'gimp_item_set_name' instead [-Wdeprecated-declarations]
      gimp_drawable_set_name( layers[number], buffer );
      ^
alignment.c:1521:6: warning: ‘gimp_drawable_get_visible’ is deprecated (declared at /usr/include/gimp-2.0/libgimp/gimpdrawable.h:105): Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations]
     if ( !parameters.visible_only || gimp_drawable_get_visible( layers[number] ) )
     ^
alignment.c: In function ‘dialog’:
alignment.c:1659:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  &parameters.alignment_method, (gpointer) parameters.alignment_method,
                                ^
gcc  -g -O2 -Wall   -o astronomy-alignment  alignment.o -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.3 -lgegl-npd-0.3 -Wl,--export-dynamic -lgmodule-2.0 -pthread -ljson-glib-1.0 -lgio-2.0 -lbabl-0.1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lgsl -lgslcblas -lfftw3 -lfftw3 
/usr/bin/ld: alignment.o: référence au symbole non défini «exp@@GLIBC_2.2.5»
/lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:313: recipe for target 'astronomy-alignment' failed
make[2]: *** [astronomy-alignment] Error 1
make[2]: Leaving directory '/home/eric/Téléchargements/gimp-plugin-astronomy-0.8/src'
Makefile:250: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/eric/Téléchargements/gimp-plugin-astronomy-0.8'
Makefile:205: recipe for target 'all' failed
make: *** [all] Error 2

 

J'ai quand même continué l'installation, astronomy apparaît bien au menu filtres de gimp, mais il manque quelques fonctions vraiment très utiles.

J'utilise la version en développement de Gimp : 2.9.1. et là je tourne sur ubuntu 15.04.

 

Merci d'avance pour votre aide !

Posté

Salut,

il faut sans doute ajouter -lm dans la définition des librairies du Makefile. Donc éditer celui-ci. Si tu n'es pas développeur sous Linux tu risques de galérer. Bon courage...

 

Lionel

 

.

Posté

Ok! Enfin, à ce que j'ai pu tester, il marchouille un peu, mais est très incomplet. Du coup quels sont les plugins utilisables en astro (s'il y en a :p ) pour la version 2.9 ?

Rejoignez la conversation !

Vous pouvez répondre maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous pour poster avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

  • En ligne récemment   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.