View previous topic :: View next topic |
Author |
Message |
fatez Apprentice


Joined: 07 May 2003 Posts: 295
|
Posted: Fri Dec 23, 2005 11:52 am Post subject: Gcc Strano problema... boh |
|
|
Ciao ragazzi...
indovinate che strano problema ho?
Code: |
MacMini ~ # emerge pam
--- blah blah blah ... ----
checking for powerpc-unknown-linux-gnu-strip... powerpc-unknown-linux-gnu-strip
checking for powerpc-unknown-linux-gnu-strip... /usr/bin/powerpc-unknown-linux-gnu-strip
checking for a BSD-compatible install... /bin/install -c
checking for powerpc-unknown-linux-gnu-cc... powerpc-unknown-linux-gnu-cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! ERROR: sys-libs/pam-0.78-r3 failed.
!!! Function src_compile, Line 185, Exitcode 77
!!! Bad BDB ./configure
!!! If you need support, post the topmost build error, NOT this status message.
|
non capisco... guardate qui:
Code: |
MacMini ~ # gcc-config -l
[1] powerpc-unknown-linux-gnu-3.4.4 *
[2] powerpc-unknown-linux-gnu-3.4.4-hardened
[3] powerpc-unknown-linux-gnu-3.4.4-hardenednopie
[4] powerpc-unknown-linux-gnu-3.4.4-hardenednopiessp
[5] powerpc-unknown-linux-gnu-3.4.4-hardenednossp
|
Qualche anima pia potrebbe darmi una mano plz?
grazie in anticipo! |
|
Back to top |
|
 |
Dece Apprentice


Joined: 23 Nov 2004 Posts: 291 Location: Bologna/Rimini Italy
|
Posted: Fri Dec 23, 2005 1:27 pm Post subject: |
|
|
per caso hai fatto l'upgrade da gcc 3.3 a 3.4 o il sistema era già perfettamente funzionante? |
|
Back to top |
|
 |
Scen Retired Dev


Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Fri Dec 23, 2005 1:36 pm Post subject: |
|
|
Dai anche un'occhiata qui: https://forums.gentoo.org/viewtopic-t-294109.html _________________ I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny |
|
Back to top |
|
 |
fatez Apprentice


Joined: 07 May 2003 Posts: 295
|
Posted: Fri Dec 23, 2005 1:36 pm Post subject: |
|
|
ho fatto l'upgrade quando ho dato il emerge -u world
tra la valangata di roba da emrgiare vi erano pure le gcc |
|
Back to top |
|
 |
GuN_jAcK l33t


Joined: 23 Mar 2005 Posts: 834 Location: Prague, Czech Republic
|
Posted: Fri Dec 23, 2005 1:39 pm Post subject: |
|
|
magari postaci il tuo make.conf _________________ Rispondi in maniera intelligente anche a chi ti tratta stupidamente. |
|
Back to top |
|
 |
fatez Apprentice


Joined: 07 May 2003 Posts: 295
|
Posted: Fri Dec 23, 2005 1:39 pm Post subject: |
|
|
e questo è il mio make.config
Code: |
CFLAGS="-O2 -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-3dnow -3dfx -mmx -X -dga -opengl -xv -fbcon -directfb -kde -arts -qt -gnome -gtk -bonobo -evo gb -gtkhtml motif -tcltk -aalib imlib ncurses readline \
sdl svga lcms -gif -jpeg -png -tiff gd -avi -mpeg -quicktime -alsa -oss -ggi -dvd -xmms -oggvorbis -flash encode -ipv6 pam ssl crypt ldap -mozilla -mozctl \
-mozirc -mozxmlterm -spell truetype -xml -xml2 -pdflib tetex -guile -java -perl -python -ruby -slang libwww -libg++ -pic apache2 -zeo -mysql samba \
imap -sandbox nls -gpq zlib -doc -cups -evms2 maildir"
ACCEPT_KEYWORDS="~ppc"
FETCHCOMMAND='/usr/bin/proz --no-getch ${URI} -P ${DISTDIR}'
GENTOO_MIRRORS="http://gentoo.linux.no http://gentoo.oregonstate.edu/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distribu$
|
|
|
Back to top |
|
 |
Dece Apprentice


Joined: 23 Nov 2004 Posts: 291 Location: Bologna/Rimini Italy
|
Posted: Fri Dec 23, 2005 1:48 pm Post subject: |
|
|
Allora hai fatto l'upgrade a gcc 3.4 ma hai ancora le librerie compilate con il vecchio: ti conviene seguire questa guida:
http://www.gentoo.org/doc/en/gcc-upgrading.xml
Ciao!
edit: la guida si riferisce ad un sistema x86, ma in linea di massima le operazioni da fare sono le stesse  |
|
Back to top |
|
 |
fatez Apprentice


Joined: 07 May 2003 Posts: 295
|
Posted: Fri Dec 23, 2005 2:05 pm Post subject: |
|
|
grazie mille, questa sera provo a sistemare il tutto |
|
Back to top |
|
 |
Dr.Dran l33t


Joined: 08 Oct 2004 Posts: 766 Location: Imola - Italy
|
Posted: Fri Dec 23, 2005 9:26 pm Post subject: |
|
|
Moltp probabilemtne l'errore è causato da una incompatibilità delle versioni fra glibc e gcc... rocompila tutto secondo la guida e vedrai che funziona, mi ha dato un errore simile quando ho fatto la migrazione io
P.S. Se riesci etti il tag Risolto al titolo  _________________ :: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group] |
|
Back to top |
|
 |
|