<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:10pt;font-family:Sans Serif">
<p>David Blue (Mailing List <span style="color:#ff0000">Addy</span>) <span style="color:#ff0000">kirjoitti</span> <span style="color:#ff0000">viestissään</span> (<span style="color:#ff0000">lähetysaika</span> sunnuntai, 8. <span style="color:#ff0000">tammikuuta</span> 2006 08:24):</p>
<p><span style="color:#008000">> On Thursday 05 January 2006 22:18, Luke Plant wrote:</span></p>
<p><span style="color:#007000">> > Hi all,</span></p>
<p><span style="color:#007000">> ></span></p>
<p><span style="color:#007000">> > Sorry for a slightly off-topic post, but I know some of the readers of</span></p>
<p><span style="color:#007000">> > this might be interested. I've released a new version of Kio-Sword</span></p>
<p><span style="color:#007000">> > (sword:/ protocol for KDE), you can get it here:</span></p>
<p><span style="color:#008000">></span></p>
<p><span style="color:#008000">> I can't seem to get it to compile, here's my compiler stuff</span></p>
<p><span style="color:#008000">></span></p>
<p><span style="color:#008000">> g++ (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)</span></p>
<p><span style="color:#008000">> Sword 1.5.8 from the packman rpms</span></p>
<p><span style="color:#008000">> KDE 3.5.0 (though I don't think that affects too much)</span></p>
<p><span style="color:#008000">></span></p>
<p><span style="color:#008000">> The error:</span></p>
<p><span style="color:#008000">></span></p>
<p><span style="color:#008000">> renderer.cpp: In member function ‘void KioSword::Renderer::setOptions(const</span></p>
<p><span style="color:#008000">> KioSword::SwordOptions&)’:</span></p>
<p><span style="color:#008000">> /usr/include/sword/localemgr.h:57: error: ‘sword::LocaleMgr*</span></p>
<p><span style="color:#008000">> sword::LocaleMgr::systemLocaleMgr’ is protected</span></p>
<p><span style="color:#008000">> renderer.cpp:128: error: within this context</span></p>
<p><span style="color:#008000">> renderer.cpp:128: error: request for member ‘setDefaultLocaleName’ in</span></p>
<p><span style="color:#008000">> ‘sword::LocaleMgr::systemLocaleMgr’, which is of non-class type</span></p>
<p><span style="color:#008000">> ‘sword::LocaleMgr*’</span></p>
<p><span style="color:#008000">> ...</span></p>
<p>Did you notice that <span style="color:#ff0000">kio</span>-sword_0.2.tar.<span style="color:#ff0000">gz</span> package contained a patch file and in INSTALL there was a note:</p>
<p></p>
<p><span style="color:#ff0000">Version Compatibility</span></p>
<p><span style="color:#ff0000">=====================</span></p>
<p></p>
<p><span style="color:#ff0000">If you have sword 1.5.8 or later, you will need to patch the source </span></p>
<p><span style="color:#ff0000">due to a change in an API. The patch is provided, so you just have</span></p>
<p><span style="color:#ff0000">to run this command before running configure etc.</span></p>
<p></p>
<p><span style="color:#ff0000">patch -p0 < sword_1_5_8_fix.patch</span></p>
<p></p>
<p>After applying the patch it started to work for me! I have also sword 1.5.8.</p>
<p></p>
<p>All the best,</p>
<p> Tapio Mattila</p>
<p></p>
</body></html>