Hi.
I've recently purchased a dedicated server with Debian that was setup by.. well, not me
It seems to be unable to compile. I tried to compile Apache, which failed.
To try and figure out the problem, I made a simple hello-world type C app and tried to compile it:
Code:
> gcc -o test a.cpp
gcc: installation problem, cannot exec `cc1plus': No such file or directory
Not sure what's wrong. I've tried "apt-get install build-essential" (read that from some debian FAQ) and got the following result:
Quote:
> apt-get install build-essential
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 3:3.3) but it is not going to be installed
E: Broken packages
|
I've tried to apt-get libc6-dev, which in turn needs libc6, which "is already the newest version" according to apt-get. This is very, very frustrating. Any ideas?
I know I can apt-get apache and such, but I'd rather try to compile it all myself (I'm trying to learn here)