1753621 Members
5963 Online
108797 Solutions
New Discussion юеВ

Rsync Install

 
Kirby_2
New Member

Rsync Install

I am trying to find a binary package available to install rsync on a Tru64 v5.1B server. I have checked on the Open Source Sources CD included with the install and this program is not available on that CD. Does anyone know where I could download this binary package from?
5 REPLIES 5
Steven Schweda
Honored Contributor

Re: Rsync Install

Steven Schweda
Honored Contributor

Re: Rsync Install

> Why not [...]

Works better if you use GCC (or a
non-intuitive "make" command). (Lame
builders.) A minor mod to one of the header
files helps, too. Wake me if you're
interested in the details.

I didn't try anything more stressful than:

urtx# rsync -v
rsync version 3.0.5 protocol version 30
Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 32-bit inums, 32-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, no IPv6, batchfiles, inplace,
append, ACLs, no xattrs, no iconv, no symtimes
[...]
M Maunu
Occasional Contributor

Re: Rsync Install

Hello Steven-

"A minor mod to one of the header
files helps, too. Wake me if you're
interested in the details."

What was the minor mod you made to the header file to get this compiled with GCC?

Thanks-
Mark
M Maunu
Occasional Contributor

Re: Rsync Install

I think i found the change. Can you confirm this Steven please.

CFLAGS=-g -DHAVE_CONFIG_H -I./popt -Wno-unused-parameter

to :

CFLAGS=-g -DHAVE_CONFIG_H -I./popt

This seems to compile successfully. Was this the only change you made?
Steven Schweda
Honored Contributor

Re: Rsync Install

> CFLAGS=-g -DHAVE_CONFIG_H -I./popt

My notes say that I actually did this:

urtx# CC=cc ./configure
[...]
urtx# CFLAGS='-g -DHAVE_CONFIG_H -I./popt' gmake -e

which looks equivalent (but without the
editing). Now that I think about it, this
should do the same thing without the "-e":

gmake CFLAGS='-g -DHAVE_CONFIG_H -I./popt'

The complaints I got from GCC looked like:

gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -Wno-unused-parameter -c popt/findme.c -o popt/findme.o
popt/findme.c: In function 'findProgramPath':
popt/findme.c:28: warning: implicit declaration of function 'alloca'
popt/findme.c:28: warning: incompatible implicit declaration of built-in function 'alloca'

So I did this:

urtx# gdiff popt/system.h_orig popt/system.h
89a90,91
> #elif defined( HAVE_ALLOCA_H)
> # include

I seem to have made that change before I
made it work with Compaq C, so I don't know
if it would still be needed, but on a system
with a 32-bit "int" and 64-bit pointers, you
don't want any implicit "int" declarations on
a memory allocation function.

I still haven't really tested it, but what
could go wrong?