BackupPC-users

Re: [BackupPC-users] Problems installing on CentOS 5.2 x64 from testing repo -- can't locate Lib.pm

2008-08-08 01:33:30
Subject: Re: [BackupPC-users] Problems installing on CentOS 5.2 x64 from testing repo -- can't locate Lib.pm
From: Holger Parplies <wbppc AT parplies DOT de>
To: John Hardman <tptac.jhardman AT gmail DOT com>
Date: Fri, 8 Aug 2008 07:32:34 +0200
Hi,

John Hardman wrote off-list on 2008-08-07 21:31:44 -0700 [Re: [BackupPC-users] 
Problems installing on CentOS 5.2 x64 from testing repo -- can't locate Lib.pm]:
> One last problem that I did a hack for, but would prefer to have a proper
> fix... The lang "en.pm" file. Something in the CGI is/was looking for it in
> the /usr/lib directory structure.
> 
> Any idea what file might be looking for that? I looked thru a lot of files,
> but did not find it.

it's again BackupPC::Lib, sub ConfigRead, line 404. It assumes the Lang files
are in $Conf{InstallDir}/lib/BackupPC/Lang. I'd change that to

        my $langFile = "BackupPC/Lang/$bpc->{Conf}{Language}.pm";

as 'do' searches the include path automatically. The place to change that
would really be upstream, not in the CentOS package.

Regards,
Holger

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>