[BackupPC-users] Can't compile File::RsyncP version 0.62
Hi Chris, hi all, I'm running Mandriva Linux 2006 and I've just tried to install the File::RsyncP (version 0.62) module but 'make' just stops with the following error: gcc -c -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -DVERSION=\"0.62\" -DXS_VERSION=\"0.62\" -fPIC "-I/usr/lib/perl5/5.8.7/i386-linux/CORE" -DPERL_BYTEORDER= FileList.c In file included from rsync.h:139, from FileList.xs:5: config.h:416:1: warning: "_GNU_SOURCE" redefined In file included from /usr/lib/perl5/5.8.7/i386-linux/CORE/perl.h:37, from FileList.xs:2: /usr/lib/perl5/5.8.7/i386-linux/CORE/config.h:1798:1: warning: this is the location of the previous definition FileList.xs: In function 'getHashString': FileList.xs:64: warning: pointer targets in passing argument 2 of 'Perl_sv_2pv_flags' differ in signedness FileList.c: In function 'XS_File__RsyncP__FileList_exclude_check': FileList.c:699: warning: pointer targets in initialization differ in signedness FileList.c: In function 'XS_File__RsyncP__FileList_exclude_add': FileList.c:732: warning: pointer targets in initialization differ in signedness FileList.c: In function 'XS_File__RsyncP__FileList_exclude_add_file': FileList.c:762: warning: pointer targets in initialization differ in signedness gcc -c -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -DVERSION=\"0.62\" -DXS_VERSION=\"0.62\" -fPIC "-I/usr/lib/perl5/5.8.7/i386-linux/CORE" -DPERL_BYTEORDER= exclude.c exclude.c:29: error: static declaration of 'verbose' follows non-static declaration rsync.h:811: error: previous declaration of 'verbose' was here exclude.c: In function 'get_exclude_tok': exclude.c:262: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness make[1]: *** [exclude.o] Erreur 1 make[1]: Leaving directory `/root/File-RsyncP-0.62/FileList' make: *** [subdirs] Erreur 2 Other CPAN modules are up to date (checked) and the perl-dev package is installed (checked), too. Configure seems OK: " File::RsyncP::FileList based on rsync 2.6.3 configuration successful " What's wrong? Did I missed to update something else on my system? Has anyone experienced the same problem? Thanks in advance, -- Vincent - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] how to configure backup NT4 machine shares?
thanks that help me a litle. i was able to make a test full backup!. but i was using the default config.pl, and I don't wanna that so I spent some time to find the _TOPDIR_/ they talked about in docs.. then i found and created a config.pl there in /var/lib/backuppc/pc/filipe/config.pl ok. but now a more serious problem!! I'm from portugal and we have characters with accents á ó ã à ç, etc... and i tested a file with one character like that and backuppc didnt copy that file!! I created a directory and it copied it but the original name is gestão and it copied gestão will I be able to copy these files with the correct names or no? otherwise backuppc couldn't help me on daily backups :( other thing is about the backout config... The target pc's are always ON and i will want to backup when there is noone working to not cause any problems of "overloaded network" so it could run everyday at 2.00 am, so can i just delete that lines about the blackout? thanks a lot! Filipe S Ambrose Li escreveu: On 15/07/06, Filipe <[EMAIL PROTECTED]> wrote: so can u give-me your config files to help me configure in my network? so u configured samba basic, and then, in the nt4 servers, u make auth? how? thanks what is did is just $Conf{XferMethod} = 'smb'; $Conf{SmbShareName} = ['YOUR SERVERS SHARE NAME']; $Conf{SmbShareUserName} = 'USER WITH RIGHTS TO READ ALL FILES'; $Conf{SmbSharePasswd} = 'THE PASSWORD'; The user must have rights to read all the files you want to back up. You will need to make sure this is the case (by using a combination of the GUI and the cacls.exe command line tool), since by default the home directories are not readable even by administrator, and in my experience the backup operators group is useless. In my config my user name is just the user name. I don't know when you need to include the domain and when you don't need to, but in my case I don't need it. This, plus setting $Conf{BackupFilesOnly}, is basically my config for all my NT4/W2K/XP machines. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] xFer Error
Gabriel Menini wrote: The fix is probably to use -D instead of --devices. This was changed in 2.1.2pl2 and has been mentioned on this list quite a lot of times. Nils Breunese. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/