LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   g++ and libc (https://www.linuxquestions.org/questions/linux-newbie-8/g-and-libc-259752/)

kiran_kondru17 11-27-2004 03:22 AM

g++ and libc
 
Hi

I just installed Mepis. I have gcc but no g++, when I tried to install, the following error is displayed

root@0[sw]# dpkg -i gcc-c++_2.96-86_i386.deb
(Reading database ... 69963 files and directories currently installed.)
Unpacking gcc-c++ (from gcc-c++_2.96-86_i386.deb) ...
dpkg: error processing gcc-c++_2.96-86_i386.deb (--install):
trying to overwrite `/usr/bin/c++filt', which is also in package binutils
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
gcc-c++_2.96-86_i386.deb

Could someone suggest what actually happened because even when i removed c++flit, the same message occured and help me install my g++

And my gcc also had problems,

root@0[c]# cc first.c
first.c:1:19: stdio.h: No such file or directory

I think I do not have libc.

Oliv' 11-27-2004 07:26 AM

Quote:

I think I do not have libc.
Impossible... without libc, you can't boot... unless you have uclibc instead.
But that's possible that libc headers are not installed

Oliv'


All times are GMT -5. The time now is 07:24 AM.