<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi<br>
<br>
I'm following the instructions at <<a
href="http://sylkserver.com/download.phtml">http://sylkserver.com/download.phtml</a>>
for Source Code based install.<br>
<br>
I'm doing this currently on Centos 6.4 as a test (with a view to
also deploying on Red Hat EL) <br>
<br>
I have hit a problem installing "python-sipsimple" via the tar
package<br>
<br>
I am building using "python setup.py install" (which I have
deduced is the way these modules are normally built) - is this
correct?<br>
<br>
Build Error (a cut here)<br>
<br>
ar: creating
../lib/libpjmedia-videodev-x86_64-unknown-linux-gnu.a<br>
<blockquote>../src/pjmedia-audiodev/alsa_dev.c:37:28: error:
alsa/asoundlib.h: No such file or directory<br>
../src/pjmedia-audiodev/alsa_dev.c:122: error: expected
specifier-qualifier-list before "snd_pcm_t"<br>
../src/pjmedia-audiodev/alsa_dev.c: In function
"alsa_error_handler":<br>
../src/pjmedia-audiodev/alsa_dev.c:199: warning: implicit
declaration of function "snd_strerror"<br>
../src/pjmedia-audiodev/alsa_dev.c:199: warning: format "%s"
expects type "char *", but argument 4 has type "int"<br>
../src/pjmedia-audiodev/alsa_dev.c:199: warning: format "%s"
expects type "char *", but argument 4 has type "int"<br>
../src/pjmedia-audiodev/alsa_dev.c: In function "add_dev":<br>
../src/pjmedia-audiodev/alsa_dev.c:207: error: "snd_pcm_t"
undeclared (first use in this function)<br>
../src/pjmedia-audiodev/alsa_dev.c:207: error: (Each undeclared
identifier is reported only once<br>
../src/pjmedia-audiodev/alsa_dev.c:207: error: for each function
it appears in.)<br>
../src/pjmedia-audiodev/alsa_dev.c:207: error: "pcm" undeclared
(first use in this function)<br>
</blockquote>
<br>
Other than "alsa_dev.c" I see no other "alsa" files in the untarred
fileset - and it's not flagged as a dependency<br>
<br>
Digging a bit further...<br>
<br>
I see in
"./build/temp.linux-x86_64-2.6/pjsip/pjlib/include/pj/config_site.h"
that the dependency is flagged<br>
<blockquote>#define PJMEDIA_AUDIO_DEV_HAS_ALSA 1<br>
</blockquote>
If I set this to "0" then I manage to complete the compilation<br>
<br>
However when I run (after also installing "greenlet" and
"python-gnutls") I end up with an error when running sylkserver:<br>
<br>
<blockquote>Starting SylkServer 2.5.0, with no configuration file<br>
fatal error: failed to create SylkServer:
/usr/lib64/python2.6/site-packages/sipsimple/core/_core.so:
undefined symbol: pjmedia_alsa_factory<br>
Traceback (most recent call last):<br>
File "./sylk-server", line 68, in main<br>
from sylk.server import SylkServer<br>
File "/tmp/sylkserver/sylk/server.py", line 13, in
<module><br>
from sipsimple.account import Account, BonjourAccount,
AccountManager<br>
File
"/usr/lib64/python2.6/site-packages/sipsimple/account/__init__.py",
line 25, in <module><br>
from sipsimple.account.bonjour import BonjourServices,
_bonjour<br>
File
"/usr/lib64/python2.6/site-packages/sipsimple/account/bonjour/__init__.py",
line 23, in <module><br>
from sipsimple.core import FrozenSIPURI, SIPCoreError, NoGRUU<br>
File
"/usr/lib64/python2.6/site-packages/sipsimple/core/__init__.py",
line 4, in <module><br>
from sipsimple.core._core import *<br>
ImportError:
/usr/lib64/python2.6/site-packages/sipsimple/core/_core.so:
undefined symbol: pjmedia_alsa_factory<br>
</blockquote>
Is the simsimple tar missing some dependancies or should I have
these installed - as "pjproject" appears to be "C" rather than
python I'm thinking it's the former, but please can you advise me on
possible next steps?<br>
<br>
Thanks (hopefully)<br>
David<br>
<br>
</body>
</html>