Re: click-elem2man crashes in PlanetLab Europe nodes

Eddie Kohler <[email protected]>
Newsgroups gmane.network.routing.click
Organization Harvard University
Message-ID <[email protected]>
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
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.