Help installing perl Net::Interface module

Discussion in 'Installation/Configuration' started by tbaror, Jan 9, 2012.

  1. tbaror

    tbaror New Member

    Hello All,

    I am trying to install PacketFence under Ubuntu 11.10 the installation succeeded but when i am executing the configurator.pl is ending with error module missing showed below i tried install the module as follows

    Code:
    perl -MCPAN -e 'install Net::Interface'
    
    I get error
    Please advise
    Thanks

    Code:
    make: *** [test_dynamic] Error 255
      MIKER/Net-Interface-1.012.tar.gz
      /usr/bin/make test -- NOT OK
    //hint// to see the cpan-testers results for installing this module, try:
      reports MIKER/Net-Interface-1.012.tar.gz
    Running make install
      make test had returned bad status, won't install without force
    
    I f someone could help resolve this missing perl module some how


    error during running configuration

    Code:
    @gfn-srv-secmnn:/home/pf#./configurator.pl                                                                                                            Can't locate Net/Interface.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at ./configurator.pl line 60.
    BEGIN failed--compilation aborted at ./configurator.pl line 60 (#1)
        (F) You said to do (or require, or use) a file that couldn't be
        found. Perl looks for the file in all the locations mentioned in @INC,
        unless the file name included the full path to the file.  Perhaps you
        need to set the PERL5LIB or PERL5OPT environment variable to say where
        the extra library is, or maybe the script needs to add the library name
        to @INC.  Or maybe you just misspelled the name of the file.  See
        perlfunc/require and lib.
    
    Uncaught exception from user code:
            Can't locate Net/Interface.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at ./configurator.pl line 60.
    BEGIN failed--compilation aborted at ./configurator.pl line 60.
     at ./configurator.pl line 60
    
    I get error
    Please advise
    Thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you try this?

    Code:
    wget http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/Net-Interface-1.012.tar.gz
    tar xvfz Net-Interface-1.012.tar.gz
    cd Net-Interface-1.012
    perl Makefile.PL
    make
    make test
    make install
     

Share This Page