[Click] click-elem2man crashes in PlanetLab Europe nodes

Christos Tsilopoulos tsilochr at aueb.gr
Fri Dec 16 13:04:44 EST 2011


Hello,

I 've been trying to install click in several Planetlab Europe (PLE) 
nodes without success. I 've tried with both v2.0.1 and the latest from 
git. The source compiles (make works) but failed to be installed. The 
output I get during make install is the following

make[1]: Entering directory `/home/auebple_PSI/click-git/doc'
   INSTALLMANPAGES /usr/local/share/man
   CLICK-ELEM2MAN -d /usr/local/share/man/mann
Modification of a read-only value attempted at ./click-elem2man line 231.
make[1]: *** [install-man] Error 25

If I understand correctly, the crash occurs while executing the 
click-elem2man perl script. It reports line 231 which is the first line 
of this function

sub nroff_manref ($$$$) {
     map { $_ = "\"$_\"" if (s/\"/\\(dq/g) } @_; /* LINE 231 */
     my($x);
     if ($_[0] eq "") {
         $x = "\n.M " . $_[1] . " " . $_[2];
     } else {
         $x = "\n.RM " . $_[0] . " " . $_[1] . " " . $_[2];
     }
     $x .= " " . $_[3] if $_[3] ne "";
     $x . "\n";
}

Unfortunately my perl skill are very limited (to zero) and I can't 
understand what's going on. The strange thing is that the issue occurs 
only in PLE nodes (tried a few), but not in my personal workstation 
(ubuntu 11.04). For the record, PLE nodes have perl v5.8.8 installed.

Best,
Christos


More information about the click mailing list