Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 11/05/2007, à 21:10

feuloren

impossible de compiler avant window navigator

bonjour j'ai téléchargé les sources de avant windows navigator ici: http://avant-window-navigator.googlecod … 1-2.tar.gz

ensuite j'ai decompressé l'archive sur mon bureau et j'a lancé la commande inscrite dans le readme

feuloren@feuloren-desktop:~/Desktop/avant-window-navigator-0.1.1$ ./autogen.sh --prefix=/usr && make && make install
/usr/bin/gnome-autogen.sh

checking for autoconf >= 2.53...

  testing autoconf2.50... 
not found.
  testing autoconf... 
found 2.61

checking for automake >= 1.9...

  testing automake-1.10... 
not found.
  testing automake-1.9... 
found 1.9.6

checking for libtool >= 1.5...

  testing libtoolize... 
found 1.5.22

checking for glib-gettext >= 2.2.0...

  testing glib-gettextize... 
found 2.12.11

checking for intltool >= 0.30...

  testing intltoolize... 
found 0.35.5

checking for pkg-config >= 0.14.0...

  testing pkg-config... 
found 0.21

Checking for required M4 macros...


Checking for forbidden M4 macros...


Processing ./configure.in


Running libtoolize...


Running glib-gettextize... Ignore non-fatal messages.

Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.


Running intltoolize...


Running aclocal-1.9...

aclocal:configure.in:55: warning: macro `AM_GCONF_SOURCE_2' not found in library

Running autoconf...

configure.in:55: error: possibly undefined macro: AM_GCONF_SOURCE_2
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
feuloren@feuloren-desktop:~/Desktop/avant-window-navigator-0.1.1$

mais apparemment "il" n'arrive pas a compiler awn donc j'aimerais savoir comment faire pour le compiler

PS: j'ai feisty 64

Hors ligne

#2 Le 12/05/2007, à 19:10

mc_kornick

Re : impossible de compiler avant window navigator

salut ,   tu a essayer de suivre le tuto pas a pas ?

http://doc.ubuntu-fr.org/avant-window-navigator


chez moi ca a marcher

Pré-requis
Ce dock nécessite l'utilisation de beryl/compiz, mais peut aussi etre utilisé grâce à xcompmgr.
tu a  bien fait attention a ca ?

desinstalle le et suit le tuto , si tu rencontre des problemes tient nous au courant

a ++   wink

Hors ligne

#3 Le 13/05/2007, à 19:37

feuloren

Re : impossible de compiler avant window navigator

hop

j'ai suivi le tuto mais il y a un problème a la fin de l'update

Impossible de récupérer http://download.tuxfamily.org/syzygy42/dists/feisty/Release  Unable to find expected entry  avant-window-navigator/binary-amd64/Packages in Meta-index file (malformed Release file?)
Lecture des listes de paquets... Fait
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
feuloren@feuloren-desktop:~$ sudo ap-get install avant-window-navigator
sudo: ap-get: command not found
feuloren@feuloren-desktop:~$ sudo apt-get install avant-window-navigator
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture de l'information d'état... Fait
E: Impossible de trouver le paquet avant-window-navigator
feuloren@feuloren-desktop:~$

et fin il ne trouve pas le paquet "avant-window-navigator" (il n'est pas non plus dans synaptic)

Hors ligne

#4 Le 14/05/2007, à 14:42

mc_kornick

Re : impossible de compiler avant window navigator

re salut

dit moi , tu  est sur egdy ou Feisty  ou autre ?

Hors ligne

#5 Le 14/05/2007, à 15:32

feuloren

Re : impossible de compiler avant window navigator

je suis sur feisty version amd 64

Hors ligne

#6 Le 14/05/2007, à 16:41

nikko

Re : impossible de compiler avant window navigator

J'ai l'impression que le dépôt ne fournit pas de paquets 64 bits.

Et pour ton erreur lors de autogen.sh, qu'y a-t-il ligne 55 du fichier configure.in?

Hors ligne

#7 Le 14/05/2007, à 17:45

feuloren

Re : impossible de compiler avant window navigator

il y a:

AM_GCONF_SOURCE_2

Hors ligne

#8 Le 14/05/2007, à 18:11

feuloren

Re : impossible de compiler avant window navigator

j'ai reessayé et ça coince un peu plus loin

checking for AWN... configure: error: Package requirements ( glib-2.0 gobject-2.0 gtk+-2.0 gdk-2.0 libwnck-1.0 gconf-2.0) were not met:

No package 'gtk+-2.0' found
No package 'gdk-2.0' found
No package 'libwnck-1.0' found
No package 'gconf-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables AWN_CFLAGS
and AWN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

j'ai essayé d'installer les paquets absents mais je ne les trouvent pas dans les dépôts

Hors ligne

#9 Le 14/05/2007, à 18:38

Fabounet

Re : impossible de compiler avant window navigator

ca m'etonnerait que tu ne trouves pas GTK+ dans les depots ... lol

c'est juste que les noms qui te sont donnes dans le message ne sont pas les "vrais" noms.
essaye ca :

sudo apt-get install libgtk2.0-dev libgconf-dev libwnck-dev

(il faut installer les versions de dev pour pouvoir compiler avec une lib)

Dernière modification par Fabounet (Le 14/05/2007, à 18:39)


"Quiconque est prêt à sacrifier sa liberté pour une sécurité provisoire ne mérite ni l'un ni l'autre." (Benjamin Franklin)
>> Changez le look de votre bureau, essayez Glx-Dock ! [http://glx-dock.org] <<

Hors ligne

#10 Le 14/05/2007, à 19:08

feuloren

Re : impossible de compiler avant window navigator

c'est complètement stupide comme truc tongue
enfin bon les paquets fonctionnent mais il manquent toujours gconf 2.0 et je ne trouve pas de gconf-2.0-dev sad

ah oui merci a tout le monde pour vos réponses (mieux vaux tard que jamais cool )

Hors ligne

#11 Le 14/05/2007, à 21:22

Fabounet

Re : impossible de compiler avant window navigator

ca n'est pas stupide, les paquets de dev t'installent les entetes des libs, c'est-a-dire les descriptions des fonctions de la lib. Tu en as besoin pour compiler avec ces libs, mais pas pour les utiliser une fois compilé.

sinon pour gconf, c'est probablement libgconf-dev dont tu as besoin, sinon t'as aussi un paquets gconf2 roll
mais y'a un truc qui m'échappe, tu dis ne pas trouver ces paquets, où donc as-tu cherché ??


"Quiconque est prêt à sacrifier sa liberté pour une sécurité provisoire ne mérite ni l'un ni l'autre." (Benjamin Franklin)
>> Changez le look de votre bureau, essayez Glx-Dock ! [http://glx-dock.org] <<

Hors ligne

#12 Le 15/05/2007, à 15:47

feuloren

Re : impossible de compiler avant window navigator

libgconf-dev et gconf sont deja le version la plus récentes disponibles, mais ça ne fonctionne toujours pas

j'ai cherché les paquets dans synaptic mais comme je n'avais pas les bons noms...

Hors ligne

#13 Le 15/05/2007, à 19:18

Fabounet

Re : impossible de compiler avant window navigator

arf, tu peux toujours tenter de poster la sortie du configure, ca donnera ptet des idées a qqun.


"Quiconque est prêt à sacrifier sa liberté pour une sécurité provisoire ne mérite ni l'un ni l'autre." (Benjamin Franklin)
>> Changez le look de votre bureau, essayez Glx-Dock ! [http://glx-dock.org] <<

Hors ligne

#14 Le 15/05/2007, à 20:12

feuloren

Re : impossible de compiler avant window navigator

voila

feuloren@feuloren-desktop:~/avant-window-navigator-0.1.1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 library containing strerror... none required
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... 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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for intltool >= 0.34... 0.35.5 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
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... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  en_GB
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.8.0... yes (version 2.12.11)
checking for AWN... configure: error: Package requirements ( glib-2.0 gobject-2.0 gtk+-2.0 gdk-2.0 libwnck-1.0 gconf-2.0) were not met:

No package 'gconf-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables AWN_CFLAGS
and AWN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

c'est la même erreur qu'avant neutral

Hors ligne

#15 Le 15/05/2007, à 21:00

Fabounet

Re : impossible de compiler avant window navigator

et bien il te manque gconf2
sudo apt-get install gconf2 devait suffire non ?


"Quiconque est prêt à sacrifier sa liberté pour une sécurité provisoire ne mérite ni l'un ni l'autre." (Benjamin Franklin)
>> Changez le look de votre bureau, essayez Glx-Dock ! [http://glx-dock.org] <<

Hors ligne

#16 Le 15/05/2007, à 22:08

nikko

Re : impossible de compiler avant window navigator

Fabounet a écrit :

et bien il te manque gconf2
sudo apt-get install gconf2 devait suffire non ?

Non, car comme tu disais dans un post précédent, c'est le paquet représentant la bibliothèque (library) de développement, ce qui donne pour gconf2:
libgconf2-dev

Sinon le tuto conseille d'installer ces bibliothèques si on veut compiler awn:
http://doc.ubuntu-fr.org/avant-window-navigator#installation_du_paquet_provenant_du_svn

sudo apt-get install libgtk2.0-dev libwnck-dev libwnck-common libgconf2-dev libglib2.0-dev gnome-common libgnome-desktop-dev libdbus-glib-1-dev

Normalement, tu auras toutes les bib de dev et configure devrait être ok.

J'espère que ça fonctionnera, et persévère Feuloren, il est très sympa comme dock et pas gourmand.

Nikko

[ma vie]
Je te remercie aussi, parce ton post m'a redonné envie de le tester. Ce qui m'a forcé à ré-installer beryl (je butais sur une absence de bordures de fenêtres et écran noir lors de changement de console). Maintenant tout marche, c'est magnifique!
[/ma vie]

Hors ligne

#17 Le 16/05/2007, à 14:59

feuloren

Re : impossible de compiler avant window navigator

merci nikko

la commande inscrite dans le readme ne fonctionnait pas, j'ai fait make et make install et j'ai reussi a l'installer mais maintenant j'ai une erreur de segmentation c'est assez fréquent apparement

Hors ligne

#18 Le 16/05/2007, à 15:09

nikko

Re : impossible de compiler avant window navigator

J'ai compilé à partir de svn (dernières entrées dans le changelog le 13/05/2007), je n'ai pas eu de souci sur quelques heures d'utilisation.

Le paquet que tu as utilisé date de fin janvier. Je crois que pas mal de bugs ont été corrigés. Ça vaut le coup d'essayer.

Je ne suis pas en 64 bits. C'est peut-être aussi une source de problème.

Nikko

Hors ligne