View previous topic :: View next topic |
Author |
Message |
coachllb n00b
Joined: 19 Aug 2006 Posts: 66
|
Posted: Sat Oct 28, 2006 7:07 am Post subject: [emerge firefox] erreur (résolu) |
|
|
Salut
lors de l'emerge d'openoffice, il commence par un emerge de firefox-1.5.0.7.
Le début de la compil se passe bien puis il y a une erreur.
D'habitude j'arrive, avec le messag, à trouver ce qui ne va pas ou ce qui manque mais là ....
Code: | ./../../dist/bin/xpidl -m typelib -w -I ../../../dist/idl -I. -o _xpidlgen/nsIHTTPIndex nsIHTTPIndex.idl
../../../dist/bin/xpt_link _xpidlgen/directory.xpt _xpidlgen/nsIHTTPIndex.xpt
In file included from nsDirectoryViewer.cpp:54:
nsDirectoryViewer.h:47:26: error: nsIHTTPIndex.h: No such file or directory
nsDirectoryViewer.h:70: error: expected class-name before ',' token
nsDirectoryViewer.h:131: error: 'nsIHTTPIndex' has not been declared
nsDirectoryViewer.h:134: error: ISO C++ forbids declaration of 'NS_DECL_NSIHTTPINDEX' with no type
nsDirectoryViewer.h:137: error: expected ';' before 'virtual'
nsDirectoryViewer.cpp: In member function 'virtual nsresult nsHTTPIndex::QueryInterface(const nsIID&, void**)':
nsDirectoryViewer.cpp:113: error: 'nsIHTTPIndex' was not declared in this scope
nsDirectoryViewer.cpp:113: error: template argument 1 is invalid
nsDirectoryViewer.cpp:113: error: expected type-specifier before 'nsIHTTPIndex'
nsDirectoryViewer.cpp:113: error: expected `>' before 'nsIHTTPIndex'
nsDirectoryViewer.cpp:113: error: expected `(' before 'nsIHTTPIndex'
nsDirectoryViewer.cpp:113: error: expected primary-expression before '>' token
nsDirectoryViewer.cpp:113: error: expected `)' before ';' token
nsDirectoryViewer.cpp:113: error: expected type-specifier before 'nsIHTTPIndex'
nsDirectoryViewer.cpp:113: error: expected `>' before 'nsIHTTPIndex'
nsDirectoryViewer.cpp:113: error: expected `(' before 'nsIHTTPIndex'
nsDirectoryViewer.cpp:113: error: expected primary-expression before '>' token
nsDirectoryViewer.cpp:113: error: expected `)' before ';' token
nsDirectoryViewer.cpp: At global scope:
nsDirectoryViewer.cpp:219: error: no 'nsresult nsHTTPIndex::SetEncoding(const char*)' member function declared in class 'nsHTTPIndex'
nsDirectoryViewer.cpp:226: error: no 'nsresult nsHTTPIndex::GetEncoding(char**)' member function declared in class 'nsHTTPIndex'
nsDirectoryViewer.cpp: In member function 'virtual nsresult nsHTTPIndex::OnStartRequest(nsIRequest*, nsISupports*)':
nsDirectoryViewer.cpp:281: error: expected type-specifier before 'nsIHTTPIndex'
nsDirectoryViewer.cpp:281: error: expected `>' before 'nsIHTTPIndex'
nsDirectoryViewer.cpp:281: error: expected `(' before 'nsIHTTPIndex'
nsDirectoryViewer.cpp:281: error: 'nsIHTTPIndex' was not declared in this scope
nsDirectoryViewer.cpp:281: error: expected primary-expression before '>' token
nsDirectoryViewer.cpp:282: error: 'nsIHTTPIndex' cannot appear in a constant-expression
nsDirectoryViewer.cpp:282: error: template argument 1 is invalid
nsDirectoryViewer.cpp: At global scope:
nsDirectoryViewer.cpp:701: error: 'nsIHTTPIndex' has not been declared
nsDirectoryViewer.cpp: In static member function 'static nsresult nsHTTPIndex::Create(nsIURI*, nsIInterfaceRequestor*, int**)':
nsDirectoryViewer.cpp:705: error: cannot allocate an object of abstract type 'nsHTTPIndex'
nsDirectoryViewer.h:76: note: because the following virtual functions are pure within 'nsHTTPIndex':
../../../dist/include/rdf/nsIRDFDataSource.h:55: note: virtual nsresult nsIRDFDataSource::GetURI(char**)
nsDirectoryViewer.cpp:713: error: cannot convert 'nsHTTPIndex*' to 'int*' in assignment
nsDirectoryViewer.cpp: At global scope:
nsDirectoryViewer.cpp:723: error: no 'nsresult nsHTTPIndex::GetBaseURL(char**)' member function declared in class 'nsHTTPIndex'
nsDirectoryViewer.cpp:733: error: no 'nsresult nsHTTPIndex::GetDataSource(nsIRDFDataSource**)' member function declared in class 'nsHTTPIndex'
nsDirectoryViewer.cpp:829: error: no 'nsresult nsHTTPIndex::GetURI(char**)' member function declared in class 'nsHTTPIndex'
nsDirectoryViewer.cpp: In member function 'virtual nsresult nsDirectoryViewerFactory::CreateInstance(const char*, nsIChannel*, nsILoadGroup*, const char*, nsISupports*, nsISupports*, nsIStreamListener**, nsIContentViewer**)':
nsDirectoryViewer.cpp:1437: error: 'nsIHTTPIndex' was not declared in this scope
nsDirectoryViewer.cpp:1437: error: template argument 1 is invalid
nsDirectoryViewer.cpp:1437: error: invalid type in declaration before ';' token
nsDirectoryViewer.cpp:1438: error: no matching function for call to 'getter_AddRefs(int&)'
nsDirectoryViewer.cpp:1443: error: invalid conversion from 'int' to 'nsISupports*'
nsDirectoryViewer.cpp:1443: error: initializing argument 1 of 'nsQueryInterfaceWithError do_QueryInterface(nsISupports*, nsresult*)'
gmake[4]: *** [nsDirectoryViewer.o] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.7/work/mozilla/xpfe/components/directory'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.7/work/mozilla/xpfe/components'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.7/work/mozilla/xpfe'
gmake[1]: *** [tier_50] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.7/work/mozilla'
make: *** [default] Error 2
!!! ERROR: www-client/mozilla-firefox-1.5.0.7 failed.
|
Je ne vous ai posté que la partie de la compilation ou ressort l'erreur.
si vous pouvez m'aider, merci
Last edited by coachllb on Sat Oct 28, 2006 8:19 pm; edited 1 time in total |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1896 Location: 127.0.0.1
|
Posted: Sat Oct 28, 2006 7:48 am Post subject: |
|
|
Salut,
emerge --info please. |
|
Back to top |
|
|
coachllb n00b
Joined: 19 Aug 2006 Posts: 66
|
Posted: Sat Oct 28, 2006 8:20 am Post subject: |
|
|
ci joint le emerge --info
Code: | Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.1
Last Sync: Fri, 27 Oct 2006 11:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo "
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 arts avi berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr dvdread elibc_glibc encode ffmpeg firefox fortran ftp gdbm gif gpm gstreamer hal input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kdeenablefinal kernel_linux libg++ linguas_fr mad mikmod mmx mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection samba scanner sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nvidia video_cards_vesa vorbis win32codecs xine xml xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1896 Location: 127.0.0.1
|
Posted: Sat Oct 28, 2006 8:22 am Post subject: |
|
|
Essaye ceci :
Code: |
# MAKEOPTS="-j1" emerge --oneshot mozilla-firefox
|
|
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Sat Oct 28, 2006 10:36 am Post subject: |
|
|
Quote: | nsDirectoryViewer.h:47:26: error: nsIHTTPIndex.h: No such file or directory
nsDirectoryViewer.h:70: error: expected class-name before ',' token
nsDirectoryViewer.h:131: error: 'nsIHTTPIndex' has not been declared
nsDirectoryViewer.h:134: error: ISO C++ forbids declaration of 'NS_DECL_NSIHTTPINDEX' with no type
nsDirectoryViewer.h:137: error: expected ';' before 'virtual' |
A priori tout viendrait d'un header manquant, qui pourtant devrait appartenir au paquet lui-même :
Quote: | Unicorn enlight # equery b nsIHTTPIndex.h
[ Searching for file(s) nsIHTTPIndex.h in *... ]
www-client/mozilla-firefox-2.0_beta2 (/usr/lib64/mozilla-firefox/include/appcomps/nsIHTTPIndex.h)
|
Tu as déjà essayé de retélécharger l'archive? Ou regardé à la mano si le fichier était présent ou non? |
|
Back to top |
|
|
coachllb n00b
Joined: 19 Aug 2006 Posts: 66
|
Posted: Sat Oct 28, 2006 8:18 pm Post subject: |
|
|
eh bien oui, c'était tout bête.
J'ai réémergé et ç'est bon.
Sans doute un pb lors du téléchargement |
|
Back to top |
|
|
l_arbalette Guru
Joined: 05 Feb 2006 Posts: 569 Location: Paris - FRANCE
|
Posted: Sat Oct 28, 2006 8:24 pm Post subject: |
|
|
je me permet de m'insérer dans la discussion, juste pour formuler mon étonnement !
Comment ça se fait que les vérifications d'usage à la fin de téléchargemnt (md5sum et autres) n'aient pas alertés sur le fait que l'archive n'était pas complète ? _________________ Proverbe chinois : L'homme qui pose une question peut sembler stupide, celui qui ne la pose pas le restera.
Abraham Maslow : Lorsque votre seul outil est un marteau, vous avez tendance à traiter tous les problèmes comme un clou. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|