KIO, gpgme

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Mar 2 18:29:35 CET 2007


Stromek schrieb:
> On Fri, Mar 02, 2007 at 05:51:50PM +0100, Christian Ehrlicher wrote:
>> Stromek schrieb:
>>> On Fri, Mar 02, 2007 at 02:56:40PM +0100, Christian Ehrlicher wrote:
>>>> Stromek schrieb:
>>>>> On Fri, Mar 02, 2007 at 01:16:19PM +0100, Ralf Habacker wrote:
>>>>>> Stromek schrieb:
>>>>>>> Hi folks,
>>>>>>>
>>>>>>> I would like to ask two questions, about file browsing and about gpgme
>>>>>>> in regards to korganizer compilation.
>>>>>>>
>>>>>>> First, I wonder if file browsing works for someone. I have never see 
>>>>>>> it working
>>>>>>> in my compilation but it seemed to me that it works for others. What I
>>>>>>> mean is, for example, if I run dolphin and when it should show 
>>>>>>> directory
>>>>>>> listing it writes that kio died unexpectedly, or if I want to open file
>>>>>>> for editing in kate, the open dialog does not show me directory listing
>>>>>>> and writes that kio died unexpectedly.
>>>>>>>
>>>>>> I got kio_file running with mingw a few month ago and kio_http partial
>>>>>> without ssl. I was able to open files with kate and browse directories
>>>>>> with konqueror. For this purpose a win32 implementation of klauncher was
>>>>>> written.
>>>>> wow, nice. I knew that someone got it running. I'm using msvc and I'm
>>>>> just realizing that with msvc there are lot of problems comparing to
>>>>> mingw. Btw. thnx for reply, I was just wondering.
>>>>>
>>>>> Someone has also written that kdegames are compilable. Today, I tried to
>>>>> compile libkdegames and there appeared problems with non-existing iovec
>>>>> (readv, writev) which seems to be no problem using mingw.
>>>>> Unfortunatelly, I am not so
>>>>> pro (yet:) to be able to find a workaround for such issues by myself.
>>>>>
>>>> kdegames is fully compilable with msvc (I had to comment out some 
>>>> subdirs, but it's checked in)
>>> Below are the errors I'm encoutering when compiling libkdegames.
>>>
>>> Microsoft (R) Development Environment  Version 7.10.3077.
>>> Copyright (C) Microsoft Corp 1984-2001. All rights reserved.
>>> ------ Build started: Project: kggzmod, Configuration: Release Win32 ------
>>>
>>> Generating module_private.moc
>>> Generating module.moc
>>> Compiling...
>>> statistics.cpp
>>> request.cpp
>>> player.cpp
>>> module.cpp
>>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(42) : er
>>> ror C2133: 'iov' : unknown size
>>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(42) : er
>>> ror C2512: 'iovec' : no appropriate default constructor available
>>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(42) : er
>>> ror C2262: 'iov' : cannot be destroyed
>>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(47) : er
>>> ror C2079: 'KGGZMod::readfiledescriptor::__unnamed::cm' uses undefined 
>>> struct 'K
>>> GGZMod::cmsghdr'
>>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(48) : er
>>> ror C3861: 'CMSG_SPACE': identifier not found, even with 
>>> argument-dependent look
>>> ...
>>> 47) : see declaration of 'KGGZMod::cmsghdr'
>>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(81) : er
>>> ror C2227: left of '->cmsg_level' must point to class/struct/union
>>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(86) : er
>>> ror C2027: use of undefined type 'KGGZMod::cmsghdr'
>>>        n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(
>>> 47) : see declaration of 'KGGZMod::cmsghdr'
>>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(86) : er
>>> ror C2227: left of '->cmsg_type' must point to class/struct/union
>>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(86) : er
>>> ror C2065: 'SCM_RIGHTS' : undeclared identifier
>>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(92) : er
>>> ror C3861: 'CMSG_DATA': identifier not found, even with argument-dependent 
>>> looku
>>> p
>>> event.cpp
>>> Generating Code...
>>>
>>> Build log was saved at 
>>> "file://n:\incoming\kde\kdelibs\Kde\kdegames-build\libkde
>>> games\kggzmod\kggzmod.dir\Release\BuildLog.htm"
>>> kggzmod - 28 error(s), 0 warning(s)
>>>
>> I've commented the specific subdirs out -> svn up
>> Sad that they introduced a new win32-incompatible lib :(
> 
> yeap, I commented it out by myself. almost everything compiled :) few
> had errors but it does not matter at this now. from those compiled I was
> able to run only kspaceduel and ktron and only ktron was playable :)
> 
> I just wanted to try it out.
> 
> I also tried to get gpgme compiled on windows. Its building process is
> based autoconf and co. They are stating it is compilable under mingw32 but it
> looks like only from linux box through cross-compiling. I just want to
> make sure, but am I right that if I want make gpgme work with kde which is compiled
> with msvc I have to compile also gpgme under msvc.
> 
No, if it's C-code only, mingw is enough - the import lib can created in 
a different way for msvc (secret magic things need to be done for this 
;-) - see also http://mingw.org/mingwfaq.shtml#faq-msvcdll)
> To tailor gpgme to
> cmake will take some time (for me surely:). at the first sight, gnutils are
> required for the building process because some header files are
> generated using awk.
> 
Cmake is not really needed, but it makes life much easier when a new 
version needs to get compiled... feel free to ask when you've questions 
regarding cmake.

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20070302/e7f189b3/attachment.pgp 


More information about the Kde-windows mailing list