[Serusers] Re: [Sems] IVR module can't be built

Meidiana Ten gotcha_em at yahoo.com
Thu Apr 19 15:24:38 CEST 2007


Hi Sumin,
  Thanx for replying my mail.
  I failed to compile ivr module.
  btw I'm using sems.0.10.0-rc2 as media server. Below is the error log:
   
  python2.2 py_comp -l py &&\
  cp py/*.pyc ../../core/lib
  Listing py ...
  make[1]: Entering directory `/usr/local/src/sems-0.10.0-rc2/apps/ivr'
  g++ -MM IvrAudio.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    > IvrAudio.d
  g++ -MM Ivr.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    > Ivr.d
  g++ -MM IvrDialogBase.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    > IvrDialogBase.d
  g++ -MM IvrSipDialog.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    > IvrSipDialog.d
  g++ -MM IvrSipReply.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    > IvrSipReply.d
  g++ -MM IvrSipRequest.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    > IvrSipRequest.d
  g++ -MM IvrUAC.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    > IvrUAC.d
  make[1]: Leaving directory `/usr/local/src/sems-0.10.0-rc2/apps/ivr'
  make[1]: Entering directory `/usr/local/src/sems-0.10.0-rc2/apps/ivr'
  g++ -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    -c IvrAudio.cpp -o IvrAudio.o
  g++ -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    -c Ivr.cpp -o Ivr.o
  Ivr.cpp:54: 'PyGILState_STATE' is used as a type, but is not defined as a type.
  Ivr.cpp: In constructor `PythonGIL::PythonGIL()':
  Ivr.cpp:56: `gst' undeclared (first use this function)
  Ivr.cpp:56: (Each undeclared identifier is reported only once for each function
     it appears in.)
  Ivr.cpp:56: `PyGILState_Ensure' undeclared (first use this function)
  Ivr.cpp: In destructor `PythonGIL::~PythonGIL()':
  Ivr.cpp:57: `PyGILState_Release' undeclared (first use this function)
  Ivr.cpp: In member function `bool IvrFactory::loadScript(const std::string&)':
  Ivr.cpp:363: invalid conversion from `const char*' to `char*'
  Ivr.cpp: In member function `bool IvrDialog::callPyEventHandler(char*, char*,
     ...)':
  Ivr.cpp:640: `PyBool_Check' undeclared (first use this function)
  make[1]: *** [Ivr.o] Error 1
  make[1]: Leaving directory `/usr/local/src/sems-0.10.0-rc2/apps/ivr'
  make: [all] Error 2 (ignored)
  echo "Installing Python object files..."
  Installing Python object files...
  for f in log.pyc ; do \
          if [ -n "py/$f" ]; then \
                  touch           /usr/local/lib/sems/plug-in//$f; \
                  install  -m 755 py/$f /usr/local/lib/sems/plug-in//$f; \
          fi ; \
  done
  mkdir -p /usr/local/lib/sems/plug-in/
  touch           /usr/local/lib/sems/plug-in//ivr.so ; \
  install  -m 755 ivr.so /usr/local/lib/sems/plug-in/
  install: cannot stat `ivr.so': No such file or directory
  make: *** [install] Error 1
   
  I used "make install" to compile the module. 
  I'd like to ask another question too...Where does SEMS voicemail usually store voice message? And what is the type of the message store (wav or text file)?
  Thanx before
   
  Regards,
   
  Meidiana

seo <giganti71 at gmail.com> wrote:
    Hi Meidiana,
   
  Do you mean that you failed to compile ivr module OR you failed to load ivr plug-in for mailbox application?
  If you failed to compile ivr module, could you send compile error log?
  If you didn't see any compile error , I think you have to check if there is ivr.so file on your system and then check if ivr.so file is in the plug-in path which is defined in sems.conf file.
  If you still have an issue even though all plug-in files are in the plug-in path, could you attach sems logs?
   
  Thanks.
  Sumin

 
  On 4/17/07, Meidiana Ten <gotcha_em at yahoo.com> wrote:     Hi there,
  Thanx before for my past questions.
  Now, I want to add mailbox application on my server but I cannot find IVR plugin
  Then, I read some tutorial that I must make the plugin itself
  I've followed the step but it failed.
  What should I do then?
  Please advise
  Thanx
   
  Regards,
  Meidiana
   
    
---------------------------------
  Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.   
  

_______________________________________________
Sems mailing list
Sems at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/sems





       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070419/05b3668e/attachment.htm>


More information about the sr-users mailing list