Hi, On 19:29 Tue 06 Dec , Jarry wrote: > Thanks for your help. I downloaded that library and put it into > /var/lib. Now I can start portage without complaining about missing > library, but my system is still broken. I tried to emerge that > libstdc++-v3, but I got following error: > > --------------------------------------------------------------- > obelix ~ # emerge --oneshot sys-libs/libstdc++-v3 > Calculating dependencies ...done! > >>> emerge (1 of 1) sys-libs/libstdc++-v3-3.3.4 to / > >>> Downloading http://distfiles.gentoo.org/distfiles/gcc-3.3.4.tar.bz2 > --19:15:32-- http://distfiles.gentoo.org/distfiles/gcc-3.3.4.tar.bz2 > => `/usr/portage/distfiles/gcc-3.3.4.tar.bz2' > Resolving distfiles.gentoo.org... 64.50.236.52, 64.50.238.52, > 216.165.129.135, ... > Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 23,331,664 (22M) [application/x-tar] > > 100%[====================================>] 23,331,664 210.47K/s ETA > 00:00 > > 19:17:21 (208.87 KB/s) - `/usr/portage/distfiles/gcc-3.3.4.tar.bz2' saved > [23331664/23331664] > > >>> md5 files ;-) libstdc++-v3-3.3.3-r1.ebuild > >>> md5 files ;-) libstdc++-v3-3.3.4.ebuild > >>> md5 files ;-) libstdc++-v3-3.3.6.ebuild > >>> md5 files ;-) files/libstdc++_amd64_multilib_hack.patch > >>> md5 files ;-) files/digest-libstdc++-v3-3.3.4 > >>> md5 files ;-) files/digest-libstdc++-v3-3.3.3-r1 > >>> md5 files ;-) files/digest-libstdc++-v3-3.3.6 > >>> md5 src_uri ;-) gcc-3.3.4.tar.bz2 > >>> Unpacking source... > >>> Unpacking gcc-3.3.4.tar.bz2 to /var/tmp/portage/libstdc++-v3-3.3.4/work > * Running elibtoolize in: gcc-3.3.4 > * Applying portage-1.4.0.patch ... > * Applying relink-1.4.0a-GCC3.0-2.patch ... > * Applying sed-1.4.0.patch ... > * Applying tmp-1.3.5.patch ... > * Applying uclibc-ltconf-1.3.0.patch ... > * Using GNU config files from /usr/share/libtool > * Updating config.sub [ > ok ] > * Updating boehm-gc/config.sub [ > ok ] > * Updating config.guess [ > ok ] > * Updating boehm-gc/config.guess [ > ok ] > * Updating gcc/config.guess [ > ok ] > >>> Source unpacked. > * CFLAGS="" > * CXXFLAGS="" > * Configuring libstdc++... > *** This configuration is not supported in the following subdirectories: > target-libf2c target-libffi target-boehm-gc target-zlib target-libjava > zlib > fastjar target-libobjc > (Any other directories should still work fine.) > Created "Makefile" in /var/tmp/portage/libstdc++-v3-3.3.4/work/build using > "mt-frag" > /usr/bin/gcc-config: line 632: /etc/env.d/gcc/i686-pc-linux-gnu-3.3.6: No such > file or directory > * /usr/bin/gcc-config: Profile does not exist or invalid setting for > /etc/env.d/gcc/i686-pc-linux-gnu-3.3.6 > /etc/env.d/gcc/i686-pc-linux-gnu-3.3.6 doesnt exist > gcc-config error: Could not run/locate "gcc" > *** The command 'gcc -o conftest conftest.c' failed. > *** You must set the environment variable CC to a working compiler. > > !!! ERROR: sys-libs/libstdc++-v3-3.3.4 failed. > !!! Function src_compile, Line 225, Exitcode 1 > !!! (no error message) > !!! If you need support, post the topmost build error, NOT this status > message. > obelix ~ # > ----------------------------------------------------------------------- > > Where is the problem? If I understand correctly, some file is missing: > /etc/env.d/gcc/i686-pc-linux-gnu-3.3.6 > If you used the libstdc++-v3 from my ftp site it's version 3.3.6 not 3.3.4. Even more when you install a binary package do install all the files not just the library. In this special case when portage (emerge) isn't working you can unpack the binary package from root (/) dir and all the files inside go to their correct places. Later checked the content of this libstdc++-v3-3.3.6.tbz2 file, it has two file and a symlink. One is in "/etc/env.d/...." the other in: "usr/lib/..." (this by memory only). After installing it you better reboot to add the path to libstdc++ to LDCONFIG (/etc/env.d/99..). > I really do not have it, there is only i686-pc-linux-gnu-3.4.4 > Should I just make copy of it with name i686-pc-linux-gnu-3.3.6? > Or if someone of you has it, could you, please, mail it to me? > > Jarry > > -- > [email protected] mailing list > Rumen
pgphFtbxWDD1G.pgp
Description: PGP signature

