cpan> install SGMLS
…
Package comes with a Makefile and without a Makefile.PL.
We’ll try to build it with that Makefile then.
CPAN.pm: Going to build D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz
cd DOC; make all
make[1]: Entering directory `/root/.cpan/build/SGMLSpm/DOC’
make[1]: Nothing to be done for `all’.
make[1]: Leaving directory `/root/.cpan/build/SGMLSpm/DOC’
/usr/bin/make — OK
Running make test
make: *** No rule to make target `test’. Stop.
/usr/bin/make test — NOT OK
Running make install
make test had returned bad status, won’t install without force
here i found the clues to fix this:
cd /usr/local/lib/perl5/site_perl/5.8.8
mkdir SGMLS
cd SGMLS/
ln -s /usr/local/lib/perl5/SGMLS/Output.pm
ln -s /usr/local/lib/perl5/SGMLS/Refs.pm
ln -s /usr/local/lib/perl5/SGMLS.pm ../
cpan> install SGMLS
SGMLS is up to date.