[Freeswitch-users] Freeswitch configure error using --srcdir option

Michael Jerris mike at jerris.com
Fri Nov 13 18:12:36 PST 2009


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
>> [root at roberth-c53 Debug]#
>>  
>> The file that’s executing is this:
>> [root at 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.
>>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091113/a3e11532/attachment-0002.html 


More information about the FreeSWITCH-users mailing list