View previous topic :: View next topic |
Author |
Message |
Alucard13 Tux's lil' helper
Joined: 18 Feb 2005 Posts: 87 Location: Pisa
|
Posted: Fri Aug 19, 2005 11:43 am Post subject: Errore durante l'istallazione del sistema |
|
|
Nn capisco com'e' successo!! Sto istallando gentoo da stage1 (premetto che e' la mia prima istallazione) e durante la copilazione del sistema (#emerge system) mi da quest'errore:
Code: |
i386-pc.linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -02 -mcpu=i686 -fPIC -I./ -I../ -I../src -I/usr/include/ -I/usr/include/python2.3 -c py_magic.c -o build/temp.linux-i686-2.3/py_magic.o
gcc-config error : could not run/locate "i386-pc-linux-gnu-gcc"
!!! ERROR: sys-apps/file-4.13 failed.
!!! Function distutils_src_compile, line 35, exitcode 1
!!! compilation failed |
Penso che sia un'errore ricollegabile al compilatore o anche alle sue impostazioni tipo quelle che ho settato sul make.conf
posto anche quelle x sicurezza:
Code: | CFLAGS="-02 -mcpu=i686"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}" |
Il mio hardware e': Pentium4 3000, Mb ASUS , GEFORCE mx 440 ecc.
spero di aver detto tutto e che qualcuno riesca ad aiutarmi!!! |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Fri Aug 19, 2005 12:14 pm Post subject: |
|
|
ciao se vuoi usare per specifico pentium-4 viene usato
Code: |
CFLAGS="-O2 -march=pentium4 "
|
vedi
[url]
http://gentoo-wiki.com/Safe_Cflags
[/url]
cosa dice emerge info? |
|
Back to top |
|
|
Alucard13 Tux's lil' helper
Joined: 18 Feb 2005 Posts: 87 Location: Pisa
|
Posted: Fri Aug 19, 2005 12:48 pm Post subject: |
|
|
risultati di emerge info:
Code: |
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: [Not Present]
sys-devel/automake: [Not Present]
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: [Not Present]
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://194.117.143.72"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer
gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Fri Aug 19, 2005 1:47 pm Post subject: |
|
|
ciao suppongo tu abbia per filo e per segno seguito la guida fino ad emerge system, puoi fornire dettagli a riguardo?
posta anche
per vedere se settato tutto bene per gcc e anche
Code: |
ls -la /etc/make.profile
|
EDIT: sembra un problema noto guarda qui
[url]
https://forums.gentoo.org/viewtopic-t-370598-highlight-pymagic.html
[/url] |
|
Back to top |
|
|
Alucard13 Tux's lil' helper
Joined: 18 Feb 2005 Posts: 87 Location: Pisa
|
Posted: Fri Aug 19, 2005 2:57 pm Post subject: |
|
|
Si ho seguito l'istallazione passo passo col manuale come potevo fare altrimenti? e' la prima volta!!
In che senso i dettagli a riguardo?
cmq i risultati dei comandi che mi ahai dato sono:
Code: |
livecd etc # gcc-config -l
[1] i686-pc-linux-gnu-3.3.5-20050130 *
[2] i686-pc-linux-gnu-3.3.5-20050130-hardened
[3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-20050130-hardenednopiessp
[5] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp
livecd etc # ls -la /etc/make.profile
lrwxrwxrwx 1 root root 48 Aug 18 17:41 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2005.1
|
ho letto il link che mi hai dato: seguo la soluzione che da luckyluke3310 cioe'
Code: |
fix_libtool_files.sh 3.3.5 --oldarch i386-pc-linux-gnu
env-update && source /etc/profile
emerge python
emerge system |
???? |
|
Back to top |
|
|
Ic3M4n Advocate
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Fri Aug 19, 2005 7:30 pm Post subject: |
|
|
si, può essere che tu abbia compilato una versione successiva di gcc. quindi devi aggiornare i path alle librerie |
|
Back to top |
|
|
|