problemes [ emerge] - Installation - Linux et OS Alternatifs
Marsh Posté le 20-10-2006 à 10:49:43
Salut, 
as tu bien mis a jour ta gentoo avant? #emerge --sync 
portage est il à jour? #emerge portage 
pourrais tu te passer du package pour le moment, je t'invite a le supprimer #emerge --unmerge net-dns/avahi 
relancer ton upgrade #emerge --update --deep --newuse world 
et essayer de le recompiler plus tard.
Marsh Posté le 20-10-2006 à 12:40:53
Merci 
 
j'ai bien sur mis à jour emerge --sync ,portage....... 
le probleme c'est net-dns/avahi qui veut pas s'installer 
j'ai regarde il est pas installe  
 
 emerge --unmerge net-dns/avahi 
 
--- Couldn't find 'net-dns/avahi' to unmerge. 
 
>>> No packages selected for removal by unmerge. 
Marsh Posté le 20-10-2006 à 13:09:20
| bricole a écrit :   | 
 
 
Y'a marqué quoi tout en bas de ce genre de messages? "Post the topmost error, not this message" (ou équivalent). 
 
Tu nous donnes rien là, à part qu'emerge n'a pas fini de compiler. Donne nous plutot l'erreur de compilation (lignes make).
Marsh Posté le 20-10-2006 à 14:30:43
voila voila  
 
checking for a BSD-compatible install... /bin/install -c 
checking whether build environment is sane... yes 
checking for gawk... gawk 
checking whether make sets $(MAKE)... yes 
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes 
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed 
checking for style of include used by make... GNU 
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ 
checking whether we are using the GNU C++ compiler... yes 
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes 
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E 
checking for a BSD-compatible install... /bin/install -c 
checking whether ln -s works... yes 
checking whether make sets $(MAKE)... (cached) yes 
checking for egrep... grep -E 
checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no 
checking build system type... x86_64-pc-linux-gnu 
checking host system type... x86_64-pc-linux-gnu 
checking for a sed that does not truncate output... /usr/lib/portage/bin/sed 
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ ld 
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes 
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r 
checking for BSD-compatible nm... /usr/bin/nm -B 
checking how to recognise dependent libraries... pass_all 
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 dlfcn.h usability... yes 
checking dlfcn.h presence... yes 
checking for dlfcn.h... yes 
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E 
checking for x86_64-pc-linux-gnu-g77... x86_64-pc-linux-gnu-g77 
checking whether we are using the GNU Fortran 77 compiler... yes 
checking whether x86_64-pc-linux-gnu-g77 accepts -g... yes 
checking the maximum length of command line arguments... 32768 
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc obj ect... ok 
checking for objdir... .libs 
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar 
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib 
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip 
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no 
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC 
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes 
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes 
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes 
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bi n/ld -m elf_x86_64) 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 
configure: creating libtool 
appending configuration tag "CXX" to libtool 
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ ld -m elf_x86_64 
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld ... yes 
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bi n/ld -m elf_x86_64) supports shared libraries... yes 
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC 
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes 
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes 
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes 
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bi n/ld -m elf_x86_64) supports shared libraries... yes 
checking dynamic linker characteristics... GNU/Linux ld.so 
checking how to hardcode library paths into programs... immediate 
appending configuration tag "F77" to libtool 
checking if libtool supports shared libraries... yes 
checking whether to build shared libraries... yes 
checking whether to build static libraries... yes 
checking for x86_64-pc-linux-gnu-g77 option to produce PIC... -fPIC 
checking if x86_64-pc-linux-gnu-g77 PIC flag -fPIC works... yes 
checking if x86_64-pc-linux-gnu-g77 static flag -static works... yes 
checking if x86_64-pc-linux-gnu-g77 supports -c -o file.o... yes 
checking whether the x86_64-pc-linux-gnu-g77 linker (/usr/x86_64-pc-linux-gnu/bi n/ld -m elf_x86_64) supports shared libraries... yes 
checking dynamic linker characteristics... GNU/Linux ld.so 
checking how to hardcode library paths into programs... immediate 
checking for the pthreads library -lpthreads... no 
checking whether pthreads work without any flags... no 
checking whether pthreads work with -Kthread... no 
checking whether pthreads work with -kthread... no 
checking for the pthreads library -llthread... no 
checking whether pthreads work with -pthread... yes 
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE 
checking if more special flags are required for pthreads... no 
checking for cc_r... x86_64-pc-linux-gnu-gcc 
checking whether to check for GCC pthread/shared inconsistencies... yes 
checking whether -pthread is sufficient with -shared... yes 
checking for linux/netlink.h... yes 
checking for net/route.h... yes 
checking for sys/filio.h... no 
checking for sys/sysctl.h... yes 
checking for struct ip_mreqn... yes 
checking checking whether rtnetlink.h can be included with -std=c99... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -std=c99... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wall... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -W... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wextra... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -pedantic... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -pipe... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wformat... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wold-style-definition... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wdeclaration-after-statement.. . yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wfloat-equal... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wmissing-declarations... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wmissing-prototypes... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wstrict-prototypes... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wredundant-decls... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wmissing-noreturn... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wshadow... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wendif-labels... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wpointer-arith... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wbad-function-cast... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wcast-qual... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wcast-align... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Wwrite-strings... yes 
checking whether x86_64-pc-linux-gnu-gcc accepts -Winline... yes 
checking for ANSI C header files... (cached) yes 
checking arpa/inet.h usability... yes 
checking arpa/inet.h presence... yes 
checking for arpa/inet.h... yes 
checking fcntl.h usability... yes 
checking fcntl.h presence... yes 
checking for fcntl.h... yes 
checking for inttypes.h... (cached) yes 
checking limits.h usability... yes 
checking limits.h presence... yes 
checking for limits.h... yes 
checking netinet/in.h usability... yes 
checking netinet/in.h presence... yes 
checking for netinet/in.h... yes 
checking for stdlib.h... (cached) yes 
checking for string.h... (cached) yes 
checking sys/ioctl.h usability... yes 
checking sys/ioctl.h presence... yes 
checking for sys/ioctl.h... yes 
checking sys/socket.h usability... yes 
checking sys/socket.h presence... yes 
checking for sys/socket.h... yes 
checking sys/time.h usability... yes 
checking sys/time.h presence... yes 
checking for sys/time.h... yes 
checking for unistd.h... (cached) yes 
checking netdb.h usability... yes 
checking netdb.h presence... yes 
checking for netdb.h... yes 
checking syslog.h usability... yes 
checking syslog.h presence... yes 
checking for syslog.h... yes 
checking for stdbool.h that conforms to C99... yes 
checking for _Bool... yes 
checking for an ANSI C-conforming const... yes 
checking for size_t... yes 
checking whether time.h and sys/time.h may both be included... yes 
checking for sys/wait.h that is POSIX.1 compatible... yes 
checking for working memcmp... yes 
checking sys/select.h usability... yes 
checking sys/select.h presence... yes 
checking for sys/select.h... yes 
checking for sys/socket.h... (cached) yes 
checking types of arguments for select... int,fd_set *,struct timeval * 
checking for stdlib.h... (cached) yes 
checking for GNU libc compatible malloc... yes 
checking for stdlib.h... (cached) yes 
checking for GNU libc compatible realloc... yes 
checking for gethostname... yes 
checking for memchr... yes 
checking for memmove... yes 
checking for memset... yes 
checking for mkdir... yes 
checking for select... yes 
checking for socket... yes 
checking for strchr... yes 
checking for strcspn... yes 
checking for strdup... yes 
checking for strerror... yes 
checking for strrchr... yes 
checking for strspn... yes 
checking for strstr... yes 
checking for uname... yes 
checking for setresuid... yes 
checking for setreuid... yes 
checking for setresgid... yes 
checking for setregid... yes 
checking for strcasecmp... yes 
checking for gettimeofday... yes 
checking for putenv... yes 
checking for strncasecmp... yes 
checking for strlcpy... no 
checking for gethostbyname... yes 
checking for seteuid... yes 
checking for setegid... yes 
checking for setproctitle... no 
checking for getprogname... no 
checking for uid_t in sys/types.h... yes 
checking for unistd.h... (cached) yes 
checking for working chown... yes 
checking whether lstat dereferences a symlink specified with a trailing slash...  yes 
checking whether stat accepts an empty string... no 
checking for mode_t... yes 
checking for pid_t... yes 
checking whether environ is declared... yes 
checking sys/capability.h usability... yes 
checking sys/capability.h presence... yes 
checking for sys/capability.h... yes 
checking sys/prctl.h usability... yes 
checking sys/prctl.h presence... yes 
checking for sys/prctl.h... yes 
checking for chroot... yes 
checking for dlopen in -ldl... yes 
checking for dlfcn.h... (cached) yes 
checking for pkg-config... yes 
checking for x86_64-pc-linux-gnu-pkg-config... no 
checking for pkg-config... /usr/bin/pkg-config 
checking pkg-config is at least version 0.9.0... yes 
checking for GLIB20... yes 
checking for GTK20... yes 
checking for GLADE20... yes 
checking for XML_ParserCreate in -lexpat... yes 
checking expat.h usability... yes 
checking expat.h presence... yes 
checking for expat.h... yes 
checking for gdbm_open in -lgdbm... yes 
checking gdbm.h usability... yes 
checking gdbm.h presence... yes 
checking for gdbm.h... yes 
checking for LIBDAEMON... yes 
checking for a Python interpreter with version >= 2.4... python 
checking for python... /usr/local/bin/python 
checking for python version... 2.4 
checking for python platform... linux2 
checking for python script directory... ${prefix}/lib/python2.4/site-packages 
checking for python extension module directory... ${exec_prefix}/lib/python2.4/s ite-packages 
checking for python module gtk... no 
configure: error: Could not find Python module gtk 
 
!!! Please attach the following file when filing a report to bugs.gentoo.org: 
!!! /var/tmp/portage/avahi-0.6.10/work/avahi-0.6.10/config.log 
 
!!! ERROR: net-dns/avahi-0.6.10 failed. 
Call stack: 
  ebuild.sh, line 1546:   Called dyn_compile 
  ebuild.sh, line 937:   Called src_compile 
  avahi-0.6.10.ebuild, line 110:   Called econf '--localstatedir=/var' '--with-d istro=gentoo' '--disable-qt4' '--disable-python-dbus' '--disable-pygtk' '--disab le-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-compat-libdns_sd' '- -disable-compat-howl' '--disable-doxygen-doc' '--disable-mono' '--disable-dbus' '--enable-python' '--enable-gtk' '--disable-qt3' '--enable-gdbm' '--enable-pygtk ' 
  ebuild.sh, line 540:   Called die 
 
!!! econf failed 
!!! If you need support, post the topmost build error, and the call stack if rel evant. 
 
Merci
Marsh Posté le 20-10-2006 à 14:41:35
emerge pygtk ?
Marsh Posté le 20-10-2006 à 14:59:40
| bricole a écrit : merci  | 
 
 
Et tu arrives à l'importer dans l'interpréteur python?
Marsh Posté le 19-12-2006 à 14:48:46
| Gf4x3443 a écrit : Et tu arrives à l'importer dans l'interpréteur python? | 
 
Bonjour, j'ai le même problème... Comment puis-je vérifier si je peux importer le module gtk dans python? 
 
merci 
Marsh Posté le 20-12-2006 à 01:28:16
ouvrir la console python, et faire import pygtk. 
 
S'il gueule, ca veut dire que c'est pas bon. S'il dit rien, ca veut dire que c'est bon   
  
 
Sinon: 
 
http://forum.ubuntu-fr.org/viewtopic.php?pid=642301
Marsh Posté le 20-10-2006 à 10:26:08
Bonjour
j'ai un probleme (je suis sous gentoo)
lors d'un emerge --update --deep --newuse world
j'ai ce message :
!!! ERROR: net-dns/avahi-0.6.10 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
avahi-0.6.10.ebuild, line 110: Called econf '--localstatedir=/var' '--with-distro=gentoo' '--disable-qt4' '--disable-python-dbus' '--disable-pygtk' '--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-compat-libdns_sd' '--disable-compat-howl' '--disable-doxygen-doc' '--disable-mono' '--disable-dbus' '--enable-python' '--enable-gtk' '--disable-qt3' '--enable-gdbm' '--enable-pygtk'
ebuild.sh, line 540: Called die
j'ai essaye d'emerger net-dns/avahi !!!même message
quequ'un peut me depanner ?
Merci d'avance