rsync for NCR MP-RAS (SRV 4)
Mike.Li at schenker.ca
Mike.Li at schenker.ca
Tue Jan 8 01:57:04 EST 2002
I still have problems running the options
like /usr/local/bin/rsync --daemon
will give me an error
Thanks in advance.
# ./configure -build=i686-ncr-sysv4.3
# make install
mkdir -p /usr/local/bin
./install-sh -c -m 755 rsync /usr/local/bin
mkdir -p /usr/local/man/man1
mkdir -p /usr/local/man/man5
./install-sh -c -m 644 ./rsync.1 /usr/local/man/man1
./install-sh -c -m 644 ./rsyncd.conf.5 /usr/local/man/man5
# man rsync
ERROR: Manual entry does not exist for page rsync
# pwd
/disk8/systems/mikeli/rsync-2.5.1
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
NCR GDB 3.4.02 (based on GNU GDB 4.6 + NCR fixes/extensions),
Copyright 1992 Free Software Foundation, Inc.
Type "show new" to see a list of new features.
Reading symbols from /usr/local/bin/rsync...done.
(gdb) run --help
Starting program: /usr/local/bin/rsync --help
Reading in symbols for clientserver.c...done.
Reading symbols from /usr/lib/libresolv.so...done.
Reading symbols from /usr/lib/libsocket.so...done.
Reading symbols from /usr/lib/libnsl.so...done.
Reading symbols from /usr/lib/libc.so.1...done.
Program received signal 11, Segmentation fault
Reading in symbols for popt/popt.c...done.
0x8051927 in poptBadOption (con=0x8b08c483, flags=1) at popt/popt.c:704
704 return os->argv[os->next - 1];
(gdb) run --version
Starting program: /usr/local/bin/rsync --version
rsync: --version: unknown option
rsync error: syntax or usage error (code 1) at main.c(793)
Program exited with code 01.
(gdb) run --daemon
Starting program: /usr/local/bin/rsync --daemon
rsync: --daemon: unknown option
rsync error: syntax or usage error (code 1) at main.c(793)
Program exited with code 01.
Best regards,
Mike Li
Information Systems, Schenker Canada
Email: mike.li at schenker.ca
Phone: 416-237-5168
Fax: 416-234-9292
Martin Pool
<mbp at samba.or To: Mike.Li at schenker.ca
g> cc: rsync at lists.samba.org
Subject: Re: rsync for NCR MP-RAS
01/07/02
01:18 AM
Please
respond to
rsync
On 6 Jan 2002, Mike.Li at schenker.ca wrote:
>
> I can use -a so far. Why options do not work?
>
> # ./rsync --daemon
> rsync: --daemon: unknown option
> rsync error: syntax or usage error (code 1) at main.c(793)
> # rsync --help
> Segmentation Fault - core dumped
Did you do "make install" or put rsync in your $PATH?
Obviously rsync is not meant to dump when you pass --help. You'll
need to run it under some kind of debugger to find out where we're
going wrong. I suspect some kind of problem with your compiler
or system libraries, perhaps in popt.
If you have gdb, then this would help
gdb ./rsync
run --help
(probably crashes here)
where
info locals
--
Martin
More information about the rsync
mailing list