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@schenker.ca
Phone: 416-237-5168
Fax: 416-234-9292
Martin Pool
<mbp@samba.or To: Mike.Li@schenker.ca
g> cc: rsync@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@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
I haven't tried to build on an NCR MP-RAS machine lately, but I do know
that the binaries I build on Unixware 1.1.2 run on NCR machines. You can
try my 2.5.1 binary from the "SVR4" directory you can get to from
http://rsync.samba.org/rsync/download.html
Let me know if it works and if you still need to compile it from source.
- Dave Dykstra
On Mon, Jan 07, 2002 at 09:57:04AM -0500, Mike.Li@schenker.ca
wrote:>
> 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@schenker.ca
> Phone: 416-237-5168
> Fax: 416-234-9292
>
>
>
> Martin Pool
> <mbp@samba.or To: Mike.Li@schenker.ca
> g> cc: rsync@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@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
>
>
>
On 7 Jan 2002, Mike.Li@schenker.ca wrote:> > I still have problems running the options > like /usr/local/bin/rsync --daemon > will give me an error > Thanks in advance.> (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];It looks like something in popt is interacting badly with your system. Please try getting the latest version from http://freshmeat.net/projects/popt and running the test cases with "make check". If they fail, please try to get a C programmer with access to your machine to find the problem. If they pass, then try installing libpopt and linking rsync against that. (Use "make distclean; ./configure --without-included-popt") -- Martin p.s. if somebody is helping you debug problems *for free* then it is kind of annoying to not read and follow their instructions:> If you have gdb, then this would help > > gdb ./rsync > run --help > (probably crashes here) > where > info locals