View previous topic :: View next topic |
Author |
Message |
nikolis Apprentice
Joined: 21 Aug 2003 Posts: 200 Location: Athens
|
Posted: Sun Feb 26, 2006 7:03 pm Post subject: errore emerge kde [risolto] |
|
|
grep: /usr/lib/gcc/i386-pc-linux-gnu/3.4.5/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i386-pc-linux-gnu/3.4.5/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.5/libstdc++.la' is not a valid libtool archive
make[3]: *** [libartskde.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.1-r1/work/kdelibs-3.5.1/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.1-r1/work/kdelibs-3.5.1/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.1-r1/work/kdelibs-3.5.1'
make: *** [all] Error 2
!!! ERROR: kde-base/kdelibs-3.5.1-r1 failed.
Call stack:
ebuild.sh, line 1894: Called dyn_compile
ebuild.sh, line 941: Called src_compile
kdelibs-3.5.1-r1.ebuild, line 83: Called kde_src_compile
kde.eclass, line 104: Called kde_src_compile 'compile'
kde.eclass, line 221: Called kde_src_compile 'all' 'myconf' 'configure'
!!! died running emake, kde_src_compile:make
Last edited by nikolis on Mon Feb 27, 2006 7:56 pm; edited 1 time in total |
|
Back to top |
|
|
Ferdinando Veteran
Joined: 25 Nov 2003 Posts: 1027 Location: Gaeta (LT) - Italy
|
Posted: Sun Feb 26, 2006 7:44 pm Post subject: Re: errore emerge kde |
|
|
nikolis wrote: | libtool: link: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.5/libstdc++.la' is not a valid libtool archive |
Questa è vecchia; bastava cercare un po' ad esempio qui.
Code: | /sbin/fix_libtool_files.sh 3.4.5 |
Ciao _________________ La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997 |
|
Back to top |
|
|
Luca89 Advocate
Joined: 27 Apr 2005 Posts: 2107 Location: Agrigento (Italy)
|
Posted: Sun Feb 26, 2006 8:06 pm Post subject: Re: errore emerge kde |
|
|
Ferdinando wrote: | Questa è vecchia; bastava cercare un po' ad esempio qui.
Code: | /sbin/fix_libtool_files.sh 3.4.5 |
Ciao |
Ti devo correggere, a fix_libtool_files.sh deve indicare la vecchia versione di gcc, non la nuova. _________________ Running Fast! |
|
Back to top |
|
|
Ferdinando Veteran
Joined: 25 Nov 2003 Posts: 1027 Location: Gaeta (LT) - Italy
|
Posted: Sun Feb 26, 2006 8:12 pm Post subject: Re: errore emerge kde |
|
|
Luca89 wrote: | Ti devo correggere, a fix_libtool_files.sh deve indicare la vecchia versione di gcc, non la nuova. |
Hai ragione, è recente quella versione; però in quel messaggio di errore dovrebbe esserci la vecchia. Non è che ha cambiato CHOST?
Ciao _________________ La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997 |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Sun Feb 26, 2006 8:14 pm Post subject: |
|
|
Anche quel i386 potrebbe essere il problema... se ha cambiato CHOST.
nikolis, che versione di gcc stai usando? (posta l'output di "gcc --version")
E magari posta anche l'output di "emerge info" _________________ Ciao da me! |
|
Back to top |
|
|
Luca89 Advocate
Joined: 27 Apr 2005 Posts: 2107 Location: Agrigento (Italy)
|
Posted: Sun Feb 26, 2006 8:17 pm Post subject: Re: errore emerge kde |
|
|
Ferdinando wrote: | Hai ragione, è recente quella versione; però in quel messaggio di errore dovrebbe esserci la vecchia. Non è che ha cambiato CHOST?
Ciao |
Non l'avevo notato, ineffetti se il problema era il cambio di versione gcc li doveva spuntare la vecchia, evidentemente ha cambiato CHOST. fix_libtool_files.sh dovrebbe risolvere anche questo, basta passargli il parametro corretto che adesso non ricordo. _________________ Running Fast! |
|
Back to top |
|
|
nikolis Apprentice
Joined: 21 Aug 2003 Posts: 200 Location: Athens
|
Posted: Sun Feb 26, 2006 8:59 pm Post subject: |
|
|
si l'ho cambiato da i386 a i686
vecchia gcc-3.4.4-r1.
nuova gcc --version
gcc (GCC) 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
# emerge info
Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r99, 2.6.1
5-reiser4-r1 i686)
=================================================================
System uname: 2.6.15-reiser4-r1 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.12.0_pre14
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]
ccache version 2.4 [disabled]
dev-lang/python: 2.4.2
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-r1
sys-devel/binutils: 2.16.1-r1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-lo
op-arrays -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share
/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kd
e/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share
/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-
loop-arrays -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
ftp://ftp.unina.it/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en it gr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7Zip X a52 aac accessibility acpi ada aim alsa amarok apache2 apm arts artswrappersuid asf audiofile avi berkdb bidi bitmap-fonts bluetooth cairo cdda chm cjk clearcase commercial config_wizard cpudetection crypt css cups dbus dga dlloader dri dts dv dvb dvd dvdr dvdread dxr3 eds effects emboss encode esd ext- man ext-rtf ext-tex extraicons extramodules fame fat ffmpeg fftw firefox flash f oomatic-db foomaticdb fortran freetype gdbm gif gimpprint gnokii gnome gnomeemer ge gnutls gphoto2 gpm gs gstreamer gtk gtk2 hal hfs icq ieee1394 imap imlib inkj ar ipv6 irc irda jabber jack java jfs joystick jpeg kde kdeenablefinal kerberos kqemu krb4 lcd libao libcaca libclamav libg++ libwww livecd lj lm_sensors logite ch-mouse lzo mad mail matroska mikmod mjpeg mmx mono motif moznocompose moznoirc moznomail mp3 mpeg msn musepack musicbrainz mysql mythtv ncurses network new-lo gin nls nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openexr opengl pam pam_ console pascal pcmcia pda pdf pdflib perl php plugin png postgres povray ppds pw db python qt quicktime quotas rar rdesktop readline real reiser4 reiserfs rss ru by samba scanner sdl see2 skins slp smp sms sndfile speech speex spell spreadshe et sql sse ssl streams subversion svg sysfs tcpd theora truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd visualization voice vorbis weather webservices wifi win32codecs winbind wmf world wxwindows xfs xine xinerama xml2 xmms xosd xp m xprint xscreensaver xsl xv xvid xvmc yahoo zeroconf zlib elibc_glibc kernel_li nux linguas_en linguas_it linguas_gr userland_GNU"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS |
|
Back to top |
|
|
Ferdinando Veteran
Joined: 25 Nov 2003 Posts: 1027 Location: Gaeta (LT) - Italy
|
Posted: Sun Feb 26, 2006 9:11 pm Post subject: |
|
|
nikolis wrote: | si l'ho cambiato da i386 a i686
vecchia gcc-3.4.4-r1. |
Fai così (il primo aggiorna gcc, il secondo CHOST):
Code: | /sbin/fix_libtool_files.sh 3.4.4-r1
/sbin/fix_libtool_files.sh 3.4.5 --oldarch i386-pc-linux-gnu |
Ciao _________________ La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997 |
|
Back to top |
|
|
nikolis Apprentice
Joined: 21 Aug 2003 Posts: 200 Location: Athens
|
Posted: Mon Feb 27, 2006 12:27 am Post subject: |
|
|
Codice:
/sbin/fix_libtool_files.sh 3.4.4-r1
/sbin/fix_libtool_files.sh 3.4.5 --oldarch i386-pc-linux-gnu
Ho fatto cosi......ma niente, sempre errorrrrrr
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../kalarm -I../kalarm/lib -I../libkcal/libical/src -I../libkmime -I../certmanager/lib -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DHAVE_BOOST -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kalarm.all_cpp.o kalarm.all_cpp.cpp
In file included from /usr/kde/3.5/include/arts/common.h:51,
from /usr/kde/3.5/include/arts/soundserver.h:6,
from /usr/kde/3.5/include/arts/kplayobjectfactory.h:28,
from soundpicker.cpp:36,
from kalarm.all_cpp.cpp:6:
/usr/kde/3.5/include/arts/core.h:1248: error: stray '\230' in program
/usr/kde/3.5/include/arts/core.h:1248: error: `_de' does not name a type
make[3]: *** [kalarm.all_cpp.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdepim-3.5.1/work/kdepim-3.5.1/kalarm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdepim-3.5.1/work/kdepim-3.5.1/kalarm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdepim-3.5.1/work/kdepim-3.5.1'
make: *** [all] Error 2
!!! ERROR: kde-base/kdepim-3.5.1 failed.
Call stack:
ebuild.sh, line 1894: Called dyn_compile
ebuild.sh, line 941: Called src_compile
kdepim-3.5.1.ebuild, line 21: Called kde_src_compile
kde.eclass, line 104: Called kde_src_compile 'compile'
kde.eclass, line 221: Called kde_src_compile 'all' 'myconf' 'configure'
!!! died running emake, kde_src_compile:make
P.S Io vorrei almeno ricompilare il mio sistema con le nuove flags. |
|
Back to top |
|
|
Ferdinando Veteran
Joined: 25 Nov 2003 Posts: 1027 Location: Gaeta (LT) - Italy
|
Posted: Mon Feb 27, 2006 10:34 am Post subject: |
|
|
nikolis wrote: | /usr/kde/3.5/include/arts/core.h:1248: error: stray '\230' in program
/usr/kde/3.5/include/arts/core.h:1248: error: `_de' does not name a type |
Uhm, forse la tua macchina è entrata in clima carnevalesco: a quanto pare alla riga 1248 di /usr/kde/3.5/include/arts/core.h, in cui dovresti avere
Code: | virtual std::vector<std::string> _defaultPortsIn() const; |
c'è un carattere non stampabile appena dopo _de.
Soluzioni: se ti va di fare un po' di hacking, e magari se capisci un po' di C++, apri il file, cancella quella riga e riscrivila, e poi vedi se riesci a trovare altre incongruenze; se preferisci una soluzione più certa riemergi arts e quasi sicuramente si sistemerà tutto.
Ovviamente resta da capire come tu possa avere un header corrotto senza averci messo mano, comunque...
Ciao _________________ La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997 |
|
Back to top |
|
|
nikolis Apprentice
Joined: 21 Aug 2003 Posts: 200 Location: Athens
|
Posted: Mon Feb 27, 2006 7:55 pm Post subject: |
|
|
Grazie voi ed arts mi avete risolto il problema. kde 3.5.1 emerso.
P.S. ho altri problemi simili ma apro nuovi 3d |
|
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
|
|