synaptic-devel
[Top][All Lists]
Advanced

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

Re: [Synaptic-devel] 0.35 build error


From: Sviatoslav Sviridov
Subject: Re: [Synaptic-devel] 0.35 build error
Date: Mon, 31 Mar 2003 11:41:19 +0400

On Mon, 31 Mar 2003 11:15:48 +0200
Michael Vogt <address@hidden> wrote:

> On Mon, Mar 31, 2003 at 10:33:46AM +0300, Panu Matilainen wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > On Sun, 30 Mar 2003, Michael Vogt wrote:
> > 
> > > On Sun, Mar 30, 2003 at 08:38:02PM +0900, Yasumichi Akahoshi
> > > wrote:
> > > >  I use Vine Linux based apt and rpm.
> > > 
> > > What version of apt and rpm are you using? This error may be
> > > caused by a old version of apt-rpm.
> > 
> > I'm seeing the same error and the apt version is 0.5.5cnc4.1 - the
> > latest released version and the Ignored() and UnIgnoreAll() methods
> > are not present in there. Apparently one needs apt-rpm from the
> > SVN-tree to build the latest Synaptic :(
> 
> Thanks for your feedback.  I'm using debian so I do only a very basic
> rpm testing. Please apply the attached patch and tell me if it then
> works for you. If so, I'll do a 0.35.1 with only this patch in it. 

Other error after applying this patch:

rpackagelister.cc:926:8: macro names must be identifiers
rpackagelister.cc: In member function `void
RPackageLister::saveState(pkgDepCache::State&)':
rpackagelister.cc:993: no matching function for call to
`pkgDepCache::State::clear()'
rpackagelister.cc:994: no matching function for call to
`pkgDepCache::State::reserve(unsigned int&)'
rpackagelister.cc:996: no matching function for call to
`pkgDepCache::State::push_back(RPackage::MarkedStatus)'
rpackagelister.cc: In member function `void
RPackageLister::restoreState(pkgDepCache::State&)':
rpackagelister.cc:1004: no match for `pkgDepCache::State& [unsigned
int&]' operator
/usr/include/apt-pkg/depcache.h:248: candidates are:
pkgDepCache::StateCache& pkgDepCache::State::operator[](const
pkgCache::PkgIterator&)
rpackagelister.cc:1005: no match for `pkgDepCache::State& [unsigned
int&]' operator
/usr/include/apt-pkg/depcache.h:248: candidates are:
pkgDepCache::StateCache& pkgDepCache::State::operator[](const
pkgCache::PkgIterator&)
rpackagelister.cc: In member function `bool
RPackageLister::getStateChanges(pkgDepCache::State&,
std::vector<RPackage*, std::allocator<RPackage*> >&,
std::vector<RPackage*, std::allocator<RPackage*> >&,
std::vector<RPackage*, std::allocator<RPackage*> >&,
std::vector<RPackage*, std::allocator<RPackage*> >&,
std::vector<RPackage*, std::allocator<RPackage*> >&, bool)':
rpackagelister.cc:1042: no match for `pkgDepCache::State& [unsigned
int&]' operator
/usr/include/apt-pkg/depcache.h:248: candidates are:
pkgDepCache::StateCache& pkgDepCache::State::operator[](const
pkgCache::PkgIterator&)


> If someone could write a configure test for this, it would be even
> better :) 


-- 
Sviatoslav Sviridoff
// Lintec Project/Minsk // PIN AG/Berlin //
-- 
One man's "magic" is another man's engineering.  "Supernatural" is a
null word.
                -- Robert Heinlein




reply via email to

[Prev in Thread] Current Thread [Next in Thread]