[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc install problems in sarge testing



Greetings:

I recently installed sarge testing onto my powerbook G3.

i have most things working, however there seems to be no compiler!
I noticed that when i installed that there was no option for development stuff 
in tasksel... could this have been forshadowing of what was to come?

i noticed that gcc-3.3-base was installed, but the actual compiler collection 
was not..

so after an apt-get install gcc-3.3 i am left with a bunch of dpkg errors... 
(see below)

i was able to install gcc-3.2 and thus make a cimple C program compile... 
however i need to compile C++ programs, and thus needed g++ installed

i tried 'apt-get install g++' -- and i was again confronted with the same 
gcc-3.3 related errors...

furthermore, i am not able to install autoconf or the like, as they all depend 
on gcc-3.3

is there any way to get a complete C/C++ development system working on 
Sarge/testing for PPC? ... or should i move to unstable...?

thanks in advance!

Dylan

here is a listing of what dpkg thinks that i have installed:
-----------------------dpkg -l information--------------------------
pbg4:/var/cache/apt/archives# dpkg -l | grep gcc
iU  gcc            3.3.4-2        The GNU C compiler
ii  gcc-3.2        3.2.3-9        The GNU C compiler
ii  gcc-3.2-base   3.2.3-9        The GNU Compiler Collection (base package)
ii  gcc-3.3-base   3.3.4-6sarge1. The GNU Compiler Collection (base package)
ii  libgcc1        3.4.1-4sarge1  GCC support library

pbg4:/var/cache/apt/archives# dpkg -l | grep g++
iU  g++            3.3.4-2        The GNU C++ compiler

---------------------end dpkg -l information--------------------------

running apt-get -f install produces the following:
----------------------------error messages---------------------------
pbg4:/var/cache/apt/archives# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  g++-3.3 gcc-3.3 libstdc++5-3.3-dev
Suggested packages:
  gcc-3.3-doc libstdc++5-3.3-doc stl-manual
The following NEW packages will be installed:
  g++-3.3 gcc-3.3 libstdc++5-3.3-dev
0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded.
2 not fully installed or removed.
Need to get 0B/4512kB of archives.
After unpacking 13.4MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 60212 files and directories currently installed.)
Unpacking gcc-3.3 (from .../gcc-3.3_1%3a3.3.4-6sarge1.1_powerpc.deb) ...
dpkg: error processing /var/cache/apt/archives/gcc-3.3_1%
3a3.3.4-6sarge1.1_powerpc.deb (--unpack):
 trying to overwrite `/usr/share/doc/gcc-3.3-base/changelog.Debian.gz', which 
is also in package gcc-3.3-base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libstdc++5-3.3-dev (from .../libstdc++5-3.3-dev_1%
3a3.3.4-6sarge1.1_powerpc.deb) ...
dpkg: error processing /var/cache/apt/archives/libstdc++5-3.3-dev_1%
3a3.3.4-6sarge1.1_powerpc.deb (--unpack):
 trying to overwrite `/usr/share/doc/libstdc++5/changelog.Debian.gz', which is 
also in package libstdc++5
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking g++-3.3 (from .../g++-3.3_1%3a3.3.4-6sarge1.1_powerpc.deb) ...
dpkg: error processing /var/cache/apt/archives/g++-3.3_1%
3a3.3.4-6sarge1.1_powerpc.deb (--unpack):
 trying to overwrite `/usr/share/doc/gcc-3.3-base/changelog.Debian.gz', which 
is also in package gcc-3.3-base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/gcc-3.3_1%3a3.3.4-6sarge1.1_powerpc.deb
 /var/cache/apt/archives/libstdc++5-3.3-dev_1%3a3.3.4-6sarge1.1_powerpc.deb
 /var/cache/apt/archives/g++-3.3_1%3a3.3.4-6sarge1.1_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
---------------end error messages--------------------




Reply to: