🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Dave Barr Mon, 05 Feb 1996 00:00
Re: innd for Solaris 2.4
#4627
Author: Dave Barr
Date: Mon, 05 Feb 1996 00:00
30 lines
1680 bytes
In article <4f3guv$5eg@bastion.dhn.csiro.au>,
Phil Kernick <philk@dhn.csiro.au> wrote:
>Sean Swift (sswift@phoenix.lhup.edu) wrote:
>The problem is that the build script for INN uses patch, and it assume a
>Berkeley style patch to exist.

There's no such thing as a "Berkeley style patch".  It wasn't written
at Berkeley.  (It was written by Larry Wall)

>Solaris provides /usr/bin/patch which does
>not have the same options.

This isn't really correct either.  GNU did add several options, but
the ones that INN uses (-s and -p) are supported by Sun's.

>  When you first complied it up it asked you
>"Which files to patch?" and you probably just ignored the question.
>Unfortunately you can't.

It looks like Sun added /usr/bin/patch in Solaris 2.5. (yay)  I have
confirmed that it works fine with this 'patch'.

>The solution is to edit the Makefile and find the reference to patch and
>change it to /usr/ucb/patch.

/usr/ucb/patch doesn't exist on Solaris.  /usr/bin/patch works fine.

--Dave

Re: innd for Solaris 2.4
#4645
Author: Phil Kernick
Date: Tue, 06 Feb 1996 00:00
42 lines
2315 bytes
Dave Barr (barr@math.psu.edu) wrote:
> >The problem is that the build script for INN uses patch, and it assume a
> >Berkeley style patch to exist.
> 
> There's no such thing as a "Berkeley style patch".  It wasn't written
> at Berkeley.  (It was written by Larry Wall)

I said "Berkeley style" - meaning not the way most SysV vendors decide to
implement it - including Sun.

> >Solaris provides /usr/bin/patch which does
> >not have the same options.
> 
> This isn't really correct either.  GNU did add several options, but
> the ones that INN uses (-s and -p) are supported by Sun's.

But they don't work.  I tried to build inn1.4 on Solaris 2.5 using the
default lib/Makefile and it gives exactly the problem as documented in an
earlier posted.

> It looks like Sun added /usr/bin/patch in Solaris 2.5. (yay)  I have
> confirmed that it works fine with this 'patch'.

I dispute this.  It certainly didn't work for me, and clearly it didn't work
for others either.

> /usr/ucb/patch doesn't exist on Solaris.  /usr/bin/patch works fine.

Your right on the first, I misspoke.  Change the line in lib/Makefile to use
the Gnu version of patch.  /usr/bin/patch will not work.


Phil.

-- 
   _-_|\   Phil Kernick                           E-Mail: philk@dhn.csiro.au
  /     \  Information Technology Manager         Phone:  (08) 303 8812
  \_.-*_/  CSIRO Division of Human Nutrition      Fax:    (08) 303 8896
       v   PO Box 10041  Gouger Street            Mobile:  041 981 0849
           Adelaide, SA 5000, Australia           "Kick his interrupt, pal!"

Re: innd for Solaris 2.4
#4679
Author: Dave Barr
Date: Tue, 06 Feb 1996 00:00
14 lines
1191 bytes
In article <4f6g7b$b4h@bastion.dhn.csiro.au>,
Phil Kernick <philk@dhn.csiro.au> wrote:
>> It looks like Sun added /usr/bin/patch in Solaris 2.5. (yay)  I have
>> confirmed that it works fine with this 'patch'.
>
>I dispute this.  It certainly didn't work for me, and clearly it didn't work
>for others either.

You're right.  I can't seem to confirm my earlier confirmation of
getting patch to work.  Sigh.  More FAQ fodder.  (and an RFE to Sun...)

--Dave

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads