[asterisk-r2] Problem using patch for 1.4.18

Moises Silva moises.silva at gmail.com
Thu Jan 15 10:14:06 CST 2009


No worries, I just forget to remove that.

On Wed, Jan 14, 2009 at 4:27 PM, Carlos Chavez <cursor at telecomabmex.com> wrote:
>        Ok.  It now works.  I only get this warning when compiling:
>
> chan_zap.c: In function 'zt_r2_on_hardware_alarm':
> chan_zap.c:974: warning: unused variable 'res'
>
>        Any concerns about that?
>
> On Wed, 2009-01-14 at 12:42 -0500, Moises Silva wrote:
>> I installed from source, and now that you mention it, I think I had
>> the same problem you have and that's why I installed 2.60.
>>
>> This is a direct link: http://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.bz2
>>
>> And this is the official web page: http://www.gnu.org/software/autoconf/
>>
>>
>> On Wed, Jan 14, 2009 at 12:38 PM, Carlos Chavez <cursor at telecomabmex.com> wrote:
>> >        Ok.  Where did you get autoconf 2.60 for fedora 10?  The version that
>> > installs by default is 2.63 which is the one I used.
>> >
>> > On Wed, 2009-01-14 at 12:34 -0500, Moises Silva wrote:
>> >> I did not quite understand what you mean about the fedora versions.
>> >>
>> >> I have Fedora 10 installed on my laptop and installed autoconf-2.60
>> >> and the ./bootstrap.sh script runs without problems. This definitely
>> >> is a problem with the versions of autotools.
>> >>
>> >> Where did you run the ./bootstrap.sh script and under which autoconf version?
>> >>
>> >> On Wed, Jan 14, 2009 at 12:26 PM, Carlos Chavez <cursor at telecomabmex.com> wrote:
>> >> >        Yes, this is what I get when I run bootstrap.sh in the asterisk
>> >> > directory after applying the patch:
>> >> > [root at cursor asterisk-1.4.18]# ./bootstrap.sh
>> >> > Generating the configure script ...
>> >> > configure.ac:21: warning: AC_COMPILE_IFELSE was called before
>> >> > AC_USE_SYSTEM_EXTENSIONS
>> >> > ../../lib/autoconf/specific.m4:386: AC_USE_SYSTEM_EXTENSIONS is expanded
>> >> > from...
>> >> > configure.ac:21: the top level
>> >> > configure.ac:21: warning: AC_RUN_IFELSE was called before
>> >> > AC_USE_SYSTEM_EXTENSIONS
>> >> > configure.ac:124: warning: AC_CACHE_VAL(GNU_MAKE, ...): suspicious
>> >> > cache-id, must contain _cv_ to be cached
>> >> > ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
>> >> > ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
>> >> > acinclude.m4:101: AST_CHECK_GNU_MAKE is expanded from...
>> >> > configure.ac:124: the top level
>> >> > configure:6379: error: possibly undefined macro:
>> >> > _AC_PATH_PROG_FEATURE_CHECK
>> >> >      If this token and others are legitimate, please use
>> >> > m4_pattern_allow.
>> >> >      See the Autoconf documentation.
>> >> > configure:6380: error: possibly undefined macro:
>> >> > _AC_FEATURE_CHECK_LENGTH
>> >> > configure.ac:21: warning: AC_COMPILE_IFELSE was called before
>> >> > AC_USE_SYSTEM_EXTENSIONS
>> >> > ../../lib/autoconf/specific.m4:386: AC_USE_SYSTEM_EXTENSIONS is expanded
>> >> > from...
>> >> > configure.ac:21: the top level
>> >> > configure.ac:21: warning: AC_RUN_IFELSE was called before
>> >> > AC_USE_SYSTEM_EXTENSIONS
>> >> > configure.ac:124: warning: AC_CACHE_VAL(GNU_MAKE, ...): suspicious
>> >> > cache-id, must contain _cv_ to be cached
>> >> > ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
>> >> > ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
>> >> > acinclude.m4:101: AST_CHECK_GNU_MAKE is expanded from...
>> >> > configure.ac:124: the top level
>> >> >
>> >> >
>> >> >
>> >> > On Wed, 2009-01-14 at 12:24 -0500, Moises Silva wrote:
>> >> >> did you run the ./bootstrap.sh script after applying the patch?
>> >> >>
>> >> >> On Wed, Jan 14, 2009 at 12:22 PM, Carlos Chavez <cursor at telecomabmex.com> wrote:
>> >> >> >        I am trying to use the patch for Asterisk 1.4.18, it applies with now
>> >> >> > errors or warnings.  I do get several warnings when running bootstrap.sh
>> >> >> > but no errors.  When running ./configure I get the following error:
>> >> >> >
>> >> >> > checking for a sed that does not truncate output... ./configure: line
>> >> >> > 6379: syntax error near unexpected token `SED,'
>> >> >> > ./configure: line 6379: `     _AC_PATH_PROG_FEATURE_CHECK(SED, sed
>> >> >> > gsed,'
>> >> >> >
>> >> >> >        I do not know if this has something to do that I applied the patch on a
>> >> >> > Fedora 10 system because I do not have autoconf 2.60 on the machine I am
>> >> >> > trying to compile asterisk (Fedora Core 5).
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Telecomunicaciones Abiertas de México S.A. de C.V.
>> >> >> > Carlos Chávez Prats
>> >> >> > Director de Tecnología
>> >> >> > +52-55-91169161 ext 2001
>> >> >> >
>> >> >> > _______________________________________________
>> >> >> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
>> >> >> >
>> >> >> > asterisk-r2 mailing list
>> >> >> > To UNSUBSCRIBE or update options visit:
>> >> >> >   http://lists.digium.com/mailman/listinfo/asterisk-r2
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> > --
>> >> > Telecomunicaciones Abiertas de México S.A. de C.V.
>> >> > Carlos Chávez Prats
>> >> > Director de Tecnología
>> >> > +52-55-91169161 ext 2001
>> >> >
>> >> > _______________________________________________
>> >> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
>> >> >
>> >> > asterisk-r2 mailing list
>> >> > To UNSUBSCRIBE or update options visit:
>> >> >   http://lists.digium.com/mailman/listinfo/asterisk-r2
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> "I do not agree with what you have to say, but I'll defend to the
>> >> death your right to say it." Voltaire
>> >>
>> >> _______________________________________________
>> >> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>> >>
>> >> asterisk-r2 mailing list
>> >> To UNSUBSCRIBE or update options visit:
>> >>    http://lists.digium.com/mailman/listinfo/asterisk-r2
>> > --
>> > Telecomunicaciones Abiertas de México S.A. de C.V.
>> > Carlos Chávez Prats
>> > Director de Tecnología
>> > +52-55-91169161 ext 2001
>> >
>> > _______________________________________________
>> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
>> >
>> > asterisk-r2 mailing list
>> > To UNSUBSCRIBE or update options visit:
>> >   http://lists.digium.com/mailman/listinfo/asterisk-r2
>> >
>>
>>
>>
> --
> Telecomunicaciones Abiertas de México S.A. de C.V.
> Carlos Chávez Prats
> Director de Tecnología
> +52-55-91169161 ext 2001
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>



-- 
"I do not agree with what you have to say, but I'll defend to the
death your right to say it." Voltaire



More information about the asterisk-r2 mailing list