Re: [Ekiga-devel-list] error: make/ptlib.mak: No such file or directory



Rohit Negi wrote:
> Hi All ,
>            I have downloaded ptlib 2.6.5 , opal 3.6.6 ,ekiga 3.2.6 (stable
> version) and tryied to compile the ptlib 2.6.5 using the below command but
> it show
> Makefile:44: make/ptlib.mak: No such file or directory
> make: *** No rule to make target `make/ptlib.mak'.  Stop.
> 
> what can be the problem?
> 
> [root nsg-corporate-150 ~]#  rohit/ekiga2/ptlib-2.6.5/configure
> --prefix=/usr --enable-plugins --disable-oss --enable-v412 && make && make
> install
> 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
> cat: /root/version.h: No such file or directory
> cat: /root/version.h: No such file or directory
> cat: /root/version.h: No such file or directory
> cat: /root/version.h: No such file or directory
> configure: PTLib version is ..
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for swab... yes
> configure: OSTYPE set to linux
> configure: OSRELEASE set to "2.6.18-164.15.1.el5"
> configure: MACHTYPE set to x86
> 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 linker 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 for int... 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 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 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/lib/ptlib-..
> 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
> checking for mlib_VideoColorJFIFYCC2RGB420_Nearest in -lmlib... no
> 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 expat.h usability... yes
> checking expat.h presence... yes
> checking for expat.h... yes
> checking for XML_ParserCreate in -lexpat... yes
> 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... yes
> checking enable VXML support... yes
> checking enable XMLRPC support... yes
> checking enable SOAP support... yes
> 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 WAVFILE 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 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/plugins)
> configure: running /bin/sh ../rohit/ekiga2/ptlib-2.6.5/plugins/configure
> '--prefix=/usr'  '--enable-plugins' '--disable-oss' '--enable-v412'
> --cache-file=/dev/null --srcdir=../rohit/ekiga2/ptlib-2.6.5/plugins
> 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... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-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 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
> Makefile:44: make/ptlib.mak: No such file or directory
> make: *** No rule to make target `make/ptlib.mak'.  Stop.

Well, ptlib has a few glitches with its build system...  You need to
execute configure from its directory:
cd ohit/ekiga2/ptlib-2.6.5 ; ./configure

-- 
Eugen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]