BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{bb} Issue patching bbgen 2.16



Hi

Anyone know if the issue I have applying the two bbgen 2.16 patches is
because I need to download the GNU 'patch' rather than using the std
Solaris 9 'patch' cmd, as I am getting this issue:

First I tried:

$ patch -p0 <
/home/bb/tmp/bbgen-2.16/bbpatches/1.9e-server/bbd-background.patch
  Looks like a unified context diff.
Hunk #2 failed at line 24.
Hunk #3 failed at line 24.
Hunk #4 failed at line 25.
Hunk #5 failed at line 23.
4 out of 5 hunks failed: saving rejects to src/dohostsvc.c.rej
done

$

The number of Hunk #? Failed were even more numerous for the 2nd patch.


Then I tried (after reading the man page for patch: -u Interprets the
patch file as a unified context differ-ence, that is, the output of the
command diff when the -u or -U options are specified.):

$ patch -u -p0
/home/bb/tmp/bbgen-2.16/bbpatches/1.9e-server/bbd-background.patch
But it just hung till I did a ^c.

Finally I tried
I then tried restoring the file: 
/home/bb/bb/src/dohostsvc.c
And re-running
$ patch -u -p0
/home/bb/tmp/bbgen-2.16/bbpatches/1.9e-server/bbd-background.patch
  Looks like a unified context diff.
File to patch: 


And it asked about a file to patch, so I ^c'ed as this didn't look
correct.



Background info:
Using Solaris 9
Bb 1.9e
Larrd 0.43c
Using gcc
Openssl 0.9.7d - installed into /usr/local/ssl
Curl 7.11.0 (from a Solaris 8 build, but don't believe this is an issue)
 - installed into /usr/local/lib and /usr/local/bin
Fping 2.2b1 (from a Solaris 8 build, but don't believe this is an issue)
 - installed into /usr/local/sbin

Thanks
 Trevor


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index