• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 536
  • Last Modified:

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

0
braker15
Asked:
braker15
  • 2
2 Solutions
 
Maciej SsysadminCommented:
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?
0
 
braker15Author Commented:
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
0
 
Maciej SsysadminCommented:
You can always run pkg_info -L rsnapshot-1.3.1 to list all files that belong to this package.
After running this command, I can see, that there is /usr/local/etc/rsnapshot.conf.default file. Probably it should be renamed to remove .default part from it.
0
 
gheistCommented:
ports are not intended to do "make test" somewhere in subdir - they should work as they are
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now