Find the answer to your Linux question:
Results 1 to 3 of 3
Hi everybody, Im trying to install GateKeeper, fist I installed ptlib-2.8.3 from source, after that I tryed to install h323plus and im getting the following message: ./configure checking for g++... ...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    13

    [SOLVED] Problems with GateKeeper

    Hi everybody, Im trying to install GateKeeper, fist I installed ptlib-2.8.3 from source, after that I tryed to install h323plus and im getting the following message:

    ./configure
    checking for g++... g++
    checking for C++ compiler default output file name... a.out
    checking whether the C++ compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    OpenH323 version is 1.22.0
    Cannot find ptlib - please install or set PTLIBDIR and try again

    any Ideas?? thanks all

  2. #2
    Just Joined!
    Join Date
    Sep 2010
    Posts
    13

    result of ptlib make install

    make install
    make: *** No rule to make target `install'. Stop.
    [root@rfms001 downloads]# cd ptlib-2.8.3
    [root@rfms001 ptlib-2.8.3]# ./configure
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    configure: PTLib version is 2.8.3
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for swab... yes
    configure: OSTYPE set to linux
    configure: OSRELEASE set to "2.6.18-194.el5"
    configure: MACHTYPE set to x86_64
    configure: gcc version is 4.1.2
    checking checking if pragma implementation should be used... no
    checking checking if precompiled headers available... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking whether byte ordering is bigendian... no
    configure: Default extension for C++ files is cpp
    checking if compiler accepts -felide-constructors... yes
    checking if linker accepts -Wreorder... yes
    checking if debug build accepts -g3 -ggdb -O0... yes
    checking if compiler uses RTTI by default... yes
    checking size of int... 4
    checking for long double with more range or precision than double... yes
    checking for flex... /usr/bin/flex
    checking for ar... ar
    checking for bison... /usr/bin/bison
    checking if readdir_r has 2 parms... no
    checking if readdir_r has 3 parms... yes
    configure: PTRACE and all trace logging included
    configure: Using ANSI C++ bool for PBoolean: (PFalse=false PTrue=true)
    checking for recvmsg... yes
    checking for NetLink support... yes
    checking if using STL streams... yes
    checking if atomic integer available... yes
    checking if __exchange_and_add is in __gnu_cxx namespace... yes
    checking if Unix semaphores are available... yes
    checking for pthread_create in -lpthread... yes
    checking for clock_gettime in -lrt... yes
    checking if pthread_mutex_timedlock is available... yes
    checking for sem_timedwait in -lpthread... yes
    checking if sem_timedwait is compilable... yes
    checking if recursive mutexes are available... PTHREAD_MUTEX_RECURSIVE_NP
    checking if setpgrp takes no parameters... yes
    checking regex.h usability... yes
    checking regex.h presence... yes
    checking for regex.h... yes
    checking for regcomp... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking if dlopen is available... yes
    checking for dlopen in -ldl... yes
    checking enable plugin support... yes
    checking where plugins are being installed... /usr/local/lib/ptlib-2.8.3
    checking enable samples build... no
    checking how to run the C preprocessor... gcc -E
    checking for res_ninit... no
    checking for res_ninit in -lresolv... yes
    checking for sasl_version in -lsasl2... yes
    checking for sasl_client_out in -lsasl... no
    checking if <sasl.h> works... no
    checking if <sasl/sasl.h> works... yes
    configure: SUN mlib disabled
    checking ldap.h usability... yes
    checking ldap.h presence... yes
    checking for ldap.h... yes
    checking for ldap_open in -lldap... no
    checking for OPENSSL... yes
    checking openssl/aes.h usability... yes
    checking openssl/aes.h presence... yes
    checking for openssl/aes.h... yes
    checking for const arg to d2i_AutoPrivateKey... yes
    checking for d2i_DHparams_bio variants... new
    checking expat.h usability... no
    checking expat.h presence... no
    checking for expat.h... no
    checking for IPv6 support... yes
    checking for inet_ntop... yes
    checking enable config file support... yes
    checking enable URL support... yes
    checking enable HTTP support... yes
    checking enable HTTP forms support... yes
    checking enable HTTP server support... yes
    checking enable Jabber support... configure: jabber support disabled due to disabled dependency HAS_EXPAT
    no
    checking enable VXML support... configure: vxml support disabled due to disabled dependency HAS_EXPAT
    no
    checking enable XMLRPC support... configure: xmlrpc support disabled due to disabled dependency HAS_EXPAT
    no
    checking enable SOAP support... configure: soap support disabled due to disabled dependency HAS_EXPAT
    no
    checking enable Text-To-Speech server support... yes
    checking enable ASN decoding/encoding support... yes
    checking enable STUN support... yes
    checking enable pipechannel support... yes
    checking enable DTMF protocol support... yes
    checking enable SOCKS protocol support... yes
    checking enable FTP protocol support... yes
    checking enable SNMP protocol support... yes
    checking enable TELNET protocol support... yes
    checking enable remote connection support... yes
    checking enable serial port support... yes
    checking enable POP3/SMTP support... yes
    checking enable audio support... yes
    checking enable WAVFILE support... yes
    checking enable QOS support... yes
    checking enable video device support... yes
    checking enable video file support... yes
    checking enable FFMpeg video file support... yes
    checking enable application sharing support... no
    checking enable shared memory video devices... yes
    checking for SDL... no
    checking enable video for windows capture... no
    checking sql.h usability... yes
    checking sql.h presence... yes
    checking for sql.h... yes
    checking for SQLAllocStmt in -lodbc... yes
    configure: ODBC support enabled
    checking enable C++ exceptions... no
    checking for a BSD-compatible install... /usr/bin/install -c
    configure: creating ./config.status
    config.status: creating make/ptbuildopts.mak
    config.status: creating make/ptlib-config
    config.status: creating Makefile
    config.status: creating ptlib_cfg.dxy
    config.status: creating ptlib.pc
    config.status: creating include/ptbuildopts.h
    === configuring in plugins (/root/downloads/ptlib-2.8.3/plugins)
    configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
    checking for g++... g++
    checking for C++ compiler default output file name... a.out
    checking whether the C++ compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... gcc -E
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking alsa/asoundlib.h usability... yes
    checking alsa/asoundlib.h presence... yes
    checking for alsa/asoundlib.h... yes
    checking for ALSA sound support... yes
    checking pulse/simple.h usability... no
    checking pulse/simple.h presence... no
    checking for pulse/simple.h... no
    checking for Pulse sound support... no
    checking for linux/videodev2.h... no
    checking for linux/videodev2.h with sys/types.h... yes
    checking for V4L2 video support... yes
    checking libv4l2.h usability... no
    checking libv4l2.h presence... no
    checking for libv4l2.h... no
    checking for libv4l2 support... no
    checking machine/ioctl_meteor.h usability... no
    checking machine/ioctl_meteor.h presence... no
    checking for machine/ioctl_meteor.h... no
    checking i386/ioctl_meteor.h usability... no
    checking i386/ioctl_meteor.h presence... no
    checking for i386/ioctl_meteor.h... no
    checking dev/ic/bt8xx.h usability... no
    checking dev/ic/bt8xx.h presence... no
    checking for dev/ic/bt8xx.h... no
    checking for BSD video support... no
    checking libdc1394/dc1394_control.h usability... no
    checking libdc1394/dc1394_control.h presence... no
    checking for libdc1394/dc1394_control.h... no
    checking libraw1394/raw1394.h usability... no
    checking libraw1394/raw1394.h presence... no
    checking for libraw1394/raw1394.h... no
    checking for IEEE1394/DC video support... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating vidinput_v4l2/Makefile
    config.status: creating vidinput_dc/Makefile
    [root@rfms001 ptlib-2.8.3]# make
    make DEBUG= P_SHAREDLIB=1 default_target
    make[1]: Entering directory `/root/downloads/ptlib-2.8.3'
    make[1]: Leaving directory `/root/downloads/ptlib-2.8.3'
    make[1]: Entering directory `/root/downloads/ptlib-2.8.3/src'
    make DEBUG= P_SHAREDLIB=1 default_target
    make[2]: Entering directory `/root/downloads/ptlib-2.8.3/src'
    [CC] ptclib/psasl.cxx
    ptclib/psasl.cxx: In member function ‘PBoolean PSASLClient::Init(const PString&, PStringSet&)’:
    ptclib/psasl.cxx:232: warning: dereferencing type-punned pointer will break strict-aliasing rules
    [CC] ptclib/pssl.cxx
    [CC] ptclib/podbc.cxx
    [CC] ptlib/common/vfakeio.cxx
    [CC] ptlib/common/videoio.cxx
    [CC] ptlib/common/vconvert.cxx
    [CC] ptlib/common/pvidchan.cxx
    [CC] ptlib/common/tinyjpeg.cxx
    [CC] ptlib/common/jidctflt.cxx
    [CC] ptlib/unix/shmvideo.cxx
    [CC] ptlib/common/sound.cxx
    [CC] ptclib/pxml.cxx
    [CC] ptclib/pdns.cxx
    [CC] ptclib/enum.cxx
    [CC] ptclib/ptts.cxx
    [CC] ptclib/asner.cxx
    [CC] ptclib/pasn.cxx
    [CC] ptclib/snmpclnt.cxx
    [CC] ptclib/snmpserv.cxx
    [CC] ptclib/psnmp.cxx
    [CC] ptclib/snmp.cxx
    [CC] ptclib/rfc1155.cxx
    [CC] ptclib/ftpclnt.cxx
    [CC] ptclib/ftpsrvr.cxx
    [CC] ptclib/ftp.cxx
    [CC] ptclib/telnet.cxx
    [CC] ptclib/pstun.cxx
    [CC] ptclib/pnat.cxx
    [CC] ptclib/socks.cxx
    [CC] ptlib/unix/pipechan.cxx
    [CC] ptlib/unix/remconn.cxx
    [CC] ptclib/pwavfile.cxx
    [CC] ptclib/pwavfiledev.cxx
    [CC] ptclib/dtmf.cxx
    [CC] ptlib/unix/serchan.cxx
    [CC] ptclib/modem.cxx
    [CC] ptclib/inetmail.cxx
    [CC] ptclib/url.cxx
    [CC] ptclib/http.cxx
    [CC] ptclib/httpclnt.cxx
    [CC] ptclib/html.cxx
    [CC] ptclib/httpsrvr.cxx
    [CC] ptclib/httpform.cxx
    [CC] ptlib/unix/svcproc.cxx
    [CC] ptclib/httpsvc.cxx
    [CC] ptclib/shttpsvc.cxx
    [CC] ptlib/unix/config.cxx
    [CC] ptclib/pvidfile.cxx
    [CC] ptclib/pvfiledev.cxx
    [CC] ptclib/pffvdev.cxx
    [CC] ptlib/unix/uicmp.cxx
    [CC] ptlib/unix/socket.cxx
    [CC] ptlib/unix/udll.cxx
    [CC] ptlib/unix/channel.cxx
    [CC] ptlib/unix/osutil.cxx
    [CC] ptlib/unix/tlib.cxx
    [CC] ptlib/unix/switch.cxx
    [CC] ptclib/cli.cxx
    [CC] ptclib/threadpool.cxx
    [CC] ptclib/ipacl.cxx
    [CC] ptclib/qchannel.cxx
    [CC] ptclib/delaychan.cxx
    [CC] ptclib/memfile.cxx
    [CC] ptclib/cypher.cxx
    [CC] ptclib/random.cxx
    [CC] ptclib/inetprot.cxx
    [CC] ptlib/common/notifier_ext.cxx
    [CC] ptclib/guid.cxx
    bison ptlib/common/getdate.y -o ptlib/common/getdate.tab.c
    ptlib/common/getdate.y: conflicts: 8 shift/reduce, 18 reduce/reduce
    [CC] ptlib/common/getdate.tab.c
    [CC] ptlib/unix/assert.cxx
    [CC] ptlib/common/pluginmgr.cxx
    [CC] ptlib/common/sockets.cxx
    [CC] ptclib/psockbun.cxx
    [CC] ptlib/common/qos.cxx
    [CC] ptlib/common/ptime.cxx
    [CC] ptlib/common/syslog.cxx
    cp /root/downloads/ptlib-2.8.3/revision.h.in /root/downloads/ptlib-2.8.3/revision.h
    [CC] ptlib/common/osutils.cxx
    [CC] ptlib/common/safecoll.cxx
    [CC] ptlib/common/collect.cxx
    [CC] ptlib/common/contain.cxx
    [CC] ptlib/common/object.cxx
    [AR] /root/downloads/ptlib-2.8.3/lib_linux_x86_64/libpt_s.a
    [LD] /root/downloads/ptlib-2.8.3/lib_linux_x86_64/libpt.so.2.8.3
    make[2]: Leaving directory `/root/downloads/ptlib-2.8.3/src'
    make[1]: Leaving directory `/root/downloads/ptlib-2.8.3/src'
    make[1]: Entering directory `/root/downloads/ptlib-2.8.3/plugins'
    make DEBUG= P_SHAREDLIB=1 default_target
    make[2]: Entering directory `/root/downloads/ptlib-2.8.3/plugins'
    make[2]: Leaving directory `/root/downloads/ptlib-2.8.3/plugins'
    set -e; make -C sound_alsa optshared ; make -C vidinput_v4l2 optshared ;
    make[2]: Entering directory `/root/downloads/ptlib-2.8.3/plugins/sound_alsa'
    make DEBUG= P_SHAREDLIB=1 default_target
    make[3]: Entering directory `/root/downloads/ptlib-2.8.3/plugins/sound_alsa'
    [CC] sound_alsa.cxx
    make[3]: Leaving directory `/root/downloads/ptlib-2.8.3/plugins/sound_alsa'
    make[2]: Leaving directory `/root/downloads/ptlib-2.8.3/plugins/sound_alsa'
    make[2]: Entering directory `/root/downloads/ptlib-2.8.3/plugins/vidinput_v4l2'
    make DEBUG= P_SHAREDLIB=1 default_target
    make[3]: Entering directory `/root/downloads/ptlib-2.8.3/plugins/vidinput_v4l2'
    [CC] vidinput_v4l2.cxx
    vidinput_v4l2.cxx: In member function ‘PBoolean PVideoInputDevice_V4L2::SetControlCommon(unsigned int, int)’:
    vidinput_v4l2.cxx:893: warning: converting to ‘__s32’ from ‘float’
    make[3]: Leaving directory `/root/downloads/ptlib-2.8.3/plugins/vidinput_v4l2'
    make[2]: Leaving directory `/root/downloads/ptlib-2.8.3/plugins/vidinput_v4l2'
    make[1]: Leaving directory `/root/downloads/ptlib-2.8.3/plugins'
    [root@rfms001 ptlib-2.8.3]# make install
    ( for dir in /usr/local/lib \
    /usr/local/bin \
    /usr/local/include/ptlib \
    /usr/local/include/ptlib/unix/ptlib \
    /usr/local/include/ptclib \
    /usr/local/share/ptlib/make ; \
    do mkdir -p $dir ; chmod 755 $dir ; \
    done )
    ( if test -e /root/downloads/ptlib-2.8.3/lib_linux_x86_64/libpt.so.2.8.3 ; then \
    /usr/bin/install -c -m 444 /root/downloads/ptlib-2.8.3/lib_linux_x86_64/libpt.so.2.8.3 /usr/local/lib; \
    fi )
    /usr/bin/install -c -m 444 /root/downloads/ptlib-2.8.3/lib_linux_x86_64/libpt_s.a /usr/local/lib
    (cd /usr/local/lib ; \
    rm -f libpt.so ; \
    ln -sf libpt.so.2.8.3 libpt.so \
    )
    if test -e /root/downloads/ptlib-2.8.3/lib_linux_x86_64/device/; then \
    cd /root/downloads/ptlib-2.8.3/lib_linux_x86_64/device/; \
    ( for dir in ./* ;\
    do mkdir -p /usr/local/lib/ptlib-2.8.3/devices/$dir ; \
    chmod 755 /usr/local/lib/ptlib-2.8.3/devices/$dir ; \
    (for fn in ./$dir/*.so ; \
    do /usr/bin/install -c -m 444 $fn /usr/local/lib/ptlib-2.8.3/devices/$dir; \
    done ); \
    done ) ; \
    fi
    /usr/bin/install -c -m 444 include/ptlib.h /usr/local/include
    /usr/bin/install -c -m 444 include/ptbuildopts.h /usr/local/include
    (for fn in include/ptlib/*.h include/ptlib/*.inl; \
    do /usr/bin/install -c -m 444 $fn /usr/local/include/ptlib; \
    done)
    (for fn in include/ptlib/unix/ptlib/*.h include/ptlib/unix/ptlib/*.inl ; \
    do /usr/bin/install -c -m 444 $fn /usr/local/include/ptlib/unix/ptlib ; \
    done)
    (for fn in include/ptclib/*.h ; \
    do /usr/bin/install -c -m 444 $fn /usr/local/include/ptclib; \
    done)
    (for fn in make/*.mak ; \
    do /usr/bin/install -c -m 444 $fn /usr/local/share/ptlib/make; \
    done)
    /usr/bin/install -c -m 755 make/ptlib-config /usr/local/share/ptlib/make/
    (cd /usr/local/bin; rm -f ptlib-config ; ln -snf ../share/ptlib/make/ptlib-config ptlib-config)
    mkdir -p /usr/local/lib/pkgconfig
    chmod 755 /usr/local/lib/pkgconfig
    /usr/bin/install -c -m 644 ptlib.pc /usr/local/lib/pkgconfig/

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    13

    solved

    I reinstalled ptlib setting the path and everything worked fine:


    export PTLIBDIR=/PATH/TO/FOLDER//ptlib

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...