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-11-01 23:44:35

adelattre
Member
Registered: 2008-07-14
Posts: 7

BackupPC install error

I'm attempting to install BackupPC-3.1.0 per the instructions here:
http://dns323.kood.org/howto:backuppc

at the step of doing:  perl configure.pl

I get this message:

"Error loading BackupPC::Lib: Bareword 'compareLOGName" not allowed while "strict subs" in use at lib/BackupPC/Lib.pm line 1466.
Compilation failed in require at (eval 20) line 2.
BEGIN failed--compilation aborted at (eval 20) line 2.

BackupPC cannot load the package BackupPC::Lib, which is included in the BackupPC distribution.  This probably means you did not cd to the unpacked BackupPC distribution before running configure.pl, eg:

    cd BackupPC-3.1.0
    ./configure.pl

Please try again"

I have in fact cd'ed to the BackupPC-3.1.0 directory.
Any idea where I've gone wrong?
Thanks

Offline

 

#2 2008-11-02 02:52:37

puterboy
Member
Registered: 2008-09-18
Posts: 306

Re: BackupPC install error

This is due to a bug in Lib.pm which generates a warning on earlier versions of perl but doesn't compile with perl 5.10.1

I reported the error to the BacupPC mailing list and the solution is the following.
Change the last line in Lib.pm from:
                 return sort(compareLOGName @files);
To:
                 return sort compareLOGName @files;

Or alternatively, see the funpkg that I posted - http://dns323.kood.org/forum/viewtopic. … 407#p22407

Offline

 

#3 2008-11-02 05:16:27

adelattre
Member
Registered: 2008-07-14
Posts: 7

Re: BackupPC install error

Thank you.  That worked.

Offline

 

#4 2009-06-29 22:22:21

npereira
Member
Registered: 2009-06-29
Posts: 11

Re: BackupPC install error

Im also trying to make this work and getting errors:

root@DLINK-NAS:~# sh /ffp/start/lighttpd.sh start
ln: creating symbolic link `/etc/BackupPC': File exists
Bareword "HostSortCompare" not allowed while "strict subs" in use at /mnt/HD_a2/ffp/usr/BackupPC/bin/BackupPC line 1635.
Execution of /mnt/HD_a2/ffp/usr/BackupPC/bin/BackupPC aborted due to compilation errors.
backuppc started
root@DLINK-NAS:~#

Offline

 

#5 2009-06-29 22:39:28

npereira
Member
Registered: 2009-06-29
Posts: 11

Re: BackupPC install error

I have done this fix:
Change the last line in Lib.pm from:
                 return sort(compareLOGName @files);
To:
                 return sort compareLOGName @files;



Then I deleted the configur.pl in the install directory and re executed the "perl configure.pl" and getting the same issues:

Bareword "HostSortCompare" not allowed while "strict subs" in use at /mnt/HD_a2/ffp/usr/BackupPC/bin/BackupPC line 1635.
Execution of /mnt/HD_a2/ffp/usr/BackupPC/bin/BackupPC aborted due to compilation errors.
backuppc started

Offline

 

#6 2009-06-30 16:12:46

npereira
Member
Registered: 2009-06-29
Posts: 11

Re: BackupPC install error

can anyone help me with getting BackupPC running and doing backups?
I've been trying to get this working for 2 days now, and nothing seems to work...

Now im at the point where im getting this error and I have no clue what to do...:
Error: Unable to read config.pl or language strings!!

Note: $ENV{REMOTE_USER} is not set, which could mean there is an installation problem. BackupPC_Admin expects Apache to authenticate the user and pass their user name into this script as the REMOTE_USER environment variable. See the documentation.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB