I found the same problem in my Linux distribution (Slackware 12.0), but when I uncommented the two lines it still did not work. Turns out that in /usr/include/seamonkey, there are 3 symbolic links:
/usr/include/seamonkey/plugin -> .
/usr/include/seamonkey/nss -> .
/usr/include/seamonkey/xpcom -> .
Instead, I added the following to walkFiles after the assignment of fullname:
I found the same problem in my Linux distribution (Slackware 12.0), but when I uncommented the two lines it still did not work. Turns out that in /usr/include/ seamonkey, there are 3 symbolic links: include/ seamonkey/ plugin -> . include/ seamonkey/ nss -> . include/ seamonkey/ xpcom -> .
/usr/
/usr/
/usr/
Instead, I added the following to walkFiles after the assignment of fullname:
if os.path. islink( name):
linkname = os.readlink(name); linkname) )
log.debug( "skipping link: %s (.)" % fullname)
continue
# log.debug("link: %s -> %s" % (fullname,
if linkname == ".":
This effectively skips over symbolic links that point to the current root.
This works for me. I've attached a copy of my revised utils.py.