[BLFS Trac] #1855: Error in PDL-2.4.2 installation

BLFS Trac trac at linuxfromscratch.org
Tue Mar 21 19:21:15 PST 2006


#1855: Error in PDL-2.4.2 installation
------------------------------+---------------------------------------------
 Reporter:  hugo at hugovil.com  |       Owner:  blfs-book at linuxfromscratch.org
     Type:  defect            |      Status:  new                           
 Priority:  normal            |   Milestone:  6.2                           
Component:  BOOK              |     Version:  a-SVN                         
 Severity:  normal            |    Keywords:                                
------------------------------+---------------------------------------------
 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.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/1855>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list