gmake[2]: execvp: m68k-rtems-gcc: Too many levels of symbolic links

Gordon Scott g.rtems.a at gscott.co.uk
Tue Feb 24 09:48:19 UTC 2004


On Tue, 24 Feb 2004, Ralf Corsepius wrote:

> On Tue, 2004-02-24 at 00:19, Gordon Scott wrote:
> > On Mon, 23 Feb 2004, Joel Sherrill wrote:
> >
> > > In general, a short path is better than a long path for a number of
> > > reasons. :)
> >
> > Yes indeed. I wonder that so many applications/toolsets come with their
> > own separate install areas. Perhaps that's the influence of M$.
> Definitely no.
>
> The main reason for using /opt/<package> is to avoid package conflicts
> with vendor-supplied and local packages.

I didn't really mean any criticism of what's done here. I'm just
thinking of all the applications that increasingly seem to demand their
own space .. Netscape, Opera, java, jdk, kde, kde2, gnome.

<snip> Thanks for the reminders why /opt is sensible .. it good to
get reminded of the real world.

> The "Too many level of symlinks" error you have reported indicates
> having a self-recursive link somewhere.

Well, it's working right now, so I'm not sure how much more I shall
worry about why it was broken unless it breaks again. It would be nice
to understand why, though.

I spent some time trying to find a self-recursive link, but so far I've
failed. As the commands work from a shell, but not from gmake, that
suggests it's a problem relating to gmake (slightly presumptuous, but I
have to start somewhere). I've checked all the rtems paths and there are
no symbolic links that apply to anything apparently relevant (leaf.cfg
and some images in an ada_user). gmake is now hard-linked. Maybe a
library? I remain a bit suspicious about my having had ~/bin in the PATH
twice .. shouldn't matter, but.....

However .. I've just changed only the PATH and it's now working. No link
changes at all. That makes me think that gmake may be reporting the
problem wrongly. :-/

> ... you have
> the freedom to rebuild and install to whatever location you prefer...

Hmmm, Bahamas might be nice :-)

Thse days I keep my own work on a separate filesystem and in a separate
directory tree to anything the OS uses. I've had too many upgrages
overwrite things I'd intended to keep. Usually I then put in symbolic
links to tie my bits into the main setup where necessary/desireable.

Thanks again,
		Gordon.
-- 
Gordon Scott				  http://www.gscott.co.uk

		Linux ... Because I like to *get* there today.

Hey, I'm looking for a new job!           See ->  http://www.gscott.co.uk





More information about the users mailing list