[swift-users] Fwd: swift compile fails on Fedora 13
Matthew Chan
talcite at gmail.com
Sat Apr 30 08:18:13 CEST 2011
---------- Forwarded message ----------
From: Matthew Chan <talcite at gmail.com>
Date: 2011/4/30
Subject: Re: [swift-users] swift compile fails on Fedora 13
To: Remko Tronçon <remko at el-tramo.be>
Hi Remko,
Last email for the night for me.
Two separate things:
1) I found the variable in the SConscript for determining the public include
dirs. I added the ones that were missing to make the compiler happy. I'm not
sure if this exposes some headers you were intending to keep private.
Here's the variables I added to public_dirs on line 309 of SConscript in
Swiften:
"Session", "StreamManagement", "StreamStack", "Compress", "Config",
"FileTransfers", "History", "IDN", "Jingle", "SASL", "LinkLocal"
"EventLoop"
2) I'm having trouble getting the example echo bot to connect to a XMPP
server. I'm on example 2.2 in the swiften docs and I expect the bot to echo
"Connected", but after running the program, nothing happens. Have you seen
this behaviour before? I can debug if you haven't, but I am expecting it to
get messy =). The example I am following is here:
http://swift.im/swiften/guide/#Example-EchoBot2
There aren't any problems with swift itself. It builds fine and I can
connect to the Swift chat room, so I don't think it's a permission/platform
thing.
Thanks,
Matt
2011/4/30 Matthew Chan <talcite at gmail.com>
> Hi Remko,
>
> I might have discovered an issue when using the dynamic version of Swiften.
> It looks like there's some classes that didn't get moved into the Includes
> folder, which sets off some unresolved #includes problems.
>
> A few examples would be the SessionStream, StanzaAckRequester,
> StanzaAckResponder, EventOwner, and EventLoop classes.
>
> Sometimes it appears that the entire folder is missing, sometimes just the
> header file. When I run the static compile, the object files show up in the
> Swiften folder though. Not sure if this is an scons problem or something
> else.
>
>
> Thanks for your help,
> Matt
>
> 2011/4/29 Remko Tronçon <remko at el-tramo.be>
>
>> Hi Matthew,
>>
>> > Oh, I wasn't aware that Swiften wasn't available as a shared library.
>> From
>> > what I understand about fedora packaging policies (which closely mirror
>> > other distros), I won't be able to have Xournal submitted for inclusion
>> > unless swiften is available as a separately dynamically shared library.
>>
>> Ok, we'll get that sorted out soon then.
>>
>> For now, if you want to test and give initial feedback, do the
>> following to create a swiften dev package:
>> ./scons swiften_dll=1 SWIFTEN_INSTALLDIR=/path/to/install
>> /path/to/install
>> This will create an include/ and lib/ hierarchy with a .so lib in the
>> /path/to/install dir
>>
>> cheers,
>> Remko
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </lists/pipermail/swift-users/attachments/20110430/ca55b6a0/attachment.htm>
More information about the swift-users
mailing list