Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem z revdep-rebuild
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
d1ck
n00b
n00b


Joined: 30 Apr 2007
Posts: 13
Location: Police

PostPosted: Mon Jul 30, 2007 10:47 am    Post subject: Problem z revdep-rebuild Reply with quote

Witam

Po zainstalowaniu systemu, sterów, KDE przyszedł czas na aktualizacje wiec oczywiście
Code:
emerge -uDN world


Następnie usuwałem jakiś programik no i żeby wywalić zależności
Code:
emerge --depclean


No i na koniec żeby wszystko było jak należy
Code:
revdep-rebuild
no i tutaj podczas instalowania PERL wysypuje się:

Code:
>>> Emerging (1 of 1) dev-lang/perl-5.8.8-r2 to /
 * perl-5.8.8.tar.bz2 RMD160 ;-) ...                                      [ ok ]
 * perl-5.8.8.tar.bz2 SHA1 ;-) ...                                        [ ok ]
 * perl-5.8.8.tar.bz2 SHA256 ;-) ...                                      [ ok ]
 * perl-5.8.8.tar.bz2 size ;-) ...                                        [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking perl-5.8.8.tar.bz2 ;-) ...                                    [ ok ]
>>> Unpacking source...
>>> Unpacking perl-5.8.8.tar.bz2 to /var/tmp/portage/dev-lang/perl-5.8.8-r2/work
 * Applying perl-prelink-lpthread.patch ...                               [ ok ]
 * Applying perl-perldoc-emptydirs.patch ...                              [ ok ]
 * Applying perl-5.8.8-reorder-INC.patch ...                              [ ok ]
 * Applying perl-picdl.patch ...                                          [ ok ]
 * Applying perl-noksh.patch ...                                          [ ok ]
 * Applying perl-5.8.7-MakeMaker-RUNPATH.patch ...                        [ ok ]
 * Applying perl-hppa-pa7200-configure.patch ...                          [ ok ]
 * Applying perl-5.8.8-USE_MM_LD_RUN_PATH.patch ...                       [ ok ]
 * Applying perl-5.8.8-links.patch ...                                    [ ok ]
 * Applying perl-5.8.8-cplusplus.patch ...                                [ ok ]
 * Applying perl-5.8.8-gcc42-command-line.patch ...                       [ ok ]
 * Applying perl-5.8.8-asm-page-h-compile-failure.patch ...               [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8 ...
 * QA Notice: USE Flag 'elibc_uclibc' not in IUSE for dev-lang/perl-5.8.8-r2
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
gcc-config error: Could not run/locate "i686-pc-linux-gnu-gcc"
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
 *
 * ERROR: dev-lang/perl-5.8.8-r2 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   perl-5.8.8-r2.ebuild, line 276:   Called src_configure
 *   perl-5.8.8-r2.ebuild, line 268:   Called die
 *
 * Unable to configure
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-lang/perl-5.8.8-r2/temp/build.log'.


Z góry dzięki za pomoc.
Back to top
View user's profile Send private message
arturx
n00b
n00b


Joined: 06 Jul 2006
Posts: 57

PostPosted: Mon Jul 30, 2007 11:01 am    Post subject: Reply with quote

Quote:
gcc-config error: Could not run/locate "i686-pc-linux-gnu-gcc"
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.

podczas emerge -uDN world nie robiłes nic z gcc ?
podaj wynik
Code:
gcc-config -l

albo polecam http://www.gentoo.org/doc/pl/gcc-upgrading.xml
Back to top
View user's profile Send private message
d1ck
n00b
n00b


Joined: 30 Apr 2007
Posts: 13
Location: Police

PostPosted: Mon Jul 30, 2007 11:17 am    Post subject: Reply with quote

Code:
* gcc-config: Active gcc profile is invalid!
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-4.2.0


No widać ze coś nie tak.

Zaraz skorzystam z tego przewodnika i podam wynik :)
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Mon Jul 30, 2007 4:15 pm    Post subject: Reply with quote

d1ck wrote:
Code:
* gcc-config: Active gcc profile is invalid!
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-4.2.0

Zgaduję, że miałeś GCC 3.3.6, 4.1.2 i 4.2.0, a `emerge --depclean` usunął GCC 4.1.2, ponieważ zależność od "sys-devel/gcc" została rozwiązana do GCC 4.2.0, mimo, że jako aktywny był ustawiony GCC 4.1.2. Jeśli chodzi o GCC 3.3.6, zgaduję, że jest zainstalowany w wyniku rozwiązania zależności "virtual/libstdc++". Proponowałbym:
Code:
gcc-config 2
emerge -C gcc:3.3
emerge -1tv libstdc++-v3


"/var/lib/portage/world" może teraz przechowywać slotowane pakiety, a poza tym algorytm akcji "depclean" uległ niedawno pewnym zmianom, więc jeśli chcesz by `emerge --depclean` nie usunęło jakiegoś zainstalowanego wcześniejszego slotu, możesz użyć `emerge -n <Pakiet/>:<Slot/>`.

Perduodu linkėjimus
Arfrever
Back to top
View user's profile Send private message
d1ck
n00b
n00b


Joined: 30 Apr 2007
Posts: 13
Location: Police

PostPosted: Mon Jul 30, 2007 7:15 pm    Post subject: Reply with quote

Więc tak rzeczywiście podczas emerge -uDN world zapdejtował się gcc z wersji 3.3.6 do wersji 4.2.0

arturx wrote:
albo polecam http://www.gentoo.org/doc/pl/gcc-upgrading.xml


zrobiłem wszystko zgodnie z tym przewodnikiem. System sie zaktualizowal wszystko niby cacy ale jak chcem odpalić X'y to wyskakuje:

Code:
xauth:  creating new authority file /root/.serverauth.4888

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux arKomp 2.6.22-gentoo-r1 #7 SMP Sun Jul 29 13:51:37 CEST 2007 i686
Build Date: 30 July 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 30 20:46:20 2007
(==) Using config file: "/etc/X11/xorg.conf"

dlopen: libstdc++.so.5: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/drivers//fglrx_drv.so
(EE) Failed to load module "fglrx" (loader failed, 7)
(EE) No drivers available.

Fatal server error:
no screens found
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.


Przed aktualizacja było wszystko OK.
Więc pomyślałem że przeinstaluje stery od grafy (ATI). Emerguje ati-drivers i widze że oprócz nich będzie sie instalować gcc w wersji 3.3.6 :?
Czyli co mam jednak wrócić do starszej wersji gcc i znowu przebudowywać cały system i wogóle??
Czy źle myśle i zamiast przeinstalowywać stery grafy powinienem coś zrobić z tym libstdc++??

Pozdrawiam
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Mon Jul 30, 2007 7:19 pm    Post subject: Reply with quote

d1ck wrote:
Code:
dlopen: libstdc++.so.5: cannot open shared object file: No such file or directory


Pokaż wyniki:
Code:
emerge --info
emerge -ptv libstdc++-v3


Perduodu linkėjimus
Arfrever
Back to top
View user's profile Send private message
d1ck
n00b
n00b


Joined: 30 Apr 2007
Posts: 13
Location: Police

PostPosted: Mon Jul 30, 2007 8:44 pm    Post subject: Reply with quote

Heh wystarczyło zainstalować libstdc++-v3 :D
Już działam pod KDE

Dzięki Arfrever i arturx.
Pozdrawiam
Back to top
View user's profile Send private message
arturx
n00b
n00b


Joined: 06 Jul 2006
Posts: 57

PostPosted: Wed Aug 01, 2007 9:09 pm    Post subject: Reply with quote

nie chce cie zasmucać ale zanim dasz "solved" to będziesz musiał zrobić
Code:

# emerge -eav system
# emerge -eav world

jak przy każdej przesiadce gcc. Powodzenia
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
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