Hello All
On CentOS 5.3, I am trying to build Freeswitch in a
different directory and use the –srcdir= option. One reason I want
to do this to have Debug and Release build targets from the same source.
It doesn’t work, the configure errors when it gets to
the first library subdirectory lib/srtp and tries to configure in there.
The steps I am doing are:
=== configuring in libs/srtp (/opt/freeswitch-1.0.4/Debug/libs/srtp)
configure: running /bin/sh
../../../libs/srtp/configure.gnu --disable-option-checking
'--prefix=/usr/local/freeswitch' 'CFLAGS=-g -ggdb -O2'
--cache-file=/dev/null --srcdir=../../../libs/srtp
../../../libs/srtp/configure.gnu: line 2:
./configure: No such file or directory
configure: error: ../../../libs/srtp/configure.gnu
failed for libs/srtp
[root@roberth-c53 Debug]#
The file that’s executing is this:
[root@roberth-c53 srtp]# cd libs/srtp; cat
../../../libs/srtp/configure.gnu
#! /bin/sh
./configure "$@" --disable-shared
--with-pic
Please tell me if I understood the –srcdir option
correctly and if there is a way to do build in a different directory.
Thanks,