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

Re: Bug#48784: compiling gnome-apt with recent potato (patch)



On Sat, Oct 30, 1999 at 11:51:33PM -0600, Jason Gunthorpe wrote:
> 
> On Sat, 30 Oct 1999, Mike Touloumtzis wrote:
> 
> >     correct fixes (in particular, I'm not sure about the GetLock()
> 
> The GetLock bit is correct, but is unneeded, at least in CVS apt-pkg has
> a default argument of 'true' to GetLock which is what the old non-flagged
> version did. You should NOT need to explicitly add this, something is
> seriously wrong if you did..
> 

The package currently in potato doesn't seem to have the default arg:

sarcastro:/usr/include/apt-pkg# dpkg -l | grep libapt-pkg-dev
ii  libapt-pkg-dev  0.3.13         Development files for APT's libapt-pkg

sarcastro:/usr/include/apt-pkg# apt-get install libapt-pkg-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, libapt-pkg-dev is already the newest version
0 packages upgraded, 0 newly installed, 0 to remove and 168 not upgraded.

sarcastro:/usr/include/apt-pkg# grep GetLock dpkginit.h
   bool GetLock(bool WithUpdates);

> > (2) After running 'configure', change these lines in config.h:
> > 
> > 	#define const
> > 	#define inline
> > 
> >     to these:
> > 
> > 	#define const const
> > 	#define inline inline
> 
> You must be kidding.. Bloody configure! That's really bad... No wonder
> everyone thought things were messed up beyond belief
> 

Classic C++ problem: minor config problem produces reams and reams of
unintelligible errors.  I was just stubborn :-)

miket


Reply to: