[Nut-upsuser] Pb de compilation de mgeops-psp-3.0.6
Arnaud Quette
aquette.dev at gmail.com
Fri Feb 22 13:05:43 UTC 2008
Bonjour,
2008/2/22, Sid Touati <Sid.Touati at inria.fr>:
> Bonjour
>
> > - fichier config.log, dans le répertoire de PSP, après avoir lancé "./configure"
>
>
> le fichier est joint
>
>
> > - résultat de "rpm -ql lib64sigc++2.0-devel"
>
> # rpm -ql lib64sigc++2.0-devel
>
> /usr/include/sigc++-2.0
> /usr/include/sigc++-2.0/sigc++
> /usr/include/sigc++-2.0/sigc++/adaptors
> /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h
> /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h
> /usr/include/sigc++-2.0/sigc++/adaptors/bind.h
> /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h
> /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h
> /usr/include/sigc++-2.0/sigc++/adaptors/compose.h
> /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h
> /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h
> /usr/include/sigc++-2.0/sigc++/adaptors/hide.h
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/macros
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/macros/base.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/macros/group.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/macros/lambda.cc.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/macros/operator.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/macros/select.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h
> /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h
> /usr/include/sigc++-2.0/sigc++/adaptors/macros
> /usr/include/sigc++-2.0/sigc++/adaptors/macros/adaptor_trait.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/macros/bind.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/macros/bind_return.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/macros/compose.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/macros/deduce_result_type.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/macros/exception_catch.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/macros/hide.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/macros/retype.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/macros/retype_return.h.m4
> /usr/include/sigc++-2.0/sigc++/adaptors/retype.h
> /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h
> /usr/include/sigc++-2.0/sigc++/bind.h
> /usr/include/sigc++-2.0/sigc++/bind_return.h
> /usr/include/sigc++-2.0/sigc++/class_slot.h
> /usr/include/sigc++-2.0/sigc++/connection.h
> /usr/include/sigc++-2.0/sigc++/functors
> /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h
> /usr/include/sigc++-2.0/sigc++/functors/functors.h
> /usr/include/sigc++-2.0/sigc++/functors/macros
> /usr/include/sigc++-2.0/sigc++/functors/macros/functor_trait.h.m4
> /usr/include/sigc++-2.0/sigc++/functors/macros/mem_fun.h.m4
> /usr/include/sigc++-2.0/sigc++/functors/macros/ptr_fun.h.m4
> /usr/include/sigc++-2.0/sigc++/functors/macros/slot.h.m4
> /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h
> /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h
> /usr/include/sigc++-2.0/sigc++/functors/slot.h
> /usr/include/sigc++-2.0/sigc++/functors/slot_base.h
> /usr/include/sigc++-2.0/sigc++/hide.h
> /usr/include/sigc++-2.0/sigc++/limit_reference.h
> /usr/include/sigc++-2.0/sigc++/macros
> /usr/include/sigc++-2.0/sigc++/macros/class_slot.h.m4
> /usr/include/sigc++-2.0/sigc++/macros/hide.h.m4
> /usr/include/sigc++-2.0/sigc++/macros/limit_reference.h.m4
> /usr/include/sigc++-2.0/sigc++/macros/method_slot.h.m4
> /usr/include/sigc++-2.0/sigc++/macros/object_slot.h.m4
> /usr/include/sigc++-2.0/sigc++/macros/retype.h.m4
> /usr/include/sigc++-2.0/sigc++/macros/signal.h.m4
> /usr/include/sigc++-2.0/sigc++/macros/slot.h.m4
> /usr/include/sigc++-2.0/sigc++/macros/template.macros.m4
> /usr/include/sigc++-2.0/sigc++/method_slot.h
> /usr/include/sigc++-2.0/sigc++/object.h
> /usr/include/sigc++-2.0/sigc++/object_slot.h
> /usr/include/sigc++-2.0/sigc++/reference_wrapper.h
> /usr/include/sigc++-2.0/sigc++/retype.h
> /usr/include/sigc++-2.0/sigc++/retype_return.h
> /usr/include/sigc++-2.0/sigc++/sigc++.h
> /usr/include/sigc++-2.0/sigc++/signal.h
> /usr/include/sigc++-2.0/sigc++/signal_base.h
> /usr/include/sigc++-2.0/sigc++/slot.h
> /usr/include/sigc++-2.0/sigc++/trackable.h
> /usr/include/sigc++-2.0/sigc++/type_traits.h
> /usr/include/sigc++-2.0/sigc++/visit_each.h
> /usr/lib64/libsigc-2.0.a
> /usr/lib64/libsigc-2.0.la
> /usr/lib64/libsigc-2.0.so
> /usr/lib64/pkgconfig/sigc++-2.0.pc
> /usr/lib64/sigc++-2.0
> /usr/lib64/sigc++-2.0/include
> /usr/lib64/sigc++-2.0/include/sigc++config.h
> /usr/share/doc/lib64sigc++2.0-devel
> /usr/share/doc/lib64sigc++2.0-devel/AUTHORS
> /usr/share/doc/lib64sigc++2.0-devel/ChangeLog
> /usr/share/doc/lib64sigc++2.0-devel/TODO
>
>
>
> > - éventuellement la fameuse erreur que vous mentionnez ci dessus.
>
>
> make[3]: entrant dans le répertoire «
>
> /home/touati/tmp/mgeops-psp-3.0.7/src »
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I..
> -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
> -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -g -O2
> -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include
> -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
> -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include
> -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6
> -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0
> -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include
> -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
> -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0
> -g -O2 -MT splashwin_glade.o -MD -MP -MF
> ".deps/splashwin_glade.Tpo" -c -o splashwin_glade.o splashwin_glade.cc; \
>
> then mv -f ".deps/splashwin_glade.Tpo"
> ".deps/splashwin_glade.Po"; else rm -f ".deps/splashwin_glade.Tpo"; exit
> 1; fi
> splashwin_glade.cc:39:34: erreur: sigc++/compatibility.h : Aucun fichier
> ou répertoire de ce type
merci pour ces informations.
La librairie, et les chemins, sont bien détectés.
En revanche, le fichier mentionné dans l'erreur (compatibility.h) n'existe plus.
Cette couche de compatibilité avec les versions antérieures à sigc++
1.2 n'est plus nécessaire.
Il semble que Mandriva ai décidé de livrer la version de développement
(2.1.1) qui supprime ladite couche de compatibilité... Sans
commentaire. C'est ce genre de décision qui m'a fait me détourner de
Mandriva, comme de nombreux autres développeurs et utilisateurs, au
profit d'une base Debian.
Sachant que ce code est généré par Glade (outil de génération
d'interface graphique), je ne peux rien faire de plus au niveau de
PSP.
La seule solution est d'installer les paquets libsigc++ 2.0
http://sophie.zarb.org/viewrpm/272ba12c3c93b1f6676776fc5fdd9940
http://sophie.zarb.org/viewrpm/84e9edc1d2008e7150798055805b56e6
Relancez ensuite la procédure de génération de PSP, et cette fois,
vous devriez obtenir enfin un PSP pour Mandriva x86_64.
Cordialement,
Arnaud
--
Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/
More information about the Nut-upsuser
mailing list