Problem installing gift-0.1.14

Jun Jie Foo <[email protected]>
Newsgroups gmane.comp.gnu.gift.general
Message-ID <[email protected]>
Hi,

   I'm trying to install gift-0.1.14 on Mandriva 10.2.
I'm getting this error during make:

<snipped>
.....

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAS_BOOL -DLINK_DYNAMICALLY -I../.. -g -O2 -DEF_PROTECT_BELOW=1
-DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -D__GIFT_WITH_PERL__ -DPERL_DISABLE_PMC
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/lib/perl5/5.8.6/i386-linux/CORE -MT CAccessorFactoryContainer.lo -MD -MP -MF
.deps/CAccessorFactoryContainer.Tpo -c CAccessorFactoryContainer.cc  -fPIC -DPIC -o
.libs/CAccessorFactoryContainer.o
In file included from ../../libGIFTAcPerl/include/CAFPerl.h:31,
                 from CAccessorFactoryContainer.cc:36:
../../libGIFTAcPerl/include/CAcPerl.h:125: error: invalid covariant return type for `virtual std::pair<bool, long
int> CAcPerl::URLToID(const std::string&) const'
../../libMRML/include/CAccessor.h:90: error:   overriding `virtual std::pair<bool, TID> CAccessor::URLToID(const
std::string&) const'
make[3]: *** [CAccessorFactoryContainer.lo] Error 1
make[3]: Leaving directory `/home/jufoo/CBIR/gift-0.1.14/libMRML/cc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jufoo/CBIR/gift-0.1.14/libMRML'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jufoo/CBIR/gift-0.1.14'
make: *** [all] Error 2

Can anyone please shed some light? Any help would be very much appreciated.
Thanks!

Cheers,
Jun Jie Foo (Derek)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.