[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnump3d-users] Installing on a Linksys NSLU2
From: |
Steve Kemp |
Subject: |
Re: [Gnump3d-users] Installing on a Linksys NSLU2 |
Date: |
Fri, 16 Sep 2005 13:19:31 +0100 |
User-agent: |
Mutt/1.5.9i |
On Fri, Sep 16, 2005 at 11:31:30AM +0100, Ian Barton wrote:
> I am trying to install on a Linksys NSLU2 running Unslung Firmware. I
> have the following perl installed:
Interesting application ..
> I would guess that this is because $dirs doesn't contain anything. Any
> suggestions as to how to troubleshoot this?
The intention of this code is to print out a suitable directory already
contained within your compiled perl's include path.
On my host it results in:
/usr/share/perl5
To be honest given your minimal environment I'd probably change
bin/getlibdir to be *completely*
---
#!/usr/bin/perl
print "/usr/share/perl5";
---
All you need is a single directory which is on the perl include
path - you can print this out by running:
perl -e 'for my $i ( @INC ) { print $i . "\n"; }';
That gives me:
/etc/perl
/usr/local/lib/perl/5.8.7
/usr/local/share/perl/5.8.7
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8
/usr/share/perl/5.8
/usr/local/lib/site_perl
.
Steve
--