Compilation de evince sous fedora 11

Fermé
raph26000 Messages postés 2 Date d'inscription jeudi 8 avril 2010 Statut Membre Dernière intervention 8 avril 2010 - Modifié par raph26000 le 8/04/2010 à 17:43
jeanbi Messages postés 15118 Date d'inscription samedi 9 décembre 2006 Statut Contributeur Dernière intervention 6 février 2023 - 8 avril 2010 à 17:54
Salut à tous,

Je suis étudiant en DUT informatique en 2 éme année , j'effectue en ce moment mon stage de fin d'année et j'ai donc un probléme sur la compilation d'un open source qui est evince ( logiciel de lecture de PDF pour ce qui connaisse pas )

Enfin bref , j'ai téléchargé le code source de la version 2.30.0 , et j'ai fait un ./configure , voici ce que j'ai comme erreur :

[root@localhost evince-2.30.0]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for glib-mkenums... /usr/bin/glib-mkenums
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking gnome-doc-utils >= 0.3.2... yes
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes
checking what language compliance flags to pass to the C compiler...
checking what warning flags to pass to the C++ compiler... -Wall -Wno-unused
checking what language compliance flags to pass to the C++ compiler...
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.40.6 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.0
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for which platform to build... gnome
checking for LIBDOCUMENT... yes
checking for LIBVIEW... yes
checking for BACKEND... yes
checking for FRONTEND_CORE... yes
checking for PREVIEWER... yes
checking for SHELL_CORE... yes
checking which smclient backend to use... xsmp
checking for SMCLIENT... yes
checking for cairo_format_stride_for_width... yes
checking for gtk_print_operation_get_n_pages_to_print... no
checking whether gtk+-unix-print support is requested... yes
checking for GTKUNIXPRINT... yes
checking for KEYRING... yes
checking for DBUS... yes
checking for dbus-binding-tool... /usr/bin/dbus-binding-tool
checking for EV_DAEMON... yes
checking whether GConf support is requested... yes
checking for GCONF... yes
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for gconftool-2... /usr/bin/gconftool-2
checking for NAUTILUS... no
configure: error: libnautilus-extension not found; use --disable-nautilus to disable the nautilus extensions


Je pense donc qu'il me manque des librairies comme libnautilus - extensions , en regardant sur le net j'ai essayé de télécharger ces librairies , j'ai abandonné par manque du support :/

J'attend vos reponses , merci d'avance ;)


edit : je précise que dans mon cas la compilation est necessaire puisque je dois modifier le code source de evince pour qu'il coressponde au cahier des charges.


A voir également:

4 réponses

KuKrApOk59 Messages postés 437 Date d'inscription jeudi 27 décembre 2007 Statut Membre Dernière intervention 13 septembre 2013 84
Modifié par KuKrApOk59 le 8/04/2010 à 17:32
Pourquoi ne pas utiliser yum, qui te permet d'installer un paquet
(et évitera pas mal de soucis) ?

# yum install evince
Sinon, pour résoudre ton problème, il te faudra effectivement
- DL libnautilus-extension
- ou utiliser l'option de compilation --disable-nautilus
Si vous avez votre réponse, pensez à spécifier : [Résolu]
0
raph26000 Messages postés 2 Date d'inscription jeudi 8 avril 2010 Statut Membre Dernière intervention 8 avril 2010
8 avril 2010 à 17:39
j'aurais peut etre du preciser que dans le cadre de mon stage en entreprise je dois modifier le code source de evince justement ... d'ou une compilation nécessaire .
0
KuKrApOk59 Messages postés 437 Date d'inscription jeudi 27 décembre 2007 Statut Membre Dernière intervention 13 septembre 2013 84
Modifié par KuKrApOk59 le 8/04/2010 à 17:47
Je comprends mieux ton besoin dans ce cas

Tu as utilisé quel lien pour télécharger ces librairies libnautilus-extension ?
Des messages d'erreur en les compilant ?

Donnes toutes tes infos ;o)
Si vous avez votre réponse, pensez à spécifier : [Résolu]
0
jeanbi Messages postés 15118 Date d'inscription samedi 9 décembre 2006 Statut Contributeur Dernière intervention 6 février 2023 2 177
8 avril 2010 à 17:54
bonjour,
pour complier il faut les devel des programmes demandes
donc si tu as un soucis avec nautilus il faut installer nautilus-devel
ce qui te donnera
/usr/include/nautilus/libnautilus-extension/nautilus-column-provider.h
/usr/include/nautilus/libnautilus-extension/nautilus-column.h
/usr/include/nautilus/libnautilus-extension/nautilus-extension-types.h
/usr/include/nautilus/libnautilus-extension/nautilus-file-info.h
/usr/include/nautilus/libnautilus-extension/nautilus-info-provider.h
/usr/include/nautilus/libnautilus-extension/nautilus-location-widget-provider.h
/usr/include/nautilus/libnautilus-extension/nautilus-menu-item.h
/usr/include/nautilus/libnautilus-extension/nautilus-menu-provider.h
/usr/include/nautilus/libnautilus-extension/nautilus-menu.h
/usr/include/nautilus/libnautilus-extension/nautilus-property-page-provider.h
/usr/include/nautilus/libnautilus-extension/nautilus-property-page.h
/usr/lib/libnautilus-extension.so
/usr/lib/pkgconfig/libnautilus-extension.pc
/usr/share/gtk-doc/html/libnautilus-extension/NautilusColumn.html
/usr/share/gtk-doc/html/libnautilus-extension/NautilusMenuItem.html
/usr/share/gtk-doc/html/libnautilus-extension/NautilusPropertyPage.html
/usr/share/gtk-doc/html/libnautilus-extension/ch01.html
/usr/share/gtk-doc/html/libnautilus-extension/home.png
/usr/share/gtk-doc/html/libnautilus-extension/index.html
/usr/share/gtk-doc/html/libnautilus-extension/index.sgml
/usr/share/gtk-doc/html/libnautilus-extension/ix01.html
/usr/share/gtk-doc/html/libnautilus-extension/left.png
/usr/share/gtk-doc/html/libnautilus-extension/libnautilus-extension-nautilus-column-provider.html
/usr/share/gtk-doc/html/libnautilus-extension/libnautilus-extension-nautilus-extension-types.html
/usr/share/gtk-doc/html/libnautilus-extension/libnautilus-extension-nautilus-file-info.html
/usr/share/gtk-doc/html/libnautilus-extension/libnautilus-extension-nautilus-info-provider.html
/usr/share/gtk-doc/html/libnautilus-extension/libnautilus-extension-nautilus-location-widget-provider.html
/usr/share/gtk-doc/html/libnautilus-extension/libnautilus-extension-nautilus-menu-provider.html
/usr/share/gtk-doc/html/libnautilus-extension/libnautilus-extension-nautilus-property-page-provider.html
/usr/share/gtk-doc/html/libnautilus-extension/libnautilus-extension.devhelp
/usr/share/gtk-doc/html/libnautilus-extension/libnautilus-extension.devhelp2
/usr/share/gtk-doc/html/libnautilus-extension/pt01.html
/usr/share/gtk-doc/html/libnautilus-extension/right.png
/usr/share/gtk-doc/html/libnautilus-extension/style.css
/usr/share/gtk-doc/html/libnautilus-extension/up.png

etc...
a+
0