[Asterisk-Users] Errors with new fetched Asterisk cvs

Tzafrir Cohen tzafrir at cohens.org.il
Mon Oct 10 22:44:54 MST 2005


On Tue, Oct 11, 2005 at 08:50:56AM +0800, Ronald Wiplinger wrote:
> Below is my try of installation to the latest CVS. I have not updated 3 
> months. What do I miss since last time?
> 
> bye
> 
> Ronald
> 
> 
> /usr/local/src/asterisk # make clean; make update; make install
> build_tools/make_version_h > include/asterisk/version.h.tmp
> if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ; 
> then echo; else \
>        mv include/asterisk/version.h.tmp include/asterisk/version.h ; \
> fi
> rm -f include/asterisk/version.h.tmp
> build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
> -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT 
> -D_GNU_SOURCE  -O6 -march=k8 -DZAPTEL_OPTIMIZATIONS         -m64 
> -fomit-frame-pointer  acl.c aescrypt.c aeskey.c aestab.c alaw.c app.c 
> ast_expr.c ast_expr2.c ast_expr2f.c asterisk.c astmm.c autoservice.c 
> callerid.c cdr.c channel.c chanvars.c cli.c config.c db.c devicestate.c 
> dlfcn.c dns.c dnsmgr.c dsp.c enum.c file.c frame.c fskmodem.c image.c 
> indications.c io.c jitterbuf.c loader.c logger.c manager.c md5.c muted.c 
> netsock.c pbx.c plc.c poll.c privacy.c rtp.c say.c sched.c slinfactory.c 
> srv.c strcompat.c tdd.c term.c translate.c ulaw.c utils.c
> build_tools/make_version_h > include/asterisk/version.h.tmp
> if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ; 
> then echo; else \
>        mv include/asterisk/version.h.tmp include/asterisk/version.h ; \
> fi
> 
> rm -f include/asterisk/version.h.tmp
> for x in res channels pbx apps codecs formats agi cdr funcs utils 
> stdtime; do make -C $x clean || exit 1 ; done
> make[1]: Entering directory `/usr/local/src/asterisk/res'
> rm -f *.so *.o .depend
> make[1]: Leaving directory `/usr/local/src/asterisk/res'
> make[1]: Entering directory `/usr/local/src/asterisk/channels'
> rm -f *.so *.o .depend
> rm -f busy.h ringtone.h gentone gentone-ulaw
> make[1]: Leaving directory `/usr/local/src/asterisk/channels'
> make[1]: Entering directory `/usr/local/src/asterisk/pbx'
> rm -f *.so *.o .depend
> make[1]: Leaving directory `/usr/local/src/asterisk/pbx'
> /bin/sh: curl-config: command not found

libcurl-devel or something similar missing?

> make[1]: Entering directory `/usr/local/src/asterisk/apps'
> Makefile:69: *** missing separator.  Stop.

Incorrect hand-editing of the makefile?

> make[1]: Leaving directory `/usr/local/src/asterisk/apps'
> make: *** [clean] Error 1
> build_tools/make_version_h > include/asterisk/version.h.tmp
> if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ; 
> then echo; else \
>        mv include/asterisk/version.h.tmp include/asterisk/version.h ; \
> fi
> 
> rm -f include/asterisk/version.h.tmp
> Updating from CVS...
> ? ast_expr.c
> ? ast_expr.h
> ? ast_expr.output
> ? build.h
> ? vercomp
> ? apps/app_dtmftotext.c
> ? apps/app_rxfax.c
> ? apps/app_rxfax_test.c
> ? apps/app_txfax.c
> ? apps/app_txfax_test.c
> ? apps/apps_makefile.patch
> ? doc/api
> C apps/Makefile
> M apps/app_voicemail.c
> M channels/chan_zap.c
> M contrib/scripts/safe_asterisk
> 
> The following files have conflicts:
> apps/Makefile
> build_tools/make_version_h > include/asterisk/version.h.tmp
> if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ; 
> then echo; else \
>        mv include/asterisk/version.h.tmp include/asterisk/version.h ; \
> fi
> 
> rm -f include/asterisk/version.h.tmp
> if cmp -s .cleancount .lastclean ; then echo ; else \
>        make clean; cp -f .cleancount .lastclean;\
> fi
> make[1]: Entering directory `/usr/local/src/asterisk'
> build_tools/make_version_h > include/asterisk/version.h.tmp
> if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ; 
> then echo; else \
>        mv include/asterisk/version.h.tmp include/asterisk/version.h ; \
> fi
> 
> rm -f include/asterisk/version.h.tmp
> for x in res channels pbx apps codecs formats agi cdr funcs utils 
> stdtime; do make -C $x clean || exit 1 ; done
> make[2]: Entering directory `/usr/local/src/asterisk/res'
> rm -f *.so *.o .depend
> make[2]: Leaving directory `/usr/local/src/asterisk/res'
> make[2]: Entering directory `/usr/local/src/asterisk/channels'
> rm -f *.so *.o .depend
> rm -f busy.h ringtone.h gentone gentone-ulaw
> make[2]: Leaving directory `/usr/local/src/asterisk/channels'
> make[2]: Entering directory `/usr/local/src/asterisk/pbx'
> rm -f *.so *.o .depend
> make[2]: Leaving directory `/usr/local/src/asterisk/pbx'
> /bin/sh: curl-config: command not found
> make[2]: Entering directory `/usr/local/src/asterisk/apps'
> Makefile:69: *** missing separator.  Stop.
> make[2]: Leaving directory `/usr/local/src/asterisk/apps'
> make[1]: *** [clean] Error 1
> make[1]: Leaving directory `/usr/local/src/asterisk'
> build_tools/make_defaults_h > defaults.h.tmp
> if cmp -s defaults.h.tmp defaults.h ; then echo ; else \
>        mv defaults.h.tmp defaults.h ; \
> fi
> 
> rm -f defaults.h.tmp
> for x in res channels pbx apps codecs formats agi cdr funcs utils 
> stdtime; do make -C $x depend || exit 1 ; done
> make[1]: Entering directory `/usr/local/src/asterisk/res'
> *************************************************************
> *** You have the WRONG version of mpg123... you need .59r ***
> *** Use 'make mpg123' to get the right verison            ***
> *************************************************************
> ../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include 
> -D_REENTRANT -D_GNU_SOURCE  -O6 -march=k8 -DZAPTEL_OPTIMIZATIONS         
> -m64 -fomit-frame-pointer   -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC `ls *.c`
> make[1]: Leaving directory `/usr/local/src/asterisk/res'
> make[1]: Entering directory `/usr/local/src/asterisk/channels'
> ../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include 
> -D_REENTRANT -D_GNU_SOURCE  -O6 -march=k8 -DZAPTEL_OPTIMIZATIONS         
> -m64 -fomit-frame-pointer  -Wno-missing-prototypes 
> -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC  
> `ls *.c`
> make[1]: Leaving directory `/usr/local/src/asterisk/channels'
> make[1]: Entering directory `/usr/local/src/asterisk/pbx'
> ../build_tools/mkdep  -pipe  -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include 
> -D_REENTRANT -D_GNU_SOURCE  -O6 -march=k8 -DZAPTEL_OPTIMIZATIONS         
> -m64 -fomit-frame-pointer  -fPIC `ls *.c`
> make[1]: Leaving directory `/usr/local/src/asterisk/pbx'
> /bin/sh: curl-config: command not found
> make[1]: Entering directory `/usr/local/src/asterisk/apps'
> Makefile:69: *** missing separator.  Stop.
> make[1]: Leaving directory `/usr/local/src/asterisk/apps'
> make: *** [depend] Error 1
> v

Again: incorrect hand-editing of that makefile
(/usr/local/src/asterisk/apps/Makefile) is my guess

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list