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: 1. Building as root 2. Unzip freeswitch-1.0.4-tar.gz in /opt 3. cd into /opt/freeswitch-1.0.4 4. mkdir Debug 5. cd Debug 6. ../configure -srcdir=".." CFLAGS="-g -ggdb -O2" 7. After several seconds of configuring I get: === 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 [r...@roberth-c53 Debug]# The file that's executing is this: [r...@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, Robert
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org