Juanito


Group: Members
Posts: 1601
Joined: Sep. 2005 |
 |
Posted: Mar. 07 2007,07:09 |
 |
I'm still having problems with this, both using WDef's extension (thanks) and when using "apt-get install" on Debian stable.
It looks like the problem is related to the way DSL has Perl installed - in fact the "apt-get install' option works (with force loopbreak) until reboot and then, no matter how I build a dsl extension, will no longer work.
The error I get is of the following form:
# aclocal Can't locate File/stat.pm in @INC (@INC contains: /usr/local/share/automake-1.10 /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl .) at /usr/local/share/automake-1.10/Automake/FileUtils.pm line 41. BEGIN failed--compilation aborted at /usr/local/share/automake-1.10/Automake/FileUtils.pm line 41. ...etc, etc
The file being looked for is in /usr/share/perl/5.8.4/File/stat.pm, I guess Perl 5.8.4 is either installed as an upgrade to Perl 5.8.0 included with DSL or because dpkg/apt-get cannot "see" the Perl 5.8.0 installation.
Not really understanding what @INC is about (it doesn't appear to be a file, is it a variable?), I tried replacing /usr/share/perl/5.8.0 with a symlink to /usr/share/perl/5.8.4 but this doesn't help - does anybody have any suggestions?
|