in reply to How To Downgrade Perl on Ubuntu

For me, the <command-line> lines kept getting regenerated in the file x2p/makefile every time I ran make. I had to add perl -i~ -nle 'print unless /<command-line>/' makefile x2p/makefile to the top level Makefile itself before it descended into x2p.
translators: miniperl$(EXE_EXT) $(CONFIGPM) FORCE perl -i~ -nle 'print unless /<command-line>/' x2p/makefile @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) + $(MAKE) all
Thanks, Rahul

Replies are listed 'Best First'.
Re^2: How To Downgrade Perl on Ubuntu
by Anonymous Monk on Jan 16, 2013 at 17:03 UTC
    I tried this and hit all these problems plus a new one: for some reason it failed to link with the maths library (so you get undefined symbols sin, cos etc). So I cut and pasted the failed line in the shell and added -lm at the end (cos I couldn't be bothered to fix the make file or configure script).