Sponsored Content
Full Discussion: Can't install g++
Operating Systems Linux Debian Can't install g++ Post 302280029 by nottrobin on Sunday 25th of January 2009 08:10:45 PM
Old 01-25-2009
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
 

8 More Discussions You Might Find Interesting

1. HP-UX

Install HP UX

Hey whats up all of you pro's i have one question for you im not to familiar with HP UX 11i, but i would like to load it on my home machine. I am sure this is a dumb question but is there any special hardware requirements. I have reloaded the sysem at my work on a L class 9000 well not exactly by... (9 Replies)
Discussion started by: bbutler3295
9 Replies

2. HP-UX

Oracle 9i install: Error in invoking target install of makefile

I receive an error while installing Oracle 9i: Error in invoking target install of makefile /opt/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk Furthermore: $ whoami oracle $ echo $ORACLE_HOME /opt/oracle/product/9.2.0 $ pwd /opt/oracle/product/9.2.0/sqlplus/lib $ ll total... (5 Replies)
Discussion started by: chris2005
5 Replies

3. Linux

install macbook pro fedora10 ???((<<if can install, how to install? >> ))

If may install can Tells everybody ??? (0 Replies)
Discussion started by: kzBSD
0 Replies

4. Solaris

Solaris 10 install dvd drive boots, but not recoginized by install process

I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch. I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies

5. Red Hat

CentOS 6.1 base install (like FreeBSD base install)?

Hello, What is the simplest way to install CentOS 6.1 with console base-system only using official LiveDVD image on VirtualBox machine? I'd like to get simplest console with network support like FreeBSD base installation. Then, install services which I need. The installer jest extracts the... (2 Replies)
Discussion started by: newbie_develope
2 Replies

6. Red Hat

Install Red Hat 4.2 (Not Enterprise) from install tree

Hi guys I would like to install Red Hat Linux 4.2 on my old box (pIII). However there is a problem: i can't find the .iso image anywhere in the Net, all the material that i've found is (i think) an install tree of the OS. It will be possible for me to install the OS from that install tree? ... (3 Replies)
Discussion started by: mk2soldier
3 Replies

7. Fedora

Make check install and make all install

hi dear i want to know what is different between make check install and make all install? thanks in advane fereshte (3 Replies)
Discussion started by: komijani
3 Replies

8. AIX

Install software in another directory with smitty install

Hello, I would like to ask if someone knows if is possible to install sofware via smitty or installp in another directorie , or we have to accept the default location? i would like to intall in /opt folder , but smitty installed it in /usr Thanks in advance (4 Replies)
Discussion started by: prpkrk
4 Replies
BUILDCHECK(1)							    DOSE Tools							     BUILDCHECK(1)

NAME
dose-buildcheck - check installability of build-dependencies SYNOPSIS
dose-buildcheck [options] binary-repositories source-repository DESCRIPTION
dose-buildcheck determines, for a set of debian source package control stanzas, called the source repository, whether a build environment for the packages of the source repository can be installed by using packages from the binary repository. For this, only package meta- information is taken into account: build-dependencies and build-conflicts in the source package, and inter-package relationsships expressed in the binary repository. The constraint solving algorithm is complete, that is it finds a solution whenever there exists one, even for multiple disjunctive dependencies and deep package conflicts. This problem is computationally infeasible in theory (that is, NP-complete), but can be solved very efficiently for package repositories that actually occur in practice. Installability of binary packages is analyzed according to their Depends, Conflicts, and Provides fields with their meaning as of Debian policy version 3.9.0. Pre-depends are treated like Depends, and Breaks are treated like Conflicts. Input Format The binary-repositories argument is a list of filenames containing stanzas in the format of deb-control(5), separated by one blank line. For instance, the Packages files as found on a Debian mirror server, or in the directory /var/lib/apt/lists/ of a Debian system, are suitable. The source-repository argument is the name of a file containing debian source control stanzas, separated by one blank line. For instance, the Sources files as found on a Debian mirror server, or in the directory /var/lib/apt/lists/ of a Debian system, are suitable. Multi-arch annotations are correctly considered by distcheck. Packages whose's architecture is neither the native architecture nor in the list of foreign architectures (see below) are ignored. Here, native and foreign refers at the same time to the architecture on which the compilation will be run, and to the target architecture of the compilation. Cross-compilation is not supported in the current version. OPTIONS
--deb-native-arch=name Specify the native architecture. The default behavior is to deduce the native architecture from the first package stanza in the input that has an architecture different from all. --deb-foreign-archs=name [,name] ... Specify a comma-separated list of foreign architectures. The default is an empty list of foreign architectures. -f --failures Only show broken packages that fail the installability check. -v --successes Only show packages that do not fail the installability check. -e --explain Explain the results in more detail. -v Enable info / warnings / debug messages. This option may be repeated up to three times in order to increase verbosity. -h, --help Display this list of options. EXAMPLE
Compute the list of source packages in Sources for which it is not possible to install a build environment on i386, assuming that the binary packages described in file Packages are available: dose-builddebcheck -v -f -e --arch amd64 /var/lib/apt/lists/ftp.fr.debian.org_debian_dists_sid_main_binary-amd64_Packages /var/lib/apt/lists/ftp.fr.debian.org_debian_dists_sid_main_source_Sources AUTHOR
The current version has been rewritten on the basis of the dose3 library by Pietro Abate; it replaces an earlier version that was simply a wrapper for edos-distcheck. SEE ALSO
deb-control(5), dose-distcheck(1) <http://www.edos-project.org> is the home page of the EDOS project. <http://www.mancoosi.org> is the home page of the Mancoosi project. dose3 3.0.2 2012-10-03 BUILDCHECK(1)
All times are GMT -4. The time now is 11:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy