Link to home
Start Free TrialLog in
Avatar of braker15
braker15

asked on

rsnapshot on FreeBSD, 'make test' yields 'gnu_cp not found'?

Hello i'm trying to set up rsnapshot-1.3.1 on FreeBSD 6.1

Working Directory -> /usr/ports/sysutils/rsnapshot/work/rsnapshot-1.3.1

Command I type -> make test

Error ->
t/gnu_cp....................cp: illegal option -- -
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file target_file
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file ... target_directory
t/gnu_cp....................ok
        1/1 skipped: GNU cp not found


any ideas?
14:42:44[root@devweb4]  rsnapshot-1.3.1 $ make test
/usr/bin/perl -MTest::Harness -e 'runtests(glob "t/*.t")';
t/configtest................ok
t/gnu_cp....................cp: illegal option -- -
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file target_file
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file ... target_directory
t/gnu_cp....................ok
        1/1 skipped: GNU cp not found
t/relative_delete_bugfix....ok
t/rsync.....................ok
All tests successful, 1 subtest skipped.
Files=4, Tests=5,  1 wallclock secs ( 0.69 cusr +  0.30 csys =  0.98 CPU)
14:42:56[root@devweb4]  rsnapshot-1.3.1 $ pwd
/usr/ports/sysutils/rsnapshot/work/rsnapshot-1.3.1
14:43:15[root@devweb4]  rsnapshot-1.3.1 $

Open in new window

Avatar of Maciej S
Maciej S
Flag of Poland image

You don't have GNU version of cp, but it's not required. I've just installed rsnapshot on FreeBSD 7.0 (I don't have GNU version of cp also).
Can you tell what is exact problem?
And why do you run make manually? Isn't it better to run just 'make install clean' in /usr/ports/sysutils/rsnapshot?
Avatar of braker15
braker15

ASKER

I ran "make clean install" in /usr/ports/sysutils/rsnapshot  and then couldn't figure out where the default config file was... so i started snooping around deeper in that /usr/ports/sysutils/rsnapshot directory

do you have some good instructions on how to set up rsnapshot in freebsd?

thx
ASKER CERTIFIED SOLUTION
Avatar of Maciej S
Maciej S
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial