[Opalvoip-user] Plugins are not compiled in PTLib 2.14.0 and CentOS 6.5
Brought to you by:
csoutheren,
rjongbloed
|
From: Giovani G. <gio...@gm...> - 2014-04-04 15:52:15
|
Hello guys, I am trying to install PTLib 2.14.0 and OPAL 3.14.0 in CentOS 6.5. However, I am getting a problem when typing make install. I describe the problem below. I download the version from the svn and performed the steps described in http://wiki.opalvoip.org/index.php?n=Main.BuildingPTLibUnix: - svn co http://svn.code.sf.net/p/opalvoip/code/ptlib/tags/v2_14_0/ ptlib_v2_14_0 - cd ptlib_v2_14_0 - export PTLIBDIR=$PWD - export PKG_CONFIG_PATH=/usr/bin/pkg-config - export LD_LIBRARY_PATH=/usr/lib - export PTLIBPLUGINDIR=/usr//lib/ptlib-2.14.0 - ./configure --prefix=/usr --disable-sdl --disable-openssl --enable-plugins --disable-alsa --disable-oss The configure generated the following output: =========================== Configuration ============================== OS Type : linux Machine Type : x86_64 prefix : /usr exec_prefix : ${prefix} libdir : ${exec_prefix}/lib DNS Resolver : yes IPv6 : yes Packet Capture (PCAP) : no Expat (XML parser) : yes OpenSSL : no SASL/SASL2 : no/yes OpenLDAP : yes ODBC : no Lua : no Javascript : no (V8) Curses : yes GStreamer : no Audio : yes ALSA : no ESD : no OSS : no Pulse : yes Sun : no shm : no Video : yes SDL : no Video4linux : yes Video4linux2 : yes BSD : no IEEE-1394/AVC : no IEEE-1394/DC : no JPEG File : no ======================================================================== Then, I typed "make" and PTLib was compiled without any error: [ AR] lib_linux_x86_64/libpt_s.a [ LD] lib_linux_x86_64/libpt.so.2.14.0 The problem was with "make install": make -C $PTLIBDIR/plugins/sound_pulse install && make -C $PTLIBDIR/plugins/vidinput_v4l install && make -C $PTLIBDIR/ptlib_v2_14_0/plugins/vidinput_v4l2 install && true make[2]: Entering `$PTLIBDIR/plugins/sound_pulse' mkdir -p /usr/lib/ptlib-2.14.0/device/sound /usr/bin/install -c -C -m 755 $PTLIBDIR/lib_linux_x86_64/device/sound/pulse/pulse_ptplugin.so /usr/lib/ptlib-2.14.0/device/sound/pulse_ptplugin.so /usr/bin/install: impossible to obtaing status from "$PTLIBDIR/lib_linux_x86_64/device/sound/pulse/pulse_ptplugin.so": File or directory not found make[2]: ** [install] Error 1 make[2]: Leaving $PTLIBDIR/plugins/sound_pulse' make[1]: ** [install] Erro 2 make[1]: Leaving $PTLIBDIR' make: ** [build_top_level] Erro 2 I looked at $PTLIBDIR/lib_linux_x86_64/device/sound/pulse/pulse_ptplugin.so and the plugin library file was not generated. Also, in $PTLIBDIR/plugins/sound_pulse/, there is no object file. Other plugin directories have no object files either. It seems that plugins were not compiled. The same problem happned with OPAL, some audio/video codecs plugins were not compiled. What am I missing? Any compilation flag? Best regards, Giovani |