[SR-Users] install latest sems-server on debian 10 buster

Mojtaba mespio at gmail.com
Sun Aug 8 08:27:16 CEST 2021


Although during installing *sems 1.7.0~dev, *some Errors were happened in
AmDtmfDetector.cpp file, But by continuing the installing dpkg files in ../
path, SEMS is installed and worked
libsems1-dev_1.7.0~dev_amd64.deb
sems_1.7.0~dev_amd64.deb
sems-dbg_1.7.0~dev_amd64.deb

Is this the right way to install?
Thanks


On Sat, Aug 7, 2021 at 12:07 PM Mojtaba <mespio at gmail.com> wrote:

> Sure,
> *1) The issue related to  SEMS 1.7.0~dev in Linux debian10 4.19.0-6-amd64:*
> *I run these command in order:*
> *$ ln -s pkg/deb/buster ./debian*
> *$ dch -v 1.7.0~dev "SEMS 1.7.0~dev release"*
> *$ dpkg-buildpackage -rfakeroot -us -uc*
> *And then try to use make and make install. I got these Errors:*
>
> making sems executable
> gcc -o sems AmB2BSession.o AmAppTimer.o AmSessionProcessor.o AmEvent.o
> AmAudio.o AmUACAuth.o AmB2BMedia.o AmB2ABSession.o AmAudioMixer.o
> AmBufferedAudio.o AmConferenceChannel.o AmEventDispatcher.o
> AmPromptCollection.o SipCtrlInterface.o AmEventQueueProcessor.o md5.o
> crc4.o AmAudioMixIn.o AmRtpMuxStream.o AmEventProcessingThread.o AmArg.o
> AmZRTP.o AmCachedAudioFile.o AmMediaProcessor.o AmSession.o
> AmSessionEventHandler.o AmOfferAnswer.o AmConfigReader.o
> AmSipSubscriptionContainer.o AmThread.o AmEventQueue.o jsonxx.o
> AmSipSubscription.o AmSipDialog.o AmSipEvent.o AmApi.o AmRtpPacket.o
> AmUriParser.o AmSdp.o Am100rel.o AmRingTone.o AmDtmfSender.o AmRtpStream.o
> AmSipDispatcher.o AmPeriodicThread.o AmUAC.o AmMimeBody.o
> AmSipRegistration.o sems.o AmRtpAudio.o log.o AmPlaylist.o
> AmBasicSipDialog.o AmPrecodedFile.o AmSessionContainer.o AmDtmfDetector.o
> AmPlayoutBuffer.o AmPlugIn.o AmUtils.o jsonArg.o AmSipMsg.o
> AmMultiPartyMixer.o AmAudioFile.o AmConfig.o AmCallWatcher.o
> AmAdvancedAudio.o AmJitterBuffer.o AmRtpReceiver.o AmConferenceStatus.o
> LowcFE.o resample/libresample.a -lm -ldl -rdynamic -lpthread -lstdc++
>  -levent -levent_pthreads -Wl,--whole-archive sip/sip_stack.a
> -Wl,--no-whole-archive -lresolv
> /usr/bin/ld: AmDtmfDetector.o: in function
> `AmSpanDSPInbandDtmfDetector::streamPut(unsigned char const*, unsigned int,
> unsigned long long)':
> ./core/AmDtmfDetector.cpp:768: undefined reference to `dtmf_rx'
> /usr/bin/ld: AmDtmfDetector.o: in function
> `AmSpanDSPInbandDtmfDetector::AmSpanDSPInbandDtmfDetector(AmKeyPressSink*,
> int)':
> ./core/AmDtmfDetector.cpp:749: undefined reference to `dtmf_rx_init'
> /usr/bin/ld: AmDtmfDetector.o: in function
> `AmSpanDSPInbandDtmfDetector::~AmSpanDSPInbandDtmfDetector()':
> ./core/AmDtmfDetector.cpp:763: undefined reference to `dtmf_rx_free'
> /usr/bin/ld: AmDtmfDetector.o: in function
> `AmSpanDSPInbandDtmfDetector::AmSpanDSPInbandDtmfDetector(AmKeyPressSink*,
> int)':
> ./core/AmDtmfDetector.cpp:754: undefined reference to
> `dtmf_rx_set_realtime_callback'
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:115: sems] Error 1
> make[1]: Leaving directory '/usr/src/sems/core'
> make: *** [Makefile:27: modules] Error 2
>
> *2) The issue related to latest SEMS 1.6.0 in Linux debian10
> 4.19.0-6-amd64:*
> *$ dpkg-checkbuilddeps*
> *dpkg-checkbuilddeps: error: Unmet build dependencies: libmysql++-dev*
> Because of the library of libmysql++-dev is renamed to libmysqlcppconn-dev
> in debian 10, i updated it's name in control file like below:
> Build-Depends: debhelper (>= 9~),
>                flite-dev,
>                libcurl4-openssl-dev | libcurl4-gnutls-dev,
>                libev-dev,
>                libevent-dev (>= 2.0.0),
>                libhiredis-dev,
> *               libmysqlcppconn-dev,*
>                libspandsp-dev,
>                libspeex-dev,
>                libssl-dev,
>                libxml2-dev,
>                openssl,
>                python-dev,
>                python-sip-dev
> Standards-Version: 3.9.5
>
> Then i run these commands:
> $dch -v 1.6.0 "SEMS 1.6.0 release"
> $ dpkg-buildpackage -rfakeroot -us -uc
> This error is appeared:
> making sems executable
> gcc -o sems LowcFE.o AmB2BSession.o AmAppTimer.o AmSessionProcessor.o
> AmEvent.o AmAudio.o AmUACAuth.o AmB2BMedia.o AmB2ABSession.o AmAudioMixer.o
> AmBufferedAudio.o AmConferenceChannel.o AmEventDispatcher.o
> AmPromptCollection.o SipCtrlInterface.o AmEventQueueProcessor.o md5.o
> AmAudioMixIn.o AmEventProcessingThread.o AmArg.o AmZRTP.o
> AmCachedAudioFile.o AmMediaProcessor.o AmSession.o AmSessionEventHandler.o
> AmOfferAnswer.o sems.o AmConfigReader.o AmSipSubscriptionContainer.o
> AmThread.o AmEventQueue.o jsonxx.o AmSipSubscription.o AmSipDialog.o
> AmSipEvent.o AmUriParser.o AmSdp.o AmRingTone.o AmDtmfSender.o
> AmRtpStream.o AmSipDispatcher.o AmPeriodicThread.o AmUAC.o Am100rel.o
> AmMimeBody.o AmSipRegistration.o AmRtpAudio.o log.o AmBasicSipDialog.o
> AmPrecodedFile.o AmApi.o AmSessionContainer.o AmRtpPacket.o
> AmDtmfDetector.o AmPlayoutBuffer.o AmAdvancedAudio.o AmPlugIn.o AmUtils.o
> jsonArg.o AmPlaylist.o AmSipMsg.o AmMultiPartyMixer.o AmAudioFile.o
> AmConfig.o AmCallWatcher.o AmJitterBuffer.o AmRtpReceiver.o
> AmConferenceStatus.o resample/libresample.a -Wl,-z,relro -lm -ldl -rdynamic
> -lpthread -lstdc++  -levent -levent_pthreads -lspandsp -Wl,--whole-archive
> sip/sip_stack.a -Wl,--no-whole-archive -lresolv
> gcc: error: sip/sip_stack.a: No such file or directory
> make[2]: *** [Makefile:115: sems] Error 1
> make[2]: Leaving directory '/usr/src/sems-1.6.0/core'
> make[1]: *** [debian/rules:29: override_dh_auto_install] Error 2
> make[1]: Leaving directory '/usr/src/sems-1.6.0'
> make: *** [debian/rules:19: binary] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned
> exit status 2
>
> Let me know if you need more issue logs.
> Thank you
>
>
>
> On Sat, Aug 7, 2021 at 1:21 AM Antony Stone <
> Antony.Stone at kamailio.open.source.it> wrote:
>
>> On Friday 06 August 2021 at 22:43:59, Mojtaba wrote:
>>
>> > Does anybody have experience installing the latest SEMS-Server (1.6.0)
>> on
>> > debian 10 buster?
>> > I tried to install both 1.6.0. and 1.7-dev and some issues are occurred,
>>
>> Hm, maybe tell us what "issues" means?
>>
>>
>> Antony.
>>
>> --
>> Angela Merkel arrives at Paris airport.
>> "Nationality?" asks the immigration officer.
>> "German," she replies.
>> "Occupation?"
>> "No, just here for a summit conference."
>>
>>                                                    Please reply to the
>> list;
>>                                                          please *don't*
>> CC me.
>>
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions
>>   * sr-users at lists.kamailio.org
>> Important: keep the mailing list in the recipients, do not reply only to
>> the sender!
>> Edit mailing list options or unsubscribe:
>>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
> --Mojtaba Esfandiari.S
>


-- 
--Mojtaba Esfandiari.S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210808/fc291574/attachment.htm>


More information about the sr-users mailing list