Xymon Mailing List Archive search

Instalingl allinone patch for hobbit 4.2.0

list Charles Goyard
Thu, 25 Jan 2007 13:37:29 +0100
Message-Id: <user-df423a18ca2f@xymon.invalid>

Frédéric DUPEYROUX wrote :
Hello,
 
I have this problem for installing allinone patch :
 
[root at ftp-monitor hobbit]# cd /usr/lib/hobbit/
[root at ftp-monitor hobbit]# patch -p0 <allinone.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|diff -urN /home/henrik/hobbit/release/hobbit-4.2.0/bbdisplay/bbgen.h ./bbdisplay/bbgen.h
|--- /home/henrik/hobbit/release/hobbit-4.2.0/bbdisplay/bbgen.h 2006-08-09 22:09:54.000000000 +0200
|+++ ./bbdisplay/bbgen.h        2006-10-03 13:52:28.720493437 +0200
File to patch:
Hi,

you have to run this command in the source tree, not the installation
directory.

try :

cd /usr/local/src/hobbit-4.2.0/ (or wherever you did put the source)
patch -p0 <allinone.patch

Did you compile from source at all or got a package (rpm, deb) ?


-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31