Ken Moffat wrote: > I'm just updating ImageMagick. Looking at the list of files, I > noticed that the book has the perl version hardcoded as 5.12.1, and > the next directory as i686-linux - for the moment I'm hard coding > those as 5.x.y and ARCH with an explanation. > > When I looked, the perl version is &lfs-perl-version; : if the > BLFS book was particularly tied to an LFS release, that made some > sense. But now we have a rolling release and we are supporting (at > least) everything from LFS-7.0 onwards. I went back to a 7.1 system > to measure this, with perl-5.14.2, which is why I noticed that 5.12.1 > was inappropriate. On my current development system I have 5.16.0. > > Also, of course, i686 is no longer the only choice in LFS-land. > > What we could do is use something like 'perl-LFS-version', but the > directory name doesn't include 'perl' at this level, only the > numbers. And I guess we could replace i686 by a new literal. The > main things affected would be perl modules, such as XML::Parser.
Yes, it's out of date, but it seems pretty minor. How about /usr/lib/perl5/site_perl/<5.x.y>/<linux-arch>/auto/Image/ The Magic part is wrong because it is not a directory (at least not any more), but Magick.pm. I never really look at the perl modules. When I need one, I just use the 'cpan -i' method as the root user. It's still installing from source, but nicely automated. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
