Re: ABS compile error

Toby A Inkster <[email protected]> Mon, 16 Jun 2003 07:58:36 +0100
Newsgroups gmane.network.everybuddy.user
Message-ID <[email protected]>
On Sun, Jun 15, 2003 at 12:58:45AM -0700, guh wrote:
| --- Stuart Longland <[email protected]> wrote:
| > 
| > rm -f /usr/bin/c++ && ln -s `which g++` /usr/bin/c++
| > 
| > This should remove the dud link and replace it with one that
| > _correctly_
| > points to g++.
| 
| ah, yes, thanks.  for some reason it was pointing to
| /etc/alternatives/, which is a dir with a bunch of links back to
| /usr/bin/.  

This is something Mandrake took from Debian, I believe. It is a system 
designed to allow for multiple versions of a program to be able to live 
alongside each other and /etc/alternatives to decide which version to 
use (for example: gcc-2.96 vs gcc-3.2, vim-enhanced vs vim)

Unfortunately, a lot of packages ignore (or partly ignore) it. And the 
fact the Mandrake have been moving it about doesn't help either (used to 
be /etc/alternatives/, now /var/lib/rpm/alternatives/)

Generally fixing it just requires deleting and recreating the 
occasional symlink after upgrades of these packages (gcc, vim, printer 
drivers, javac, mail transfer agent, etc) and once it's working it seems 
to work well.

-- 
Toby A Inkster BSc (Hons) ARCS | mailto:[email protected] | pgp:0x6A2A7D39
    aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:[email protected]
            http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
                             playing://(nothing)

_______________________________________________
Everybuddy mailing list
[email protected]
http://lists.spine.cx/listinfo/everybuddy
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+7Wqczr+BKGoqfTkRAlVdAJ0W5Wn9Kfj3XE4Pnq66NDYOCFOiawCeM1C4
qrLapREfjN/DXSBQxtF/WiA=
=PfOv
-----END PGP SIGNATURE-----