> "ken" <[EMAIL PROTECTED]> writes: > > Hi > >> Anyone having problems with File-RsyncP-0.62? It won't install with >> cpan. >> Linux: 2.6.17-1.2142_FC4 >> Perl: perl-5.8.6-24 > > I think you will need perl-5.8.8 to install File-RsyncP-0.62, but you > can try to compile File-RsyncP first. > >> >> Error: >> 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] Error 1 >> make[1]: Leaving directory `/root/.cpan/build/File-RsyncP-0.62/FileList' >> make: *** [subdirs] Error 2 >> /usr/bin/make -- NOT OK >> Running make test >> Can't test without successful make >> Running make install >> make had returned bad status, install seems impossible >> Failed during this command: >> CBARRATT/File-RsyncP-0.62.tar.gz : make NO > > The compilation problem (first you had) can be solved commenting > line 811 in File-RsyncP-0.62/FileList/rsync.h (extern int verbose; > ). Just comment or remove that line and try make again. > > Cheers, > Rodrigo > > >> >> Thanks in advance. >> Ken >> Thanks Rodrigo - deleted line 811 and it compiled and installed. For others here is exactly what I did: mkdir -p /downloads/perl cd /downloads/perl wget http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/File-RsyncP-0.62.tar.gz tar -zxvf File-RsyncP-0.62.tar.gz gedit /downloads/perl/File-RsyncP-0.62/FileList/rsync.h delete line 811:extern int verbose; cd File-RsyncP-0.62 perl Makefile.PL make make test make install
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
