1.安装编译以及ptlib所需要的软件包
[root@gk ~]# yum -y instal gcc gcc-c++ make flex bison
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
No such command: instal. Please use /usr/bin/yum --help
[root@gk ~]# yum -y install gcc gcc-c++ make flex bison
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
RHEL | 3.9 kB 00:00 ...
RHEL/primary_db | 3.1 MB 00:00 ...
Setting up Install Process
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package flex.x86_64 0:2.5.35-8.el6 will be installed
---> Package gcc.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: cpp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-4.el6.x86_64
---> Package gcc-c++.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.7-4.el6 for package: gcc-c++-4.4.7-4.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-4.el6.x86_64
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-4.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.7-4.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
--> Running transaction check
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
bison x86_64 2.4.1-5.el6 RHEL 637 k
flex x86_64 2.5.35-8.el6 RHEL 286 k
gcc x86_64 4.4.7-4.el6 RHEL 10 M
gcc-c++ x86_64 4.4.7-4.el6 RHEL 4.7 M
Installing for dependencies:
cloog-ppl x86_64 0.15.7-1.2.el6 RHEL 93 k
cpp x86_64 4.4.7-4.el6 RHEL 3.7 M
libstdc++-devel x86_64 4.4.7-4.el6 RHEL 1.6 M
mpfr x86_64 2.4.1-6.el6 RHEL 156 k
ppl x86_64 0.10.2-11.el6 RHEL 1.3 M
Transaction Summary
================================================================================
Install 9 Package(s)
Total download size: 23 M
Installed size: 56 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 65 MB/s | 23 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : mpfr-2.4.1-6.el6.x86_64 1/9
Installing : cpp-4.4.7-4.el6.x86_64 2/9
Installing : ppl-0.10.2-11.el6.x86_64 3/9
Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 4/9
Installing : gcc-4.4.7-4.el6.x86_64 5/9
Installing : libstdc++-devel-4.4.7-4.el6.x86_64 6/9
Installing : gcc-c++-4.4.7-4.el6.x86_64 7/9
Installing : flex-2.5.35-8.el6.x86_64 8/9
Installing : bison-2.4.1-5.el6.x86_64 9/9
RHEL/productid | 1.7 kB 00:00 ...
Verifying : libstdc++-devel-4.4.7-4.el6.x86_64 1/9
Verifying : bison-2.4.1-5.el6.x86_64 2/9
Verifying : cpp-4.4.7-4.el6.x86_64 3/9
Verifying : mpfr-2.4.1-6.el6.x86_64 4/9
Verifying : flex-2.5.35-8.el6.x86_64 5/9
Verifying : gcc-4.4.7-4.el6.x86_64 6/9
Verifying : gcc-c++-4.4.7-4.el6.x86_64 7/9
Verifying : ppl-0.10.2-11.el6.x86_64 8/9
Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 9/9
Installed:
bison.x86_64 0:2.4.1-5.el6 flex.x86_64 0:2.5.35-8.el6
gcc.x86_64 0:4.4.7-4.el6 gcc-c++.x86_64 0:4.4.7-4.el6
Dependency Installed:
cloog-ppl.x86_64 0:0.15.7-1.2.el6 cpp.x86_64 0:4.4.7-4.el6
libstdc++-devel.x86_64 0:4.4.7-4.el6 mpfr.x86_64 0:2.4.1-6.el6
ppl.x86_64 0:0.10.2-11.el6
Complete!
2.查看所下载的软件包
[root@gk ~]# cd /usr/local
[root@gk local]# ls
bin gnugk-3.6.tar.gz lib ptlib-2.10.9.tar.bz2 src
etc h323plus-h323plus.tar.gz lib64 sbin
games include libexec share
3.对该软件包进行解压
[root@gk local]# tar -jxvf ptlib-2.10.9.tar.bz2
4.对该软件包进行配置
[root@gk ptlib-2.10.9]# ./configure --enable-ipv6 --disable-odbc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
configure: PTLib version is 2.10.9
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... no
configure: OSTYPE set to linux
configure: OSRELEASE set to "2.6.32-431.el6.x86_64"
configure: MACHTYPE set to x86_64
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/usr/local/ptlib-2.10.9':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
[root@gk ptlib-2.10.9]# ./configure --enable-ipv6 --disable-odbc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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.10.9
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.32-431.el6.x86_64"
configure: MACHTYPE set to x86_64
configure: gcc version is 4.4.7
checking checking if pragma implementation should be used... no
checking checking if precompiled headers available... no
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... no
configure: error: PTLib needs the GNU Project fast lexical analyzer generator flex
[root@gk ptlib-2.10.9]# ./configure --enable-ipv6 --disable-odbc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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.10.9
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.32-431.el6.x86_64"
configure: MACHTYPE set to x86_64
configure: gcc version is 4.4.7
checking checking if pragma implementation should be used... no
checking checking if precompiled headers available... no
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... no
configure: error: PTLib needs the GNU Project parser generator bison
[root@gk ptlib-2.10.9]# ./configure --enable-ipv6 --disable-odbc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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.10.9
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.32-431.el6.x86_64"
configure: MACHTYPE set to x86_64
configure: gcc version is 4.4.7
checking checking if pragma implementation should be used... no
checking checking if precompiled headers available... no
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 IPV6_ADD_MEMBERSHIP... 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.10.9
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... no
checking for sasl_client_out in -lsasl... no
checking if
checking if
configure: SUN mlib disabled
checking ldap.h usability... no
checking ldap.h presence... no
checking for ldap.h... no
checking for OPENSSL... no
checking for d2i_DHparams_bio variants... old
checking expat.h usability... no
checking expat.h presence... no
checking for expat.h... no
checking lua.h usability... no
checking lua.h presence... no
checking for lua.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
configure: ODBC disabled
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 (/usr/local/ptlib-2.10.9/plugins)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--enable-ipv6' '--disable-odbc' --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... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking for ALSA sound support... no
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... 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@gk ptlib-2.10.9]# make
make DEBUG= P_SHAREDLIB=1 default_target
make[1]: Entering directory `/usr/local/ptlib-2.10.9'
make[1]: Leaving directory `/usr/local/ptlib-2.10.9'
make[1]: Entering directory `/usr/local/ptlib-2.10.9/src'
make DEBUG= P_SHAREDLIB=1 default_target
make[2]: Entering directory `/usr/local/ptlib-2.10.9/src'
[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] 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/vcard.cxx
[CC] ptclib/guid.cxx
bison ptlib/common/getdate.y -o ptlib/common/getdate.tab.c
ptlib/common/getdate.y: conflicts: 4 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
sed -e "s/.WCREV./`sed -n -e 's/.*Revision: \([0-9]*\).*/\1/p' /usr/local/ptlib-2.10.9/revision.h.in`/" /usr/local/ptlib-2.10.9/revision.h.in > /usr/local/ptlib-2.10.9/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] /usr/local/ptlib-2.10.9/lib_linux_x86_64/libpt_s.a
[LD] /usr/local/ptlib-2.10.9/lib_linux_x86_64/libpt.so.2.10.9
make[2]: Leaving directory `/usr/local/ptlib-2.10.9/src'
make[1]: Leaving directory `/usr/local/ptlib-2.10.9/src'
make[1]: Entering directory `/usr/local/ptlib-2.10.9/plugins'
make DEBUG= P_SHAREDLIB=1 default_target
make[2]: Entering directory `/usr/local/ptlib-2.10.9/plugins'
make[2]: Leaving directory `/usr/local/ptlib-2.10.9/plugins'
set -e; make -C vidinput_v4l2 optshared ;
make[2]: Entering directory `/usr/local/ptlib-2.10.9/plugins/vidinput_v4l2'
make DEBUG= P_SHAREDLIB=1 default_target
make[3]: Entering directory `/usr/local/ptlib-2.10.9/plugins/vidinput_v4l2'
[CC] vidinput_v4l2.cxx
make[3]: Leaving directory `/usr/local/ptlib-2.10.9/plugins/vidinput_v4l2'
make[2]: Leaving directory `/usr/local/ptlib-2.10.9/plugins/vidinput_v4l2'
make[1]: Leaving directory `/usr/local/ptlib-2.10.9/plugins'
5.对该软件包进行编译
[root@gk ptlib-2.10.9]# make
make DEBUG= P_SHAREDLIB=1 default_target
make[1]: Entering directory `/usr/local/ptlib-2.10.9'
make[1]: Leaving directory `/usr/local/ptlib-2.10.9'
make[1]: Entering directory `/usr/local/ptlib-2.10.9/src'
make DEBUG= P_SHAREDLIB=1 default_target
make[2]: Entering directory `/usr/local/ptlib-2.10.9/src'
[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] 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/vcard.cxx
[CC] ptclib/guid.cxx
bison ptlib/common/getdate.y -o ptlib/common/getdate.tab.c
ptlib/common/getdate.y: conflicts: 4 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
sed -e "s/.WCREV./`sed -n -e 's/.*Revision: \([0-9]*\).*/\1/p' /usr/local/ptlib-2.10.9/revision.h.in`/" /usr/local/ptlib-2.10.9/revision.h.in > /usr/local/ptlib-2.10.9/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] /usr/local/ptlib-2.10.9/lib_linux_x86_64/libpt_s.a
[LD] /usr/local/ptlib-2.10.9/lib_linux_x86_64/libpt.so.2.10.9
make[2]: Leaving directory `/usr/local/ptlib-2.10.9/src'
make[1]: Leaving directory `/usr/local/ptlib-2.10.9/src'
make[1]: Entering directory `/usr/local/ptlib-2.10.9/plugins'
make DEBUG= P_SHAREDLIB=1 default_target
make[2]: Entering directory `/usr/local/ptlib-2.10.9/plugins'
make[2]: Leaving directory `/usr/local/ptlib-2.10.9/plugins'
set -e; make -C vidinput_v4l2 optshared ;
make[2]: Entering directory `/usr/local/ptlib-2.10.9/plugins/vidinput_v4l2'
make DEBUG= P_SHAREDLIB=1 default_target
make[3]: Entering directory `/usr/local/ptlib-2.10.9/plugins/vidinput_v4l2'
[CC] vidinput_v4l2.cxx
make[3]: Leaving directory `/usr/local/ptlib-2.10.9/plugins/vidinput_v4l2'
make[2]: Leaving directory `/usr/local/ptlib-2.10.9/plugins/vidinput_v4l2'
make[1]: Leaving directory `/usr/local/ptlib-2.10.9/plugins'
6.对该软件包进行安装
[root@gk ptlib-2.10.9]# make install
7.解压h323plus软件包
[root@gk local]# tar -zxvf h323plus-h323plus.tar.gz
8.对软件包进行配置
[root@gk h323plus]# ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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.26.5
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 /usr/local/ptlib-2.10.9/version.h usability... yes
checking /usr/local/ptlib-2.10.9/version.h presence... yes
checking for /usr/local/ptlib-2.10.9/version.h... yes
checking for /usr/local/ptlib-2.10.9/make/lib.mak... yes
PTLib prefix set to.... /usr/local/ptlib-2.10.9
checking Checking PTLib version 2.10.9... ok
configure: Disabling H.235.6
configure: Disabling H.235.6 (256 bit)
configure: Disabling H.249
configure: Disabling H.460.17
configure: Disabling H.460.19 RTP multiplexing
configure: Disabling H.460.25
configure: Disabling H.460.26
configure: Disabling H.460 Presence
configure: Disabling H.460 PreEmption
configure: Disabling H.460 Compat Feature
configure: Disabling H.461 ASSET Feature
configure: Enabling T.38
configure: Disabling T.120
configure: Disabling T.140
configure: AEC disabled
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating openh323u.mak
config.status: creating Makefile
config.status: creating include/openh323buildopts.h
config.status: include/openh323buildopts.h is unchanged
=== configuring in plugins (/usr/local/h323plus/plugins)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
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 Debugging support... no
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 for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for nm... nm
checking for ldd... ldd
checking for objdump... objdump
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
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 stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking OPAL Version... 1.26.5
checking Plugin install directory... /usr/local/lib/opal-1.26.5
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for gsm_create in -lgsm... no
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking internal Speex version... 1.1.11.1
configure: checking whether system Speex or internal Speex is more recent
checking for SPEEX... no
internal Speex version is more recent than system Speex or system Speex not found
configure: checking if iLBC is installed
checking for iLBC_encode in -lilbc... no
checking System iLBC... no
checking default to full capabilities at empty fmtp lines... yes
checking for LIBAVCODEC... no
checking libavcodec source... disabled
checking for X264... no
checking for THEORA... no
checking for CELT... no
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
configure: h264 support disabled due to disabled dependency HAVE_X264
configure: h264 support disabled due to disabled dependency HAVE_H264_DECODER
checking enable H.264 support... no
checking IXJ... no
checking enable voicetronix vpb... yes
checking capi20.h usability... no
checking capi20.h presence... no
checking for capi20.h... no
checking CAPI... no
checking for fax_free in -lspandsp... no
checking for posix_memalign... yes
configure: creating ./config.status
config.status: creating audio/G722/Makefile
config.status: creating audio/G.722.1/Makefile
config.status: creating audio/G.722.2/Makefile
config.status: creating audio/GSM0610/Makefile
config.status: creating audio/gsm-amr/Makefile
config.status: creating audio/iLBC/Makefile
config.status: creating audio/Speex/Makefile
config.status: creating audio/LPC_10/Makefile
config.status: creating audio/G726/Makefile
config.status: creating audio/IMA_ADPCM/Makefile
config.status: creating audio/SBC/Makefile
config.status: creating audio/celt/Makefile
config.status: creating video/H.261-vic/Makefile
config.status: creating video/H.263-ffmpeg/Makefile
config.status: creating video/H.263-1998/Makefile
config.status: creating video/H.264/Makefile
config.status: creating video/H.264/gpl/Makefile
config.status: creating Makefile
config.status: creating audio/Speex/libspeex/speex_config_types.h
configure: creating ./config.status
config.status: creating audio/G722/Makefile
config.status: creating audio/G.722.1/Makefile
config.status: creating audio/G.722.2/Makefile
config.status: creating audio/GSM0610/Makefile
config.status: creating audio/gsm-amr/Makefile
config.status: creating audio/iLBC/Makefile
config.status: creating audio/Speex/Makefile
config.status: creating audio/LPC_10/Makefile
config.status: creating audio/G726/Makefile
config.status: creating audio/IMA_ADPCM/Makefile
config.status: creating audio/SBC/Makefile
config.status: creating audio/celt/Makefile
config.status: creating video/H.261-vic/Makefile
config.status: creating video/H.263-ffmpeg/Makefile
config.status: creating video/H.263-1998/Makefile
config.status: creating video/H.264/Makefile
config.status: creating video/H.264/gpl/Makefile
config.status: creating Makefile
config.status: creating audio/Speex/libspeex/speex_config_types.h
config.status: creating plugin-config.h
config.status: plugin-config.h is unchanged
=================== Plugin configuration ======================
prefix : /usr/local
exec_prefix : ${prefix}
libdir : ${exec_prefix}/lib
Audio Codec plugin install dir : ${libdir}/opal-1.26.5/codecs/audio
Video Codec plugin install prefix: ${libdir}/opal-1.26.5/codecs/video
LID plugin install prefix : ${libdir}/opal-1.26.5/lid
FAX plugin install prefix : ${libdir}/opal-1.26.5/fax
GSM : yes (internal)
gsm-amr : yes
iLBC : yes (internal)
Speex : yes (internal, version 1.1.11.1)
LPC10 : yes
G.726 : yes
IMA_ADPCM : yes
SBC : no
H.261 : yes
H.263 : no (ffmpeg version)
H.263/H.263+ : no
H.264 : no
THEORA : no
MPEG4 Part 2 : no
CELT : no
SpanDSP FAX : no
CAPI : no
Quicknet xJACK support : no
Voicetronics VPB support : yes
OS Type : linux-gnu
Machine Type : x86_64
If all settings are OK, type make and make install
========================================================
9.编译该软件包
[root@gk h323plus]# make
make DEBUG= P_SHAREDLIB=1 default_target
make[1]: Entering directory `/usr/local/h323plus'
make[1]: Leaving directory `/usr/local/h323plus'
make -C src optshared
make[1]: Entering directory `/usr/local/h323plus/src'
make DEBUG= P_SHAREDLIB=1 default_target
make[2]: Entering directory `/usr/local/h323plus/src'
[CC] h225_1.cxx
[CC] h225_2.cxx
[CC] h245_1.cxx
[CC] h245_2.cxx
[CC] h245_3.cxx
[CC] gccpdu.cxx
[CC] /usr/local/h323plus/src/h230/OID2.cxx
[CC] h235.cxx
[CC] h248.cxx
[CC] /usr/local/h323plus/src/h350/h350_service.cxx
[CC] x880.cxx
[CC] /usr/local/h323plus/src/h450/h4501.cxx
[CC] /usr/local/h323plus/src/h450/h4502.cxx
[CC] /usr/local/h323plus/src/h450/h4503.cxx
[CC] /usr/local/h323plus/src/h450/h4504.cxx
[CC] /usr/local/h323plus/src/h450/h4505.cxx
[CC] /usr/local/h323plus/src/h450/h4506.cxx
[CC] /usr/local/h323plus/src/h450/h4507.cxx
[CC] /usr/local/h323plus/src/h450/h4508.cxx
[CC] /usr/local/h323plus/src/h450/h4509.cxx
[CC] /usr/local/h323plus/src/h450/h45010.cxx
[CC] /usr/local/h323plus/src/h450/h45011.cxx
[CC] /usr/local/h323plus/src/h460/h4604.cxx
[CC] /usr/local/h323plus/src/h460/h4609.cxx
[CC] /usr/local/h323plus/src/h460/h46015.cxx
[CC] /usr/local/h323plus/src/h460/h46019.cxx
[CC] /usr/local/h323plus/src/h460/h46024b.cxx
[CC] /usr/local/h323plus/src/h460/h46026.cxx
[CC] /usr/local/h323plus/src/h460/h46026mgr.cxx
[CC] /usr/local/h323plus/src/h460/h4610.cxx
[CC] /usr/local/h323plus/src/h460/h460pres.cxx
[CC] h501.cxx
[CC] t38.cxx
[CC] h323.cxx
[CC] h323ep.cxx
[CC] h323neg.cxx
[CC] h323pdu.cxx
[CC] h323rtp.cxx
[CC] h323caps.cxx
[CC] q931.cxx
[CC] codecs.cxx
[CC] channels.cxx
[CC] transports.cxx
transports.cxx: In member function ‘H323Listener* H323TransportAddress::CreateListener(H323EndPoint&) const’:
transports.cxx:589: 警告:未使用的变量‘useTLS’
transports.cxx: In member function ‘H323Listener* H323TransportAddress::CreateCompatibleListener(H323EndPoint&) const’:
transports.cxx:616: 警告:未使用的变量‘useTLS’
[CC] rtp.cxx
[CC] gkclient.cxx
[CC] gkserver.cxx
[CC] mediafmt.cxx
[CC] guid.cxx
[CC] h225ras.cxx
[CC] h323trans.cxx
[CC] h235auth.cxx
[CC] h235pluginmgr.cxx
[CC] rfc2833.cxx
[CC] /usr/local/h323plus/src/h224/h224.cxx
[CC] /usr/local/h323plus/src/h224/h281.cxx
[CC] h323h224.cxx
[CC] q922.cxx
[CC] /usr/local/h323plus/src/h224/t140.cxx
[CC] /usr/local/h323plus/src/h224/h284.cxx
[CC] h323pluginmgr.cxx
[CC] opalwavfile.cxx
[CC] rtp2wav.cxx
[CC] /usr/local/h323plus/src/h230/h230.cxx
[CC] svcctrl.cxx
[CC] /usr/local/h323plus/src/h341/h341.cxx
[CC] /usr/local/h323plus/src/h350/h350.cxx
[CC] /usr/local/h323plus/src/h450/h450pdu.cxx
[CC] /usr/local/h323plus/src/h460/h4601.cxx
[CC] /usr/local/h323plus/src/h460/h460_std9.cxx
[CC] /usr/local/h323plus/src/h460/h460_std17.cxx
[CC] /usr/local/h323plus/src/h460/h46018.cxx
[CC] /usr/local/h323plus/src/h460/h460_std18.cxx
/usr/local/h323plus/src/h460/h460_std18.cxx:55:2: 警告:#warning ("H.460.18/.19 Enabled. See Tandberg Patent License. http://www.tandberg.com/collateral/tandberg-ITU-license.pdf")
[CC] /usr/local/h323plus/src/h460/h46018_h225.cxx
[CC] /usr/local/h323plus/src/h460/h460_std22.cxx
[CC] /usr/local/h323plus/src/h460/h460_std23.cxx
/usr/local/h323plus/src/h460/h460_std23.cxx:59:2: 警告:#warning ("H.460.23/.24 Enabled. Contact [email protected] for licensing terms.")
[CC] /usr/local/h323plus/src/h460/h460_std25.cxx
[CC] /usr/local/h323plus/src/h460/h460_std25_pidf_lo.cxx
[CC] /usr/local/h323plus/src/h460/h460_std26.cxx
[CC] /usr/local/h323plus/src/h460/h460_oid3.cxx
[CC] /usr/local/h323plus/src/h460/h460_oid6.cxx
[CC] /usr/local/h323plus/src/h460/h460_oid9.cxx
[CC] /usr/local/h323plus/src/h460/h461_base.cxx
[CC] /usr/local/h323plus/src/h460/h460p.cxx
[CC] peclient.cxx
[CC] h323annexg.cxx
[CC] h501pdu.cxx
[CC] gnugknat.cxx
[CC] h323filetransfer.cxx
[CC] h323t38.cxx
[CC] t38proto.cxx
[CC] jitter.cxx
[AR] /usr/local/h323plus/lib/libh323_linux_x86_64__s.a
[LD] /usr/local/h323plus/lib/libh323_linux_x86_64_.so.1.26.5
make[2]: Leaving directory `/usr/local/h323plus/src'
make[1]: Leaving directory `/usr/local/h323plus/src'
10.安装该软件包
[root@gk h323plus]# make install
11.解压gnugk软件包
[root@gk local]# tar -zxvf gnugk-3.6.tar.gz
gnugk-3.6/
gnugk-3.6/capctrl.cxx
gnugk-3.6/gk.h
gnugk-3.6/clirw.h
gnugk-3.6/gk_const.h
gnugk-3.6/Toolkit.cxx
gnugk-3.6/GkClient.cxx
gnugk-3.6/Makefile.in
gnugk-3.6/gk_2010.sln
gnugk-3.6/gk_2010.vcxproj
gnugk-3.6/rwlock.h
gnugk-3.6/Routing.h
gnugk-3.6/Neighbor.h
gnugk-3.6/singleton.h
gnugk-3.6/cmake/
gnugk-3.6/cmake/FindPTLIB.cmake
gnugk-3.6/cmake/FindODBC.cmake
gnugk-3.6/cmake/FindSQLITE.cmake
gnugk-3.6/cmake/FindH323PLUS.cmake
gnugk-3.6/cmake/FindPOSTGRESQL.cmake
gnugk-3.6/cmake/FindMYSQL.cmake
gnugk-3.6/cmake/FindFIREBIRD.cmake
gnugk-3.6/addpasswd_2010.vcxproj
gnugk-3.6/gksql_pgsql.cxx
gnugk-3.6/gk_2008.vcproj
gnugk-3.6/rasinfo.h
gnugk-3.6/clirw.cxx
gnugk-3.6/h323util.cxx
gnugk-3.6/Toolkit.t.cxx
gnugk-3.6/GkClient.h
gnugk-3.6/ProxyChannel.h
gnugk-3.6/gk.cbp
gnugk-3.6/gnugk-manual-3.6.html
gnugk-3.6/cisco.cxx
gnugk-3.6/h323util.t.cxx
gnugk-3.6/gksql_sqlite.cxx
gnugk-3.6/yasocket.h
gnugk-3.6/gksql_odbc.cxx
gnugk-3.6/ipauth.cxx
gnugk-3.6/syslogacct.cxx
gnugk-3.6/radproto.h
gnugk-3.6/ldap.cxx
gnugk-3.6/snmp.h
gnugk-3.6/RasPDU.h
gnugk-3.6/readme.txt
gnugk-3.6/GkStatus.h
gnugk-3.6/gnugk.rc
gnugk-3.6/Routing.cxx
gnugk-3.6/radacct.cxx
gnugk-3.6/sigmsg.h
gnugk-3.6/cisco.asn
gnugk-3.6/gksql.h
gnugk-3.6/gkconfig.cxx
gnugk-3.6/forwarding.cxx
gnugk-3.6/Ra***v.cxx
gnugk-3.6/h323util.h
gnugk-3.6/addpasswd_2008.vcproj
gnugk-3.6/stl_supp.h
gnugk-3.6/gk.rc
gnugk-3.6/Neighbor.cxx
gnugk-3.6/H46023_license.txt
gnugk-3.6/h460presence.h
gnugk-3.6/radauth.cxx
gnugk-3.6/gkacct.cxx
gnugk-3.6/gksql.cxx
gnugk-3.6/resource.h
gnugk-3.6/SoftPBX.h
gnugk-3.6/gkauth.cxx
gnugk-3.6/statusacct.h
gnugk-3.6/copying
gnugk-3.6/sqlacct.h
gnugk-3.6/version.cxx
gnugk-3.6/radproto.cxx
gnugk-3.6/gnugk.mib
gnugk-3.6/radacct.h
gnugk-3.6/changes.txt
gnugk-3.6/lua.cxx
gnugk-3.6/statusacct.cxx
gnugk-3.6/gk.ico
gnugk-3.6/gnugkbuildopts.h.in
gnugk-3.6/gkauth.h
gnugk-3.6/versionts.h
gnugk-3.6/docs/
gnugk-3.6/docs/manual/
gnugk-3.6/docs/manual/routing.sgml
gnugk-3.6/docs/manual/introduction.sgml
gnugk-3.6/docs/manual/.cvsignore
gnugk-3.6/docs/manual/tutorial.sgml
gnugk-3.6/docs/manual/es/
gnugk-3.6/docs/manual/es/routing.sgml
gnugk-3.6/docs/manual/es/introduction.sgml
gnugk-3.6/docs/manual/es/tutorial.sgml
gnugk-3.6/docs/manual/es/ras.sgml
gnugk-3.6/docs/manual/es/routedmode.sgml
gnugk-3.6/docs/manual/es/misc.sgml
gnugk-3.6/docs/manual/es/endpointconfig.sgml
gnugk-3.6/docs/manual/es/acct.sgml
gnugk-3.6/docs/manual/es/reference.sgml
gnugk-3.6/docs/manual/es/manual-es.sgml
gnugk-3.6/docs/manual/es/auth.sgml
gnugk-3.6/docs/manual/es/monitoring.sgml
gnugk-3.6/docs/manual/es/mainconfig.sgml
gnugk-3.6/docs/manual/es/installation.sgml
gnugk-3.6/docs/manual/es/neighbors.sgml
gnugk-3.6/docs/manual/ras.sgml
gnugk-3.6/docs/manual/fr/
gnugk-3.6/docs/manual/fr/routing.sgml
gnugk-3.6/docs/manual/fr/introduction.sgml
gnugk-3.6/docs/manual/fr/tutorial.sgml
gnugk-3.6/docs/manual/fr/ras.sgml
gnugk-3.6/docs/manual/fr/manual-fr.sgml
gnugk-3.6/docs/manual/fr/routedmode.sgml
gnugk-3.6/docs/manual/fr/misc.sgml
gnugk-3.6/docs/manual/fr/endpointconfig.sgml
gnugk-3.6/docs/manual/fr/acct.sgml
gnugk-3.6/docs/manual/fr/advanced.sgml
gnugk-3.6/docs/manual/fr/_unicode.txt
gnugk-3.6/docs/manual/fr/reference.sgml
gnugk-3.6/docs/manual/fr/auth.sgml
gnugk-3.6/docs/manual/fr/monitoring.sgml
gnugk-3.6/docs/manual/fr/mainconfig.sgml
gnugk-3.6/docs/manual/fr/installation.sgml
gnugk-3.6/docs/manual/fr/neighbors.sgml
gnugk-3.6/docs/manual/routedmode.sgml
gnugk-3.6/docs/manual/misc.sgml
gnugk-3.6/docs/manual/endpointconfig.sgml
gnugk-3.6/docs/manual/Makefile
gnugk-3.6/docs/manual/acct.sgml
gnugk-3.6/docs/manual/advanced.sgml
gnugk-3.6/docs/manual/gnugkmapping
gnugk-3.6/docs/manual/reference.sgml
gnugk-3.6/docs/manual/auth.sgml
gnugk-3.6/docs/manual/monitoring.sgml
gnugk-3.6/docs/manual/mainconfig.sgml
gnugk-3.6/docs/manual/installation.sgml
gnugk-3.6/docs/manual/neighbors.sgml
gnugk-3.6/docs/manual/manual.sgml
gnugk-3.6/docs/keepalive.txt
gnugk-3.6/docs/addpasswd.1
gnugk-3.6/docs/performance.txt
gnugk-3.6/docs/copying
gnugk-3.6/docs/old/
gnugk-3.6/docs/old/performance.txt
gnugk-3.6/docs/old/signalling.txt
gnugk-3.6/docs/ptlib-2.10.1-pdns.patch
gnugk-3.6/docs/nattraversal.pdf
gnugk-3.6/docs/gnugk.1
gnugk-3.6/docs/identifiers.txt
gnugk-3.6/docs/trace_levels.txt
gnugk-3.6/docs/known_bugs.txt
gnugk-3.6/MakeCall.h
gnugk-3.6/RasTbl.h
gnugk-3.6/yasocket.cxx
gnugk-3.6/gkconfig.h
gnugk-3.6/gk_2005.vcproj
gnugk-3.6/etc/
gnugk-3.6/etc/fileacct.ini
gnugk-3.6/etc/qos.ini
gnugk-3.6/etc/vqueue.ini
gnugk-3.6/etc/neighbor.ini
gnugk-3.6/etc/odbc.ini
gnugk-3.6/etc/child.ini
gnugk-3.6/etc/ipauth.ini
gnugk-3.6/etc/radaliasauth.ini
gnugk-3.6/etc/radauth.ini
gnugk-3.6/etc/h350.ini
gnugk-3.6/etc/uri.ini
gnugk-3.6/etc/syslog.ini
gnugk-3.6/etc/rrqauth.ini
gnugk-3.6/etc/complete.ini
gnugk-3.6/etc/nat.ini
gnugk-3.6/etc/status.ini
gnugk-3.6/etc/enum.ini
gnugk-3.6/etc/H46023.ini
gnugk-3.6/etc/clirw.ini
gnugk-3.6/etc/radacct.ini
gnugk-3.6/etc/routed.ini
gnugk-3.6/etc/gnugk.ini
gnugk-3.6/etc/proxy.ini
gnugk-3.6/etc/sql.ini
gnugk-3.6/version.h
gnugk-3.6/config.h
gnugk-3.6/SoftPBX.cxx
gnugk-3.6/gk_2008.sln
gnugk-3.6/addpasswd/
gnugk-3.6/addpasswd/Makefile
gnugk-3.6/addpasswd/addpasswd.cxx
gnugk-3.6/MakeCall.cxx
gnugk-3.6/CMakeLists.txt
gnugk-3.6/sigmsg.cxx
gnugk-3.6/initd/
gnugk-3.6/initd/gk.initd.centos53
gnugk-3.6/initd/gk.initd.suse12
gnugk-3.6/initd/systemd.gnugk.service
gnugk-3.6/initd/gk.initd.novelloes103
gnugk-3.6/initd/README
gnugk-3.6/initd/gk.initd.freebsd53
gnugk-3.6/initd/gk.initd.debian6
gnugk-3.6/initd/gk.initd.suse10
gnugk-3.6/initd/gk.initd.sles11
gnugk-3.6/initd/gk.initd.suse
gnugk-3.6/initd/gk.initd.centos65
gnugk-3.6/initd/gk.initd.freebsd
gnugk-3.6/initd/gk.initd.redhat
gnugk-3.6/gk.vcproj
gnugk-3.6/contrib/
gnugk-3.6/contrib/statusport/
gnugk-3.6/contrib/statusport/unregister_ip.pl
gnugk-3.6/contrib/statusport/ssh_unregister_ip.pl
gnugk-3.6/contrib/statusport/billing.pl
gnugk-3.6/contrib/sqlbill/
gnugk-3.6/contrib/sqlbill/sql/
gnugk-3.6/contrib/sqlbill/sql/examples/
gnugk-3.6/contrib/sqlbill/sql/examples/c_reports.sql
gnugk-3.6/contrib/sqlbill/sql/examples/voiptariffdst.asc
gnugk-3.6/contrib/sqlbill/sql/examples/d_reports.sql
gnugk-3.6/contrib/sqlbill/sql/examples/pricing.csv
gnugk-3.6/contrib/sqlbill/sql/examples/voiptariff.asc
gnugk-3.6/contrib/sqlbill/sql/examples/f_voiptariffdst.sql
gnugk-3.6/contrib/sqlbill/sql/examples/q_totaldstcost.sql
gnugk-3.6/contrib/sqlbill/sql/examples/q_totaldststats.sql
gnugk-3.6/contrib/sqlbill/sql/examples/f_voiptariff.sql
gnugk-3.6/contrib/sqlbill/sql/examples/tariffs.sxc
gnugk-3.6/contrib/sqlbill/sql/examples/merged.csv
gnugk-3.6/contrib/sqlbill/sql/examples/destinations.csv
gnugk-3.6/contrib/sqlbill/sql/examples/f_pricing.sql
gnugk-3.6/contrib/sqlbill/sql/examples/q_monthcost.sql
gnugk-3.6/contrib/sqlbill/sql/examples/f_merged.sql
gnugk-3.6/contrib/sqlbill/sql/bin/
gnugk-3.6/contrib/sqlbill/sql/bin/dumpdata.sh
gnugk-3.6/contrib/sqlbill/sql/bin/restoredata.sh
gnugk-3.6/contrib/sqlbill/sql/README
gnugk-3.6/contrib/sqlbill/sql/qos/
gnugk-3.6/contrib/sqlbill/sql/qos/qos.ini
gnugk-3.6/contrib/sqlbill/sql/qos/c_voipqos.sql
gnugk-3.6/contrib/sqlbill/sql/INSTALL
gnugk-3.6/contrib/sqlbill/sql/src/
gnugk-3.6/contrib/sqlbill/sql/src/d_voipaccount.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_voipdb.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_all_functions.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_voiptariffgrp.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_voiptariff.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_all.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voipglobals.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voiptariffdst.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_radius_functions.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_all_tables.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_functions.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_voipuser.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_all.sql
gnugk-3.6/contrib/sqlbill/sql/src/upgrade_tables.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_voipglobals.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voipcall.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_voipcall_trig.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_radius_functions.sql
gnugk-3.6/contrib/sqlbill/sql/src/upgrade_functions.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voipdb.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voiptariff.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_all_functions.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voipcall_trig.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_voipcalltermtariff.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voipuser.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_voipglobals_trig.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voipaccount.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_all_tables.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voipglobals_trig.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voipcalltermtariff.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_functions.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_voiptariffdst.sql
gnugk-3.6/contrib/sqlbill/sql/src/c_voiptariffgrp.sql
gnugk-3.6/contrib/sqlbill/sql/src/d_voipcall.sql
gnugk-3.6/contrib/sqlbill/README
gnugk-3.6/contrib/sqlbill/conf/
gnugk-3.6/contrib/sqlbill/conf/freeradius/
gnugk-3.6/contrib/sqlbill/conf/freeradius/postgresql.conf
gnugk-3.6/contrib/sqlbill/conf/freeradius/radiusd.conf
gnugk-3.6/contrib/sqlbill/conf/freeradius/clients.conf
gnugk-3.6/contrib/sqlbill/conf/freeradius/INSTALL
gnugk-3.6/contrib/sqlbill/conf/gnugk/
gnugk-3.6/contrib/sqlbill/conf/gnugk/gnugk.ini
gnugk-3.6/contrib/sqlbill/COPYING
gnugk-3.6/contrib/sqlbill/ChangeLog
gnugk-3.6/contrib/logparser/
gnugk-3.6/contrib/logparser/logparser.java
gnugk-3.6/contrib/logparser/README
gnugk-3.6/contrib/logparser/logparser.zip
gnugk-3.6/contrib/dynamic-ip/
gnugk-3.6/contrib/dynamic-ip/restart-on-ip-change.sh
gnugk-3.6/contrib/bmv2/
gnugk-3.6/contrib/bmv2/home.php
gnugk-3.6/contrib/bmv2/periodlog.php
gnugk-3.6/contrib/bmv2/choosepfx.html
gnugk-3.6/contrib/bmv2/today.php
gnugk-3.6/contrib/bmv2/help.php
gnugk-3.6/contrib/bmv2/costs/
gnugk-3.6/contrib/bmv2/costs/home.php
gnugk-3.6/contrib/bmv2/costs/help.php
gnugk-3.6/contrib/bmv2/costs/index.html
gnugk-3.6/contrib/bmv2/costs/costs.php
gnugk-3.6/contrib/bmv2/costs/sidebar.php
gnugk-3.6/contrib/bmv2/costs/choose.html
gnugk-3.6/contrib/bmv2/README
gnugk-3.6/contrib/bmv2/rates/
gnugk-3.6/contrib/bmv2/rates/rates-pfx.php
gnugk-3.6/contrib/bmv2/rates/rates-sel.html
gnugk-3.6/contrib/bmv2/rates/index.html
gnugk-3.6/contrib/bmv2/rates/rates-pfx.html
gnugk-3.6/contrib/bmv2/rates/rates-car.php
gnugk-3.6/contrib/bmv2/rates/rates-dest.php
gnugk-3.6/contrib/bmv2/rates/rates-car.html
gnugk-3.6/contrib/bmv2/rates/rates-dest.html
gnugk-3.6/contrib/bmv2/rates/poprates.php
gnugk-3.6/contrib/bmv2/rates/sidebar.html
gnugk-3.6/contrib/bmv2/index.html
gnugk-3.6/contrib/bmv2/users/
gnugk-3.6/contrib/bmv2/users/home.php
gnugk-3.6/contrib/bmv2/users/originate.php
gnugk-3.6/contrib/bmv2/users/help.php
gnugk-3.6/contrib/bmv2/users/terminate.php
gnugk-3.6/contrib/bmv2/users/index.html
gnugk-3.6/contrib/bmv2/users/sidebar.php
gnugk-3.6/contrib/bmv2/newsidebar.html
gnugk-3.6/contrib/bmv2/summaryytd.php
gnugk-3.6/contrib/bmv2/local/
gnugk-3.6/contrib/bmv2/local/header.php
gnugk-3.6/contrib/bmv2/local/heading.html
gnugk-3.6/contrib/bmv2/local/top.php
gnugk-3.6/contrib/bmv2/local/version.php
gnugk-3.6/contrib/bmv2/local/sample/
gnugk-3.6/contrib/bmv2/local/sample/header.php
gnugk-3.6/contrib/bmv2/local/sample/heading.html
gnugk-3.6/contrib/bmv2/local/sample/top.php
gnugk-3.6/contrib/bmv2/local/sample/tail.php
gnugk-3.6/contrib/bmv2/local/sample/connect.php
gnugk-3.6/contrib/bmv2/local/tail.php
gnugk-3.6/contrib/bmv2/local/connect.php
gnugk-3.6/contrib/bmv2/calldetails/
gnugk-3.6/contrib/bmv2/calldetails/specific.php
gnugk-3.6/contrib/bmv2/calldetails/home.php
gnugk-3.6/contrib/bmv2/calldetails/help.php
gnugk-3.6/contrib/bmv2/calldetails/sidebar.php
gnugk-3.6/contrib/bmv2/calldetails/specific2.php
gnugk-3.6/contrib/bmv2/tariffs/
gnugk-3.6/contrib/bmv2/tariffs/rates-pfx.php
gnugk-3.6/contrib/bmv2/tariffs/home.php
gnugk-3.6/contrib/bmv2/tariffs/rates-sel.html
gnugk-3.6/contrib/bmv2/tariffs/help.php
gnugk-3.6/contrib/bmv2/tariffs/index.html
gnugk-3.6/contrib/bmv2/tariffs/rates-pfx.html
gnugk-3.6/contrib/bmv2/tariffs/rates-dest.php
gnugk-3.6/contrib/bmv2/tariffs/sidebar.php
gnugk-3.6/contrib/bmv2/tariffs/rates-dest.html
gnugk-3.6/contrib/bmv2/tariffs/tariff-grp.html
gnugk-3.6/contrib/bmv2/tariffs/tariff-grp.php
gnugk-3.6/contrib/bmv2/lastweek.php
gnugk-3.6/contrib/bmv2/misc/
gnugk-3.6/contrib/bmv2/misc/home.php
gnugk-3.6/contrib/bmv2/misc/help.php
gnugk-3.6/contrib/bmv2/misc/index.html
gnugk-3.6/contrib/bmv2/misc/dst.php
gnugk-3.6/contrib/bmv2/misc/sidebar.php
gnugk-3.6/contrib/bmv2/misc/grp.php
gnugk-3.6/contrib/bmv2/misc/sel.php
gnugk-3.6/contrib/bmv2/periodpfx.php
gnugk-3.6/contrib/bmv2/STRUCTURE
gnugk-3.6/contrib/bmv2/summarytdy.php
gnugk-3.6/contrib/bmv2/yesterday.php
gnugk-3.6/contrib/bmv2/thisweek.php
gnugk-3.6/contrib/bmv2/termlog.php
gnugk-3.6/contrib/bmv2/summary.php
gnugk-3.6/contrib/bmv2/chooselog.html
gnugk-3.6/contrib/bmv2/sidebar.html
gnugk-3.6/contrib/bmv2/INSTALL
gnugk-3.6/contrib/bmv2/qa/
gnugk-3.6/contrib/bmv2/qa/ytdsummary.php
gnugk-3.6/contrib/bmv2/qa/tdyasr.php
gnugk-3.6/contrib/bmv2/qa/ytdcost.php
gnugk-3.6/contrib/bmv2/qa/ytdq931.php
gnugk-3.6/contrib/bmv2/qa/help.php
gnugk-3.6/contrib/bmv2/qa/index.html
gnugk-3.6/contrib/bmv2/qa/tdylog.php
gnugk-3.6/contrib/bmv2/qa/tdysummary.php
gnugk-3.6/contrib/bmv2/qa/tdyq931.php
gnugk-3.6/contrib/bmv2/qa/tdybad.php
gnugk-3.6/contrib/bmv2/qa/sidebar.html~
gnugk-3.6/contrib/bmv2/qa/ytdlog.php
gnugk-3.6/contrib/bmv2/qa/ytdtraffic.php
gnugk-3.6/contrib/bmv2/qa/sidebar.html
gnugk-3.6/contrib/bmv2/qa/ytdasr.php
gnugk-3.6/contrib/bmv2/qa/ytdbad.php
gnugk-3.6/contrib/bmv2/accounts/
gnugk-3.6/contrib/bmv2/accounts/home.php
gnugk-3.6/contrib/bmv2/accounts/help.php
gnugk-3.6/contrib/bmv2/accounts/index.html
gnugk-3.6/contrib/bmv2/accounts/sidebar.php
gnugk-3.6/contrib/bmv2/lib/
gnugk-3.6/contrib/bmv2/lib/dropdown.php
gnugk-3.6/contrib/bmv2/lib/display-cdr.php
gnugk-3.6/contrib/bmv2/lib/table-ui.php
gnugk-3.6/contrib/bmv2/gateways.php
gnugk-3.6/contrib/wrapper/
gnugk-3.6/contrib/wrapper/wrapper.txt
gnugk-3.6/contrib/wrapper/gnugk_wrapper.pl
gnugk-3.6/job.cxx
gnugk-3.6/gk_2005.sln
gnugk-3.6/ProxyChannel.cxx
gnugk-3.6/ipauth.h
gnugk-3.6/configure.in
gnugk-3.6/gksql_firebird.cxx
gnugk-3.6/sqlacct.cxx
gnugk-3.6/job.h
gnugk-3.6/singleton.cxx
gnugk-3.6/radauth.h
gnugk-3.6/Ra***v.h
gnugk-3.6/configure.exe
gnugk-3.6/configure
gnugk-3.6/gk.sln
gnugk-3.6/ptlib.supp
gnugk-3.6/gk.cxx
gnugk-3.6/Toolkit.h
gnugk-3.6/GkStatus.cxx
gnugk-3.6/capctrl.h
gnugk-3.6/pwlib_compat.h
gnugk-3.6/gksql_mysql.cxx
gnugk-3.6/precompile.cxx
gnugk-3.6/factory.h
gnugk-3.6/name.h
gnugk-3.6/gktimer.cxx
gnugk-3.6/cisco.h
gnugk-3.6/gnugk.ico
gnugk-3.6/RasTbl.cxx
gnugk-3.6/snmp.cxx
gnugk-3.6/gkacct.h
gnugk-3.6/gktimer.h
gnugk-3.6/testrunner.cxx
gnugk-3.6/syslogacct.h
gnugk-3.6/h460presence.cxx
gnugk-3.6/sqlauth.cxx
12.查看gnugk的配置文件
[root@gk gnugk-3.6]# cd ..
[root@gk local]# cd gnugk-3.6/etc/
[root@gk etc]# ls
child.ini gnugk.ini neighbor.ini radaliasauth.ini status.ini
clirw.ini h350.ini odbc.ini radauth.ini syslog.ini
complete.ini H46023.ini proxy.ini routed.ini uri.ini
enum.ini ipauth.ini qos.ini rrqauth.ini vqueue.ini
fileacct.ini nat.ini radacct.ini sql.ini
13.编辑gnugk的配置文件
[root@gk etc]# vim gnugk.ini
; restrict access to the status port by an IP address
[GkStatus::Auth]
rule=explicit
; add more entries, if you access the status port from other hosts
127.0.0.1=allow
default=allow
Shutdown=allow
14.对软件包进行配置
[root@gk gnugk-3.6]# ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking if MSG_NOSIGNAL is supported by recv() call... 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
no
checking for /usr/local/ptlib-2.10.9/make/unix.mak... yes
checking for ptlib-config... /usr/local/ptlib-2.10.9/make/ptlib-config
PTLib prefix set to /usr/local/ptlib-2.10.9
PTLib version is 2.10.9
checking for /usr/local/h323plus/openh323u.mak... yes
OpenH323/H323Plus prefix set to /usr/local/h323plus
checking for /usr/local/h323plus/version.h... yes
OpenH323 version is 1.26.5
H.460.17 support enabled
H.460.18 / H.460.19 support disabled
H.460.23 / H.460.24 support enabled
RADIUS support enabled
LARGE FDSET support disabled
checking for compress in -lz... yes
checking for mysql.h... yes
MySQL support enabled
checking for libpq-fe.h... yes
PostgreSQL support enabled
checking for ibase.h... yes
Firebird support enabled
checking for sqlext.h... yes
unixODBC support enabled
checking for sqlite3.h... yes
SQLite support enabled
checking for libssh/server.h... yes
checking for ssh_handle_key_exchange()/ssh_blocking_flush() in libssh... yes
libssh support enabled
checking for net-snmp/net-snmp-config.h... yes
checking for Net-SNMP library... yes
Net-SNMP support enabled
PTLib SNMP support enabled
checking for lua.h... yes
checking for LUA library... yes
LUA support enabled
Weak TLS disabled
GNU Gatekeeper version is 3.6.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gnugkbuildopts.h
[root@gk gnugk-3.6]# ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking if MSG_NOSIGNAL is supported by recv() call... 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
no
checking for /usr/local/ptlib-2.10.9/make/unix.mak... yes
checking for ptlib-config... /usr/local/ptlib-2.10.9/make/ptlib-config
PTLib prefix set to /usr/local/ptlib-2.10.9
PTLib version is 2.10.9
checking for /usr/local/h323plus/openh323u.mak... yes
OpenH323/H323Plus prefix set to /usr/local/h323plus
checking for /usr/local/h323plus/version.h... yes
OpenH323 version is 1.26.5
H.460.17 support enabled
H.460.18 / H.460.19 support disabled
H.460.23 / H.460.24 support enabled
RADIUS support enabled
LARGE FDSET support disabled
checking for compress in -lz... yes
checking for mysql.h... yes
MySQL support enabled
checking for libpq-fe.h... yes
PostgreSQL support enabled
checking for ibase.h... yes
Firebird support enabled
checking for sqlext.h... yes
unixODBC support enabled
checking for sqlite3.h... yes
SQLite support enabled
checking for libssh/server.h... yes
checking for ssh_handle_key_exchange()/ssh_blocking_flush() in libssh... yes
libssh support enabled
checking for net-snmp/net-snmp-config.h... yes
checking for Net-SNMP library... yes
Net-SNMP support enabled
PTLib SNMP support enabled
checking for lua.h... yes
checking for LUA library... yes
LUA support enabled
Weak TLS disabled
GNU Gatekeeper version is 3.6.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gnugkbuildopts.h
config.status: gnugkbuildopts.h is unchanged
15.编译该软件包
[root@gk gnugk-3.6]# make
make DEBUG= default_depend
make[1]: Entering directory `/usr/local/gnugk-3.6'
[DEP] singleton.cxx
[DEP] job.cxx
[DEP] yasocket.cxx
[DEP] h323util.cxx
[DEP] Toolkit.cxx
[DEP] SoftPBX.cxx
[DEP] GkStatus.cxx
[DEP] RasTbl.cxx
[DEP] Routing.cxx
[DEP] Neighbor.cxx
[DEP] GkClient.cxx
[DEP] gkauth.cxx
[DEP] Ra***v.cxx
[DEP] ProxyChannel.cxx
[DEP] gk.cxx
[DEP] version.cxx
[DEP] gkacct.cxx
[DEP] gktimer.cxx
[DEP] gkconfig.cxx
[DEP] sigmsg.cxx
[DEP] clirw.cxx
[DEP] cisco.cxx
[DEP] ipauth.cxx
[DEP] statusacct.cxx
[DEP] syslogacct.cxx
[DEP] capctrl.cxx
[DEP] MakeCall.cxx
[DEP] h460presence.cxx
[DEP] forwarding.cxx
[DEP] snmp.cxx
[DEP] lua.cxx
[DEP] ldap.cxx
[DEP] radproto.cxx
[DEP] radauth.cxx
[DEP] radacct.cxx
[DEP] gksql_mysql.cxx
[DEP] gksql_pgsql.cxx
[DEP] gksql_firebird.cxx
[DEP] gksql_odbc.cxx
[DEP] gksql_sqlite.cxx
[DEP] sqlauth.cxx
[DEP] sqlacct.cxx
[DEP] gksql.cxx
Created dependencies.
make[1]: Leaving directory `/usr/local/gnugk-3.6'
make DEBUG=1 default_depend
make[1]: Entering directory `/usr/local/gnugk-3.6'
[DEP] singleton.cxx
[DEP] job.cxx
[DEP] yasocket.cxx
[DEP] h323util.cxx
[DEP] Toolkit.cxx
[DEP] SoftPBX.cxx
[DEP] GkStatus.cxx
[DEP] RasTbl.cxx
[DEP] Routing.cxx
[DEP] Neighbor.cxx
[DEP] GkClient.cxx
[DEP] gkauth.cxx
[DEP] Ra***v.cxx
[DEP] ProxyChannel.cxx
[DEP] gk.cxx
[DEP] version.cxx
[DEP] gkacct.cxx
[DEP] gktimer.cxx
[DEP] gkconfig.cxx
[DEP] sigmsg.cxx
[DEP] clirw.cxx
[DEP] cisco.cxx
[DEP] ipauth.cxx
[DEP] statusacct.cxx
[DEP] syslogacct.cxx
[DEP] capctrl.cxx
[DEP] MakeCall.cxx
[DEP] h460presence.cxx
[DEP] forwarding.cxx
[DEP] snmp.cxx
[DEP] lua.cxx
[DEP] ldap.cxx
[DEP] radproto.cxx
[DEP] radauth.cxx
[DEP] radacct.cxx
[DEP] gksql_mysql.cxx
[DEP] gksql_pgsql.cxx
[DEP] gksql_firebird.cxx
[DEP] gksql_odbc.cxx
[DEP] gksql_sqlite.cxx
[DEP] sqlauth.cxx
[DEP] sqlacct.cxx
[DEP] gksql.cxx
Created dependencies.
make[1]: Leaving directory `/usr/local/gnugk-3.6'
make DEBUG= P_SHAREDLIB=0 default_target
make[1]: Entering directory `/usr/local/gnugk-3.6'
[CC] singleton.cxx
[CC] job.cxx
[CC] yasocket.cxx
[CC] h323util.cxx
[CC] Toolkit.cxx
[CC] SoftPBX.cxx
[CC] GkStatus.cxx
[CC] RasTbl.cxx
[CC] Routing.cxx
[CC] Neighbor.cxx
[CC] GkClient.cxx
[CC] gkauth.cxx
[CC] Ra***v.cxx
[CC] ProxyChannel.cxx
[CC] gk.cxx
[CC] version.cxx
[CC] gkacct.cxx
[CC] gktimer.cxx
[CC] gkconfig.cxx
[CC] sigmsg.cxx
[CC] clirw.cxx
[CC] cisco.cxx
[CC] ipauth.cxx
[CC] statusacct.cxx
[CC] syslogacct.cxx
[CC] capctrl.cxx
[CC] MakeCall.cxx
[CC] h460presence.cxx
[CC] forwarding.cxx
[CC] snmp.cxx
[CC] lua.cxx
[CC] ldap.cxx
[CC] radproto.cxx
[CC] radauth.cxx
[CC] radacct.cxx
[CC] gksql_mysql.cxx
[CC] gksql_pgsql.cxx
[CC] gksql_firebird.cxx
[CC] gksql_odbc.cxx
[CC] gksql_sqlite.cxx
[CC] sqlauth.cxx
[CC] sqlacct.cxx
[CC] gksql.cxx
[LD] obj_linux_x86_64_s/gnugk
make[1]: Leaving directory `/usr/local/gnugk-3.6'
16.安装该软件包
17.编辑GnuGK配置文件
18.启动GnuGK
19.查看GnuGK是否启动
20.进行telnet测试