Re: ABS compile error

Stuart Longland <[email protected]> Sun, 15 Jun 2003 17:00:42 +1000
Newsgroups gmane.network.everybuddy.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

guh wrote:

| ln: `/usr/bin/c++': File exists
|
| but when I try to run it, it tells me:
|
| bash: /usr/bin/c++: No such file or directory
|
| I'm running Mandrake 9.0 and when I run ls /usr/bin/c++ I do get the
| file listed as flashing white text on a red background, followed by a
| normal colored gray @ on the normal black background.  It scared me, so
| I just edited config.mer to use g++ rather than c++, and that got make
| working just dandy.

Yep, Red on white flashing means the link is broken.  ls -l /usr/bin/c++
should tell you where it points to.

Try the following command:

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++.


- --
+-------------------------------------------------------------+
| Stuart Longland           stuartl at longlandclan.hopto.org |
| Brisbane Mesh Node: 719             http://stuartl.cjb.net/ |
| I haven't lost my mind - it's backed up on a tape somewhere |
| Griffith Student No:           Course: Bachelor/IT (Nathan) |
+-------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+7BmaIGJk7gLSDPcRAnmHAJ9XAp8zCzT1c/mXSAduUnjCNCyxoQCfXAI5
85rG8rZbIYFDGwFJwimHyJU=
=tZIP
-----END PGP SIGNATURE-----