Re: Snapshot

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 30 Jul 1999 23:11:39 +0200

I must again say that it looks like your patch program fails to apply
the patch file to the sources. line 2313 is way far from
clientReadRequest in my sources (clientReadRequest does not begin until
line 2641).

Witch patch program are you using? GNU patch or some kind of BSD patch?
If using a BSD version, try using the GNU version of patch instead.

Correct way to apply my snapshots (or individual patches) is to
  gzcat squid-2.2.STABLE4-src.tar.gz | tar xf -
  cd squid-2.2.STABLE4
  gzcat ../squid-2.2.STABLE4-hno.19990727-2.snapshot.gz | patch -p1

And I recommend using the GNU version of patch. It is known to work.
Most non-GNU versions of patch have various odd problems.

--
Henrik Nordstrom
Spare time Squid hacker
A.Y. Sjarifuddin wrote:
> 
> I have tried to patch on a fresh squid-2.2.STABLE4 source
> I still got the same result and this problem occurs only
> on freeBSD (3.2-RELEASE) but it works on linux (RedHat/Mandrake)
> Any suggestions?
> 
> Thanks
> Ayip.
> 
> Henrik Nordstrom wrote:
> >
> > Patch probably failed to apply the patch.
> >
> > Probable cause: You have first applied the NLANR distributed webdav
> > patch.
> >
> > Fix: Apply my snapshot to a clean squid-2.2.STABLE4 source tree without
> > any patches. The snapshot already contains the functionality provided by
> > the NLANR distributed webdav patch.
> >
> > --
> > Henrik Nordstrom
> > Spare time Squid hacker
> >
> > A.Y. Sjarifuddin wrote:
> > >
> > > I've tried to patch my squid-2.2.STABLE4 with
> > > squid-2.2.STABLE4-henrik.19990722.snapshot but I got this error
> > > during make:
> > >
> > > Making all in lib...
> > > Making all in snmplib...
> > > Making all in scripts...
> > > Making all in src...
> > > gcc -g -O2 -Wall -I. -I../include -I../include  -c client_side.c
> > > client_side.c: In function `clientReadRequest':
> > > client_side.c:2313: `cont_len' undeclared (first use this
> > > function)
> > > client_side.c:2313: (Each undeclared identifier is reported only
> > > once
> > > client_side.c:2313: for each function it appears in.)
Received on Fri Jul 30 1999 - 15:50:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:38 MST