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

Re: aptitude patterns & aptitude backport



On Sun, 2007-03-18 at 14:32 +0200, Damyan Ivanov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> - -=| Sam Morris, 18.03.2007 13:28 |=-
> > Has anyone managed to backport aptitude to sarge? I just tried it now but
> > cannot get it to compile. g++ dies on line 72 of
> > src/generic/apt/matchers.cc, right after some weird GCC-specific attribute
> > is used... perhaps GCC 3.3 does not understand it?
> 
> You may want to try gcc-3.4.
> 
> Export GCC=gcc-3.4, GXX=g++-3.4, CPP=cpp-3.4 and CXXPP=cpp-3.4 before
> calling configure in debian/rules (and build-depend on gcc/g++-3.4)
> 
> At least that's what I did for the firebird backport.

Unfortunately in this case, the aptitude binary ends up being linked
against both libstdc++.so.5 (pulled in by libcppunit and libsigc++2) and
libstdc++.so.6 (from g++-3.4). This makes it segfault immediately when
run.

I guess this is why there are no packages available on backports.org
already. ;)

> 	dam

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: