[SIP Beyond VoIP] Source Compile / Install
Adrian Georgescu
ag at ag-projects.com
Fri Sep 27 11:28:21 CEST 2013
Go here
http://download.ag-projects.com/SipClient/
On Sep 27, 2013, at 11:22 AM, David Hubbard <david.hubbard at agenor.co.uk> wrote:
> Saúl
>
> Thanks for replying
>
> So I have started again using Python 2.7 and adding all the dependencies for "sipsimple" in the "Dependencies.txt"
>
> Plus - I have now installed ALSA library
>
> yum install alsa-lib alsa-lib-devel
>
> And now "sipsimple" builds/installs ok
>
> However now when I run "sylkserver" I get
>
> File "/usr/local/lib/python2.7/site-packages/sipsimple/account/xcap/__init__.py", line 29, in <module>
> from xcaplib.green import XCAPClient
> ImportError: No module named xcaplib.green
> Looking at this link http://www.linuxforums.org/forum/red-hat-fedora-linux/180226-blink-sip-client-fedora.html indicates I need "download.ag-projects.com/XCAP/python-xcaplib-1.0.16.tar.gz" however the only file in this XCAP directory (yours) is an "openxcap" library (which I have installed) and no "python-xcaplib"
>
> Any pointers? feel I might be close (but not cigar currently)
>
> Regards
> David
>
> On 27/09/2013 08:30, Saúl Ibarra Corretgé wrote:
>> On Sep 26, 2013, at 5:26 PM, David Hubbard wrote:
>>
>>> An update
>>>
>>> I have got a little further - I realised that my changing of header file to
>>>
>>> #define PJMEDIA_AUDIO_DEV_HAS_ALSA 0
>>>
>> You can't just change that and hope things will work, python-sipsimple needs ALSA on Linux systems, it's a requirement, not optional. Did you install ALSA header files? (they are called libasound-dev on Debian-like systems).
>>
>>> was actually done part way through compile/link - so some code was compiled with this set to 1 (items using the factory rather than providing).
>>>
>>> So I removed the simsimple folder and unpacked again
>>>
>>> As this header appears to be generated by the PJSIP configure stage I killed the setup just after this stage and made the change again, before re-running setup and getting a clean compile/install.
>>>
>>> Now when I run sylkserver I get
>>>
>>> Starting SylkServer 2.5.0, with no configuration file
>>> fatal error: failed to create SylkServer: cannot import name WeakSet
>>> Traceback (most recent call last):
>>> File "./sylk-server", line 68, in main
>>> from sylk.server import SylkServer
>>> File "/tmp/sylkserver/sylk/server.py", line 13, in <module>
>>> from sipsimple.account import Account, BonjourAccount, AccountManager
>>> File "/usr/lib64/python2.6/site-packages/sipsimple/account/__init__.py", line 25, in <module>
>>> from sipsimple.account.bonjour import BonjourServices, _bonjour
>>> File "/usr/lib64/python2.6/site-packages/sipsimple/account/bonjour/__init__.py", line 24, in <module>
>>> from sipsimple.configuration.settings import SIPSimpleSettings
>>> File "/usr/lib64/python2.6/site-packages/sipsimple/configuration/__init__.py", line 15, in <module>
>>> from weakref import WeakSet
>>> ImportError: cannot import name WeakSet
>>>
>>> Clearly a dependancy I'm missing somewhere
>>>
>>> I've found the "Dependencies.txt" and "Install.linux" docs in "./python-sipsimple-1.0.0/docs" - so I'm going to try a clean install following these a bit more closely for this module
>>>
>> Python 2.6 is no longer supported, you need Python 2.7.
>>
>>
>> Regards,
>>
>> --
>> Saúl Ibarra Corretgé
>> AG Projects
>>
>>
>>
>> _______________________________________________
>> SIPBeyondVoIP mailing list
>> SIPBeyondVoIP at lists.ag-projects.com
>> http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
>
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20130927/848ff858/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20130927/848ff858/attachment-0001.pgp>
More information about the SIPBeyondVoIP
mailing list