Mario,<br><br>Let the build system work for you. Usually just "make current" is all you need. Occasionally you need the bootstrap and ./configure thing, but that's only when the boys make some deeper changes. Here's a script that I run every single day on 3 different CentOS machines (2 32-bit, 1 64-bit) and it never fails me - except in those few instances that I need the bootstrap/configure thing. <br>
<br><span style="font-family: courier new,monospace;"><563>:cat rebuild_freeswitch.sh</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">#!/bin/sh</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">freeswitch -stop</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make current</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">cd libs/esl</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make perlmod</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cd ../..</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">sleep 10</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">freeswitch -nc -nonat</span><br style="font-family: courier new,monospace;">
<br>(I always rebuild ESL and perlmod cuz I tend to tinker with that. Also, I have symlinks to fs_cli and freeswitch bin files.)<br>-MC<br><br><div class="gmail_quote">On Tue, Oct 5, 2010 at 10:15 AM, Mario <span dir="ltr"><<a href="mailto:mario_fs@mgtech.com">mario_fs@mgtech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">In case someone else runs across this I got it to work by:<br>
./bootstrap.sh<br>
./configure<br>
make current<br>
<br>
Still would like to know what could have caused this so I can avoid it.<br>
<div><div></div><div class="h5"><br>
On 10/05/10 09:15, Mario wrote:<br>
> I tried executing the 2 lines below but still get the same error. I<br>
> quess a full install is in order? I am puzzled why git pull && make<br>
> current only worked one time.<br>
> automake-1.11 --foreign<br>
> automake --add-missing<br>
><br>
><br>
> On 10/05/10 08:26, Mario wrote:<br>
>> While working on a loop in FS I did a git pull and make current. I had<br>
>> done this before with no problem but today I got the error below. Any<br>
>> ideas? Thanks. Mario<br>
>><br>
>><br>
>> cd libs/sofia-sip && make clean<br>
>> make[1]: Entering directory `/usr/local/src/freeswitch/libs/sofia-sip'<br>
>> cd . && /bin/sh /usr/local/src/freeswitch/libs/sofia-sip/missing --run<br>
>> automake-1.11 --foreign<br>
>> <a href="http://configure.ac:47" target="_blank">configure.ac:47</a>: warning: AC_CACHE_VAL(ac_cc_environment, ...):<br>
>> suspicious cache-id, must contain _cv_ to be cached<br>
>> ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...<br>
>> ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...<br>
>> m4/sac-general.m4:351: AC_CHECK_COMPILATION_ENVIRONMENT is expanded from...<br>
>> <a href="http://configure.ac:47" target="_blank">configure.ac:47</a>: the top level<br>
>> <a href="http://configure.ac:49" target="_blank">configure.ac:49</a>: warning: AC_PROG_CPP was called before SAC_TOOL_CC<br>
>> m4/sac-general.m4:90: SAC_TOOL_CC is expanded from...<br>
>> <a href="http://configure.ac:49" target="_blank">configure.ac:49</a>: the top level<br>
>> <a href="http://configure.ac:56" target="_blank">configure.ac:56</a>: required file `./compile' not found<br>
>> <a href="http://configure.ac:56" target="_blank">configure.ac:56</a>: `automake --add-missing' can install `compile'<br>
>> make[1]: *** [Makefile.in] Error 1<br>
>> make[1]: Leaving directory `/usr/local/src/freeswitch/libs/sofia-sip'<br>
>> make: *** [update-clean] Error 2<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>