﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1855	Error in PDL-2.4.2 installation	hugo@…	Randy McMurchy	"When trying to install PDL-2.4.2, with Perl-5.8.8, I got the following error:

===========================================================[[BR]]
make[1]: Entering directory `/tmp/PDL-2.4.2/Demos'[[BR]]
/usr/bin/perl BAD2_demo.pm.PL BAD2_demo.pm[[BR]]
Can't locate PDL/Config.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at BAD2_demo.pm.PL line 12.[[BR]]
BEGIN failed--compilation aborted at BAD2_demo.pm.PL line 12.[[BR]]
make[1]: *** [BAD2_demo.pm] Error 2[[BR]]
make[1]: Leaving directory `/tmp/PDL-2.4.2/Demos'[[BR]]
make: *** [subdirs] Error 2[[BR]]
===========================================================[[BR]]

I compared the installation log to the one I got on my previous PDL installation, which was done with  Perl-5.8.7. I found that ""-I../blib/lib -I../blib/arch"" were missing for BAD2_demo.pm.PL and BAD_demo.pm.PL processing with the new installation. Using this sed construct to replace PERLRUN by PERLRUNINST, I have been able to successfully build PDL-2.4.2:[[BR]]
===========================================================[[BR]]
cd Demos[[BR]]
sed -i -e ""s!\t\$(PERLRUN)\( BAD2_demo.pm.PL BAD2_demo.pm\)!\t\$(PERLRUNINST)\1!g"" \[[BR]]
-e ""s!\t\$(PERLRUN)\( BAD_demo.pm.PL BAD_demo.pm\)!t\$(PERLRUNINST)\1!g"" \[[BR]]
Makefile[[BR]]
===========================================================[[BR]]

I already sent a message about that to PDL maintainers.
"	defect	closed	high	6.2.0	BOOK	SVN	high	fixed	Perl PDL ExtUtils::MakeMaker	
