Patches to make this work would be gladly accepted. Mike
On Nov 13, 2009, at 7:56 PM, Brian West wrote: > Don't use --srcdir we don't fully support that and the howto guides do not > mention it AT ALL. So doing things that are not in the howto aren't really > tested nor supported. > > /b > > On Nov 13, 2009, at 11:26 AM, Robert Hadley wrote: > >> 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: >> Building as root >> Unzip freeswitch-1.0.4-tar.gz in /opt >> cd into /opt/freeswitch-1.0.4 >> mkdir Debug >> cd Debug >> ../configure –srcdir=”..” CFLAGS=”-g –ggdb –O2” >> 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. >>
_______________________________________________ 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