pkgsrc-Users archive

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

Re: Help! - Problems compiling kde4 on amd64 with gcc 4.5.3



On Fri, 02 Sep 2011, David Brownlee wrote:
> On 1 September 2011 22:26, Mark Davies <mark%ecs.vuw.ac.nz@localhost> wrote:
> > On Fri, 02 Sep 2011, David Brownlee wrote:
> >> ... and just to confirm on amd64 5.1 all is dandy.
> >> 
> >> So it definitely looks like a gcc 4.5.x issue, i386 or amd64.
> >> 
> >> Its strange that a google search for
> >> "error: no matching function for call to
> >> 'std::map<boost::tuples::tuple<GpgSignKeyEditInteractor_Private:
> >> :Si gnKeyState"
> >> 
> >> only shows up postings for NetBSD. Maybe its some interaction
> >> between gcc 4.5.3 and the specific kde & gpgme versions?
> > 
> > I'm not yet in a position to build on a current NetBSD with gcc
> > 4.5.3 (hopefully soon) but I have built kde 4.5.5 against gpgme
> > 1.3.0nb1 on ArchLinux with gcc 4.6 and not struck this problem
> > (did strike some others that I have work arounds for that
> > haven't been incorporated in the packages yet).
> 
> I have gpgme-1.3.1nb1 - could that be an issue?

maybe, I haven't tried it with that version yet.


and for your wip building issues - for kde4.5.5 on Arch with gcc4.6 I 
had to add

add_definitions(${KDE4_ENABLE_EXCEPTIONS})

to
kdepimlibs-4.5.5/qgpgme/CMakeLists.txt
kdepimlibs-4.5.5/kblog/CMakeLists.txt 

and add

add_definitions( -DBOOST_NO_0X_HDR_INITIALIZER_LIST )

to kdepimlibs-4.5.5/akonadi/CMakeLists.txt

I would expect you would need similar for the wip package


If you get past that on to other packages I needed 
add_definitions(${KDE4_ENABLE_EXCEPTIONS}) for


kdebindings-4.5.5/python/pykde4/CMakeLists.txt
kdewebdev-4.5.5/klinkstatus/src/CMakeLists.txt 
kdepim-4.4.9/korganizer/CMakeLists.txt
kdepim-4.4.9/knode/CMakeLists.txt 
kdepim-4.4.9/akregator/plugins/mk4storage/CMakeLists.txt 
kdepim-4.4.9/kalarm/CMakeLists.txt
kdepim-4.4.9/kontact/plugins/planner/CMakeLists.txt
kdepim-4.4.9/kontact/plugins/akregator/CMakeLists.txt 
kdepim-4.4.9/plugins/kmail/bodypartformatter/CMakeLists.txt
kdepim-4.4.9/plugins/kaddressbook/editorpages/CMakeLists.txt 
kdenetwork-4.5.5/kget/transfer-plugins/kio/CMakeLists.txt 
kdenetwork-4.5.5/kget/CMakeLists.txt 

and add_definitions( -DBOOST_NO_0X_HDR_INITIALIZER_LIST ) for

kdepim-4.4.9/kleopatra/CMakeLists.txt


Obviously I haven't got any of this packaged up yet.

cheers
mark




Home | Main Index | Thread Index | Old Index