[Freeswitch-users] latest git pull has error, can't install

Michael Collins msc at freeswitch.org
Tue Oct 5 10:30:58 PDT 2010


Mario,

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.

<563>:cat rebuild_freeswitch.sh
#!/bin/sh
freeswitch -stop
make current
cd libs/esl
make
make perlmod
cd ../..
sleep 10
freeswitch -nc -nonat

(I always rebuild ESL and perlmod cuz I tend to tinker with that. Also, I
have symlinks to fs_cli and freeswitch bin files.)
-MC

On Tue, Oct 5, 2010 at 10:15 AM, Mario <mario_fs at mgtech.com> wrote:

> In case someone else runs across this I got it to work by:
> ./bootstrap.sh
> ./configure
> make current
>
> Still would like to know what could have caused this so I can avoid it.
>
> On 10/05/10 09:15, Mario wrote:
> > I tried executing the 2 lines below but still get the same error. I
> > quess a full install is in order? I am puzzled why git pull && make
> > current only worked one time.
> > automake-1.11 --foreign
> > automake --add-missing
> >
> >
> > On 10/05/10 08:26, Mario wrote:
> >> While working on a loop in FS I did a git pull and make current. I had
> >> done this before with no problem but today I got the error below. Any
> >> ideas? Thanks. Mario
> >>
> >>
> >> cd libs/sofia-sip && make clean
> >> make[1]: Entering directory `/usr/local/src/freeswitch/libs/sofia-sip'
> >>  cd . && /bin/sh /usr/local/src/freeswitch/libs/sofia-sip/missing --run
> >> automake-1.11 --foreign
> >> configure.ac:47: warning: AC_CACHE_VAL(ac_cc_environment, ...):
> >> suspicious cache-id, must contain _cv_ to be cached
> >> ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
> >> ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
> >> m4/sac-general.m4:351: AC_CHECK_COMPILATION_ENVIRONMENT is expanded
> from...
> >> configure.ac:47: the top level
> >> configure.ac:49: warning: AC_PROG_CPP was called before SAC_TOOL_CC
> >> m4/sac-general.m4:90: SAC_TOOL_CC is expanded from...
> >> configure.ac:49: the top level
> >> configure.ac:56: required file `./compile' not found
> >> configure.ac:56:   `automake --add-missing' can install `compile'
> >> make[1]: *** [Makefile.in] Error 1
> >> make[1]: Leaving directory `/usr/local/src/freeswitch/libs/sofia-sip'
> >> make: *** [update-clean] Error 2
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101005/b71b23d1/attachment.html 


More information about the FreeSWITCH-users mailing list