DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-05-22 04:56:13

steveG
Member
Registered: 2008-04-20
Posts: 15

PERL Config

I have installed the funplug PERL package and am getting a bunch of errors when I try to use CPAN.  I assume that my problem is that I need to pass a parameter to make, but that is just a guess.

Has anyone gotten this working on the DNS323?  If so, what parameters did you use when setting up PERL?

Offline

 

#2 2008-05-22 11:43:28

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: PERL Config

Seems to work fine here:

Code:

root@bob:~# perl -MCPAN -e shell

CPAN build and cache directory? [/home/root/.cpan] /mnt/HD_a2/tmp/.cpan
...
What is your favorite shell? [/bin/sh] /ffp/bin/sh
...
Select your continent (or several nearby continents) [] 4
Select your country (or several nearby countries) [] 10
...
Select as many URLs as you like (by number),
put them on one line, separated by blanks, e.g. '1 4 5' [] 8 9 7 13
...
cpan> install XML::Feed
...

I think it's important to change the cache directory to a place on disk. /home/root will run out of space.

Offline

 

#3 2008-05-23 01:31:53

steveG
Member
Registered: 2008-04-20
Posts: 15

Re: PERL Config

Thanks for your replay. 

The make step if failing for me.    Below is my perl config; do you have anything significantly different?  Do I need to have something for make_arg or make_install_arg?

cpan> o conf
CPAN::Config options from /ffp/lib/perl5/5.8.8/CPAN/Config.pm:
    commit                 Commit changes to disk
    defaults                Reload defaults from disk
    init                       Interactive setting of all options

    build_cache           10
    build_dir                /mnt/HD_a2/perl/cpan/build
    cache_metadata     1
    cpan_home           /mnt/HD_a2/perl/cpan
    dontload_hash
    ftp
    ftp_proxy
    getcwd               cwd
    gpg
    gzip                  /ffp/bin/gzip
    histfile              /mnt/HD_a2/perl/cpan/histfile
    histsize            100
    http_proxy
    inactivity_timeout 0
    index_expire       1
    inhibit_startup_message 0
    keep_source_where  /mnt/HD_a2/perl/cpan/sources
    lynx
    make               /ffp/bin/make
    make_arg
    make_install_arg
    makepl_arg         PREFIX=/mnt/HD_a2/perl
    ncftp
    ncftpget           /ffp/bin/ftpget
    no_proxy
    pager              /ffp/bin/less
    prerequisites_policy follow
    scan_cache         atstart
    shell              /ffp/bin/sh
    tar                /ffp/bin/tar
    term_is_latin      1
    unzip              /ffp/bin/unzip
    urllist
        ftp://cpan.mirrors.tds.net/pub/CPAN
        ftp://cpan.netnitco.net/pub/mirrors/CPAN/
        ftp://cpan.pair.com/pub/CPAN/
        ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN
        ftp://ftp-mirror.internap.com/pub/CPAN/
    wget               /ffp/bin/wget


cpan>

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB