Michael Leone on Wed, 20 Feb 2002 00:20:20 -0500 |
On Tue, 2002-02-19 at 23:41, Bill Jonas wrote: > On Tue, Feb 19, 2002 at 11:13:11PM -0500, Michael Leone wrote: > > I should make this symlink from the shell, before starting perl? > > Yes. > > > Shouldn't the symlink be for "cc", not "gcc", since that's what the > > makefile is issuing? > > It is. The target goes first, then the name that you want the link to > be. Since gcc is (presumably) in /usr/bin and you're making a link > called "cc" in /usr/bin, it will link to gcc in the same directory. > (Relative vs. absolute path in the link.) > > $ ln -s gcc ~/bin/cc > $ ll ~/bin/cc > lrwxrwxrwx 1 bj bj 3 Feb 19 23:27 /home/bj/bin/cc -> gcc Hmmm. workhorse:~# ln -s /usr/bin/gcc gcc workhorse:~# ln -s /usr/bin/gcc cc (the reverse - "ln -s gcc /usr/bin/gcc" doesn't work) workhorse:~# ls -la cc gcc lrwxrwxrwx 1 root root 12 Feb 19 23:14 cc -> /usr/bin/gcc lrwxrwxrwx 1 root root 12 Feb 20 00:12 gcc -> /usr/bin/gcc Are mine backwards, then? Because it's still failing; same message; make: cc: Command not found make: *** [Syslog.o] Error 127 I'm doing this as root, and /usr/bin is in root's PATH. Should I be putting a "cc" symlink in /usr/bin? Thanks for the explanation of perl compilations. -- Michael J. Leone Registered Linux user #201348 <mailto:turgon@mike-leone.com> ICQ: 50453890 AIM: MikeLeone PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF PGP public key: <http://www.mike-leone.com/~turgon/turgon-public-key.gpg> Attachment:
signature.asc
|
|