Problems building 1.2.0- Beta1

Hi!

I’m not a C programmer and i haven’t got much of clue what’s going on during the build process, so maybe someone can help me understand my problem here.

The first time i downloaded the 1.2.0-beta1 CVS sources and built it, it built and installed ok. But since then, every time i try, zaptel and libpri build and install ok. Asterisk builds ok, but when i do make install it seems to go into an infinite loop. I’ve tried deleting it all and re-installing from CVS, but it doesn’t make any difference.

The output from make install while it’s in the loop is this, over and over again:

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=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer acl.c aescrypt.c aeskey.c aestab.c alaw.c app.c asterisk.c ast_expr2.c ast_expr2f.c astmm.c autoservice.c callerid.c cdr.c channel.c chanvars.c cli.c config.c config_old.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

I’m afraid the linewrap has mutilated it a bit, even though i used the “code” tags.

The version of gcc is 3.4.4 20050721 (Red Hat 3.4.4-2)

The version of make is GNU Make 3.80

Can anyone suggest what might be wrong?

In my install_asterisk.log, I found this:
"…remember to delete everything from your modules asterisk directory (/usr/lib/asterisk/modules) and the asterisk header directory (/usr/include/asterisk) before doing make install"
I don’t know if your problemis this.
C.

Thanks. I will probably try that - although it will cause hassles with my g729 codec registration if i’m not careful how i do it. However, i doubt that is the cause of my problems - well, it never has caused a problem before, anyway…

I’m tryng to install the rc2 version but I’m having the problem you mentioned above…
Can you help me?
thanks,
C.