Re: [Opalvoip-user] Errors building ptlib and opal
Brought to you by:
csoutheren,
rjongbloed
|
From: David J. <dav...@se...> - 2014-10-21 16:14:39
|
Hello Lorenzo,
I don't know whether this is the correct approach since I am using an
older Version, but did you notice the makefiles in the subdirectories of
the "plugins" directory (./ptlib-2.14.3/plugins/) ?
A quick compile test showed that they can be compiled manually, and the
needed *.so files will be created.
Maybe you try it this way.
And you are right. A simple "configure; make; make install" will not work.
Kind regards
David
On 10/21/2014 05:14 PM, Lorenzo Milesi wrote:
> Hi. I'm trying to build v3.14 libraries on Ubuntu 14.04, compilation goes fine but then fails installing plugins which have not been built.
>
> Ptlib configure status:
> =========================== Configuration ==============================
> OS Type : linux
> Machine Type : x86_64
>
> prefix : /opt/t38modem
> exec_prefix : ${prefix}
> includedir : ${prefix}/include
> libdir : ${exec_prefix}/lib
> datarootdir : ${prefix}/share
> makedir : ${datarootdir}/ptlib/make
>
> DNS Resolver : yes
> IPv6 : yes
> Packet Capture (PCAP) : no
> Expat (XML parser) : yes
> OpenSSL : yes
> SASL/SASL2 : no/yes
> OpenLDAP : yes
> ODBC : yes
> Lua : no
> Javascript : no (V8)
> Curses : no
> GStreamer : no
>
> Audio : yes
> ALSA : yes
> ESD : no
> OSS : yes
> Pulse : no
> Sun : no
> shm : no
>
> Video : yes
> SDL : yes
> Video4linux : no
> Video4linux2 : yes
> BSD : no
> IEEE-1394/AVC : no
> IEEE-1394/DC : no
> JPEG File : yes
>
> ========================================================================
>
> Ptlib install:
> [...]
> /usr/bin/install -c -C -m 644 ptlib.pc /opt/t38modem/lib/pkgconfig
> make -C /root/stable/ptlib-2.14.3/plugins/sound_alsa install && make -C /root/stable/ptlib-2.14.3/plugins/sound_oss install && make -C /root/stable/ptlib-2.14.3/plugins/vidinput_v4l2 install && true
> make[2]: ingresso nella directory "/root/stable/ptlib-2.14.3/plugins/sound_alsa"
> mkdir -p /opt/t38modem/lib/ptlib-2.14.3/device/sound
> /usr/bin/install -c -C -m 755 /root/stable/ptlib-2.14.3/lib_linux_x86_64/device/sound/alsa/alsa_ptplugin.so /opt/t38modem/lib/ptlib-2.14.3/device/sound/alsa_ptplugin.so
> /usr/bin/install: impossibile eseguire stat di "/root/stable/ptlib-2.14.3/lib_linux_x86_64/device/sound/alsa/alsa_ptplugin.so": File o directory non esistente
> make[2]: *** [install] Errore 1
> make[2]: uscita dalla directory "/root/stable/ptlib-2.14.3/plugins/sound_alsa"
> make[1]: *** [install] Errore 2
> make[1]: uscita dalla directory "/root/stable/ptlib-2.14.3"
>
>
> so it's trying to install a plugin which eventually hasn't been built.
> Almost the same goes for opal:
>
> ========================= Plugin configuration =========================
> OS Type : linux
> Machine Type : x86_64
> prefix : /opt/t38modem
> exec_prefix : ${prefix}
> libdir : ${exec_prefix}/lib
> Audio Codec plugin install dir : ${libdir}/${libdir}/opal-3.14.3/codecs/audio
> Video Codec plugin install dir : ${libdir}/${libdir}/opal-3.14.3/codecs/video
> LID plugin install prefix : ${libdir}/${libdir}/opal-3.14.3/lid
> FAX plugin install prefix : ${libdir}/${libdir}/opal-3.14.3/fax
>
> GSM : no (package gsm local-source not found)
> GSM-AMR : yes
> iLBC : no (package ilbc local-source not found)
> iSAC : yes
> Speex : yes (system)
> G.722 : yes
> G.722.1 : yes
> G.722.2 : yes
> G.726 : yes
> LPC10 : yes
> IMA_ADPCM : yes
> SBC : no (missing directory /root/stable/opal-3.14.3/plugins/audio/SBC/bluez_sbc)
> CELT : no (package celt not found)
> SILK : yes
> Opus : no (package opus local-source not found)
>
> H.261 : yes (internal)
> H.263/H.263+ : no (missing FFMPEG) (ffmpeg)
> VideoLAN x264 :
> Cisco OpenH264 : no (missing shared library)
> VP8 : no (package vpx not found)
> THEORA : no (package theora not found)
> MPEG4 Part 2 : no (missing FFMPEG)
>
> SpanDSP FAX : yes (system)
>
> Voicetronics VPB support : no (package vpb not found)
>
> ========================================================================
> =========================== Configuration ==============================
> OS Type : linux
> Machine Type : x86_64
>
> prefix : /opt/t38modem
> exec_prefix : ${prefix}
> includedir : ${prefix}/include
> libdir : ${exec_prefix}/lib
> datarootdir : ${prefix}/share
> makedir : ${datarootdir}/opal/make
> Plug in directory : ${libdir}/opal-3.14.3
>
> PTLib : /root/stable/ptlib-2.14.3 (PTLIBDIR)
>
> Audio : yes
> Video : yes
>
> H.323 : yes
> H.450 : yes
> H.460 : yes
> H.460.18/19 (NAT) : yes
> H.239 : yes
> H.501 : yes
>
> SIP : yes
> SIPIM capability : yes
> MSRP capability : yes
> RFC-4103 (IM) capability : yes
>
> IAX2 support : yes
> Cisco SCCP (skinny) support : yes
> Line Interface Device : yes
> CAPI (ISDN) : no
> DAHDI (PSTN) : no
>
> T.38 capability : yes
> T.38 FAX protocol : yes
> H.224 (H.221 media channels) : yes
> H.281 (Far End Camera Control) : yes
>
> SRTP : yes (system)
> RFC-4175 Raw Video : yes
> RFC-2435 JPEG Video : no (experimental)
> Accoustic Echo Cancellation : yes
> Packet Loss Concealment for G.711 : yes
> RTCP Extended Reports support : yes
> RTP Forward Error Correction : no
>
> PC Sound System Endpoint : yes
> IVR support : yes
> Media mixing (conferences) : yes
> Presence : yes
> Statistics gathering support : yes
> Script language interface : yes
> Java support : no
> C# support : yes
> Ruby support : no
>
> ========================================================================
>
> then
> [...]
> if test -e /root/stable/opal-3.14.3/lib_linux_x86_64/libopal_d.so.3.14.3; then \
> cd /opt/t38modem/lib ; \
> ln -s -f libopal_d.so.3.14.3 libopal_d.so ; \
> fi
> /usr/bin/install -c -C -m 644 make/*.mak /opt/t38modem/share/opal/make
> /usr/bin/install -c -C -m 644 include/*.h /opt/t38modem/include/opal
> for dir in asn codec ep h323 h460 h224 iax2 im lids opal rtp sip t120 t38; \
> do \
> mkdir -p /opt/t38modem/include/opal/$dir ; \
> chmod 755 /opt/t38modem/include/opal/$dir ; \
> /usr/bin/install -c -C -m 644 include/$dir/*.h /opt/t38modem/include/opal/$dir ; \
> done
> /usr/bin/install -c -C -m 644 opal.pc /opt/t38modem/lib/pkgconfig
> mkdir -p /opt/t38modem/lib/opal-3.14.3/codecs/audio
> /usr/bin/install -c -C /root/stable/opal-3.14.3/lib_linux_x86_64/plugins/silk/silk_ptplugin.so /opt/t38modem/lib/opal-3.14.3/codecs/audio
> /usr/bin/install: impossibile eseguire stat di "/root/stable/opal-3.14.3/lib_linux_x86_64/plugins/silk/silk_ptplugin.so": File o directory non esistente
> make[3]: *** [install] Errore 1
> make[2]: *** [install] Errore 2
> make[1]: *** [install] Errore 2
> make[1]: uscita dalla directory "/root/stable/opal-3.14.3"
> make: *** [build_top_level] Errore 2
>
>
> what's wrong? how can I fix it?
> thanks
--
Dipl.-Inf
David Jaschuk
Berater
Entwicklung Client- & Netzwerksicherheit
Public Sector
secunet Security Networks AG
Alt-Moabit 91c
10559 Berlin
dav...@se...
http://www.secunet.com
Public Sector
secunet Security Networks AG
______________________________________________________________________
Sitz: Kronprinzenstraße 30, 45128 Essen, Deutschland
Amtsgericht Essen HRB 13615
Vorstand: Dr. Rainer Baumgart (Vors.), Thomas Pleines
Aufsichtsratsvorsitzender: Dr. Peter Zattler
______________________________________________________________________
|