FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 12-21-2011, 02:52 AM
Brendan Byrd
 
Default Bug#652856: g++-4.6: g++-4.5/4.6 does not call update-alternatives for a "g++" link

Package: g++-4.6
Version: 4.6.2-7
Severity: normal

Installation of both or either g++-4.5/4.6 will not provide a direct
link to "g++". The command is called g++-4.X, which won't be
auto-detected by programs like configure. The packages should use
update-alternatives, just like gcc already does.

-- System Information:
Debian Release: 6.0.3
APT prefers testing
APT policy: (1000, security), (995, 'stable'), (750, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages g++-4.6 depends on:
ii gcc-4.6 4.6.2-7
ii gcc-4.6-base 4.6.2-7
ii libc6 2.13-21
ii libgmp10 2:5.0.2+dfsg-2
ii libmpc2 0.9-4
ii libmpfr4 3.1.0-3
ii libstdc++6-4.6-dev 4.6.2-7
ii zlib1g 1:1.2.3.4.dfsg-3

g++-4.6 recommends no packages.

Versions of packages g++-4.6 suggests:
ii g++-4.6-multilib 4.6.2-7
ii gcc-4.6-doc <none>
ii libstdc++6-4.6-dbg 4.6.2-7

-- no debconf information



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111221035219.17376.16444.reportbug@ks301015.puls edmedia.com">http://lists.debian.org/20111221035219.17376.16444.reportbug@ks301015.puls edmedia.com
 
Old 12-21-2011, 05:10 PM
Apparat8 Apparat8
 
Default Bug#652856: g++-4.6: g++-4.5/4.6 does not call update-alternatives for a "g++" link

Matthias Klose <doko@debian.org> wrote:
> On 12/21/2011 04:52 AM, Brendan Byrd wrote:
> > Package: g++-4.6
> > Version: 4.6.2-7
> > Severity: normal
> >
> > Installation of both or either g++-4.5/4.6 will not provide a direct
> > link to "g++". The command is called g++-4.X, which won't be
> > auto-detected by programs like configure. The packages should use
> > update-alternatives, just like gcc already does.
>
> gcc/g++ do not use alternatives, and never will. Install g++ or build-essential

For the record, gcc does in fact have a update-alternatives link:

# update-alternatives --display cc
cc - auto mode
* link currently points to /usr/bin/gcc
/usr/bin/gcc - priority 20
Current 'best' version is '/usr/bin/gcc'.

This is so that configure will work properly if it's searching for
'cc'. Also, I finally found the g++ package, hidden in the "Not Found
Packages" vs. "New Packages". Must have been when I updated
preferences and pins.

Any idea why there's a separate g++ package? All this provides is a
separate g++, which could easily be a linkage to one of the versions.



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAAu7T162whANx4guoFE5dacUAAtXHgjvMT=FLDfrR8PtKwrtg Q@mail.gmail.com">http://lists.debian.org/CAAu7T162whANx4guoFE5dacUAAtXHgjvMT=FLDfrR8PtKwrtg Q@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 10:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org