[bt-devel] Kio-Sword 0.2 released

Tapio Mattila tapio.mattila at mbnet.fi
Sun Jan 8 02:00:44 MST 2006


David Blue (Mailing List Addy) kirjoitti viestissään (lähetysaika sunnuntai, 8. tammikuuta 2006 08:24):
> On Thursday 05 January 2006 22:18, Luke Plant wrote:
> > Hi all,
> >
> > Sorry for a slightly off-topic post, but I know some of the readers of
> > this might be interested.  I've released a new version of Kio-Sword
> > (sword:/ protocol for KDE), you can get it here:
>
> I can't seem to get it to compile, here's my compiler stuff
>
> g++ (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
> Sword 1.5.8 from the packman rpms
> KDE 3.5.0 (though I don't think that affects too much)
>
> The error:
>
> renderer.cpp: In member function ‘void KioSword::Renderer::setOptions(const
> KioSword::SwordOptions&)’:
> /usr/include/sword/localemgr.h:57: error: ‘sword::LocaleMgr*
> sword::LocaleMgr::systemLocaleMgr’ is protected
> renderer.cpp:128: error: within this context
> renderer.cpp:128: error: request for member ‘setDefaultLocaleName’ in
> ‘sword::LocaleMgr::systemLocaleMgr’, which is of non-class type
> ‘sword::LocaleMgr*’
> ...
Did you notice that kio-sword_0.2.tar.gz package contained a patch file and in INSTALL there was a note:

Version Compatibility
=====================

If you have sword 1.5.8 or later, you will need to patch the source 
due to a change in an API.  The patch is provided, so you just have
to run this command before running configure etc.

patch -p0 < sword_1_5_8_fix.patch

After applying the patch it started to work for me! I have also sword 1.5.8.

All the best,
 Tapio Mattila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/bt-devel/attachments/20060108/307b10cb/attachment-0001.html


More information about the bt-devel mailing list