[Click] click-elem2man crashes in PlanetLab Europe nodes

Eddie Kohler ekohler at gmail.com
Mon Jan 9 12:57:24 EST 2012


Hi Christos,

Well, badly compiled perls stink. I rewrote this code; maybe that will 
allow installation. In future if you still have problems what you should 
just do is disable the installation of man pages, by editing 
doc/Makefile.in.

Eddie


On 12/16/11 1:04 PM, Christos Tsilopoulos wrote:
> 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
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list