* rsync-2.5.5 compile error
@ 2002-09-06 17:42 christian m�nster
2002-09-07 13:41 ` Paul A Sand
0 siblings, 1 reply; 6+ messages in thread
From: christian m�nster @ 2002-09-06 17:42 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 337 bytes --]
Hello
has anyone been able to compile rsync2.5.5 ??? on tru64 5.1
I configured succesfully but I am getting this message when I try to
compile:
cc: Error: lib/getaddrinfo.c, line 180: In this statement, "EAI_MAX" is not
declared. (undeclared)
any help would be appreciated
Christian M�nster
IT Administrator
www.guideix.dk
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: rsync-2.5.5 compile error
2002-09-06 17:42 rsync-2.5.5 compile error christian m�nster
@ 2002-09-07 13:41 ` Paul A Sand
2002-09-07 22:34 ` christian m�nster
0 siblings, 1 reply; 6+ messages in thread
From: Paul A Sand @ 2002-09-07 13:41 UTC (permalink / raw)
christian m�nster wrote:
> has anyone been able to compile rsync2.5.5 ??? on tru64 5.1
> I configured succesfully but I am getting this message when I try to
> compile:
> cc: Error: lib/getaddrinfo.c, line 180: In this statement, "EAI_MAX" is not
> declared. (undeclared)
I think there's a patch in the rsync distribution that fixes this.
After unpacking and cd'ing to the top of the unpacked tree:
patch -p1 < patches/rsync_zoong_tru64.diff
I'm at 5.1A, but this may work for 5.1 too.
--
-- Paul A. Sand |
-- University of New Hampshire | Personifiers unite!
-- pas@unh.edu | You have nothing to lose but Mr. Dignity!
-- http://pubpages.unh.edu/~pas |
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: rsync-2.5.5 compile error
2002-09-07 13:41 ` Paul A Sand
@ 2002-09-07 22:34 ` christian m�nster
2002-09-07 23:25 ` Dave Uhring
2002-09-08 0:26 ` Paul A Sand
0 siblings, 2 replies; 6+ messages in thread
From: christian m�nster @ 2002-09-07 22:34 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 916 bytes --]
now I am getting :
Hmm... I can't seem to find a patch in there anywhere.
"Paul A Sand" <pas@granite.unh.edu> wrote in message
news:slrnank0fo.2eq.pas@granite.unh.edu...
> christian m�nster wrote:
>
> > has anyone been able to compile rsync2.5.5 ??? on tru64 5.1
>
> > I configured succesfully but I am getting this message when I try to
> > compile:
>
> > cc: Error: lib/getaddrinfo.c, line 180: In this statement, "EAI_MAX" is
not
> > declared. (undeclared)
>
> I think there's a patch in the rsync distribution that fixes this.
> After unpacking and cd'ing to the top of the unpacked tree:
>
> patch -p1 < patches/rsync_zoong_tru64.diff
>
> I'm at 5.1A, but this may work for 5.1 too.
>
> --
> -- Paul A. Sand |
> -- University of New Hampshire | Personifiers unite!
> -- pas@unh.edu | You have nothing to lose but Mr.
Dignity!
> -- http://pubpages.unh.edu/~pas |
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: rsync-2.5.5 compile error
2002-09-07 22:34 ` christian m�nster
@ 2002-09-07 23:25 ` Dave Uhring
2002-09-08 0:26 ` Paul A Sand
1 sibling, 0 replies; 6+ messages in thread
From: Dave Uhring @ 2002-09-07 23:25 UTC (permalink / raw)
christian m�nster wrote:
> "Paul A Sand" <pas@granite.unh.edu> wrote in message
> news:slrnank0fo.2eq.pas@granite.unh.edu...
>> I think there's a patch in the rsync distribution that fixes this.
>> After unpacking and cd'ing to the top of the unpacked tree:
>>
>> patch -p1 < patches/rsync_zoong_tru64.diff
>>
>> I'm at 5.1A, but this may work for 5.1 too.
>
> now I am getting :
>
> Hmm... I can't seem to find a patch in there anywhere.
>
>
Christian, please post at the bottom of the previous message. For an
explanation of this request see:
http://fmf.fwn.rug.nl/~anton/topposting.html
I have put your response where it should have been.
Now, there is a patches directory within the source tree. But the patch
which you require is marked for rsync-2.5.4 and will not apply without
the kludge of creating a symlink of rsync-2.5.5 -> rsync-2.5.4.
I copied the patch to /tmp where I built the app, then:
[/tmp] $ ln -s rsync-2.5.5 rsync-2.5.4
Then the patch itself needs to be edited to remove the cruft above the
actual diff output. The first lines of the patch are:
--- rsync-2.5.4/batch.c Thu Feb 7 08:20:48 2002
+++ rsync-2.5.4.new/batch.c Fri Mar 22 09:24:01 2002
@@ -405,7 +405,15 @@
/* FIXME: This will break if s->count is ever not exactly an
int. */
write_batch_csums_file(flist_entry, sizeof(int));
With the patch in /tmp, it gets applied with
[/tmp] $ patch -p0 < rsync_zoong_tru64.diff
After compiling the sources, the test failed but that is another matter.
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: rsync-2.5.5 compile error
2002-09-07 22:34 ` christian m�nster
2002-09-07 23:25 ` Dave Uhring
@ 2002-09-08 0:26 ` Paul A Sand
2002-09-08 1:17 ` Dave Uhring
1 sibling, 1 reply; 6+ messages in thread
From: Paul A Sand @ 2002-09-08 0:26 UTC (permalink / raw)
christian m�nster wrote:
>
> Hmm... I can't seem to find a patch in there anywhere.
>
Oh, geez, sorry. It may require a later version of patch.
Get thee to ftp://gatekeeper.dec.com/pub/GNU/patch/
(Or any other GNU mirror.)
--
-- Paul A. Sand | Oh well. It's just life.
-- University of New Hampshire | (Bart Simps... er... Oktay Ahiska)
-- pas@unh.edu |
-- http://pubpages.unh.edu/~pas |
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-09-08 1:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06 17:42 rsync-2.5.5 compile error christian m�nster
2002-09-07 13:41 ` Paul A Sand
2002-09-07 22:34 ` christian m�nster
2002-09-07 23:25 ` Dave Uhring
2002-09-08 0:26 ` Paul A Sand
2002-09-08 1:17 ` Dave Uhring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox