![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Debian Debian GNU/Linux is a free distribution of the GNU/Linux operating system. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to install dbx in sun box | sridhusha | SUN Solaris | 1 | 10-04-2007 08:09 AM |
| Could I install HP-UX 11.11 on a PC? | adrian262 | UNIX for Dummies Questions & Answers | 4 | 06-12-2007 06:00 AM |
| Oracle 9i install: Error in invoking target install of makefile | chris2005 | HP-UX | 5 | 02-21-2007 09:45 AM |
| Help to install HP-UX | Andrey Malishev | UNIX for Dummies Questions & Answers | 8 | 12-09-2005 03:19 PM |
| Need help to install cc (ucc) SCO 5.0.6 | pbo2005 | High Level Programming | 1 | 02-22-2005 04:09 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Can't install g++
Yo chaps. So. While I was trying to compile lighttpd from source (first time I've ever been so brave) I ran across this error: "C compiler cannot create executables" I Googled around a bit and found someone suggesting that the error came from not having g++ installed. Which makes sense. So I tried: Code:
> apt-get install g++ ... The following packages have unmet dependencies. g++: Depends: g++-4.1 (>= 4.1.1-2) but it is not going to be installed If I then tried to install g++-4.1 and got a similar error, and traced it right down to having the wrong version of libc6: Code:
g++-4.1: Depends: libstdc++6-4.1-dev (= 4.1.1-21) but it is not going to be installed .... libstdc++6-4.1-dev: Depends: libc6-dev (>= 2.3.6-7) but it is not going to be installed ... libc6-dev: Depends: libc6 (= 2.3.6.ds1-13etch8) but 2.7-18 is to be installed Now. If it was a less important package I'd just remove it and then re-install it. But to do that with libc6 I'd have to uninstall about 30 system packages including apt, which I'm not that inclined to do. Does anyone know of a way around this? Oh by the way, here's my apt sources list (might be relevant): Code:
deb ftp://ftp.uk.debian.org/debian/ stable main contrib non-free deb-src ftp://ftp.uk.debian.org/debian/ stable main deb http://security.debian.org/ stable/updates main Cheers, Robin |
|
||||
|
Indeed, and it might be the case here, as well. Lenny was recently released. ...You could also try: Code:
apt-get update apt-get upgrade apt-get install build-essential Instead of apt-get, you can use aptitude, if aptitude is the package manager that you prefer. build-essential is a metapackage which includes several useful libraries. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|