gnupic: Re: [gnupic] building problem with Ktechlab on FC4
Subject:
Re: [gnupic] building problem with Ktechlab on FC4
From:
David Saxton ####@####.####
Date:
19 Dec 2005 15:49:38 +0000
Message-Id: <200512191549.14617.david@bluehaze.org>
On Monday 19 December 2005 14:16, Xiaofan Chen wrote:
> On 12/18/05, David Saxton ####@####.#### wrote:
> > It looks like gpsim links against different libraries for different
> > distributions (or readline does, at least).
> >
> > I've committed a fix for this (borrowed from gpsim's acinclude.m4), so if
> > you update ("svn update"), it should compile+link fine.
> >
> > Note that you'll have to rerun "make -f Makefile.cvs" and ./configure
> > before doing make.
>
> Thanks for the help. Now it goes further but still fails with the following
> error message.
>
> Regards,
> Xiaofan
>
> ...
> /usr/local/include/gpsim/ValueCollections.h: In member function '_CT&
> IndexedCollection<_CT, _ST>::GetAt(unsigned int) [with _CT = Integer,
> _ST = long long int]':
> /usr/local/include/gpsim/ValueCollections.h:186: instantiated from
> 'Value& IndexedCollection<_CT, _ST>::GetAt(unsigned int, Value*) [with
> _CT = Integer, _ST = long long int]'
> piccomponent.moc:108: instantiated from here
> /usr/local/include/gpsim/ValueCollections.h:194: error: exception
> handling disabled, use -fexceptions to enable
Looks like you're using gpsim cvs, and exceptions have been added since
gpsim-0.21.11....
I've committed a fix that enables exception support if gpsim-0.21.12 is
detected - as before, you'll need to do svn update; make -f
Makefile.cvs; ./configure; before doing make.
[I'm having a a few problems compiling gpsim-cvs though, so I haven't tested
compilation fully...]