Problem with making asterisk

Hi ,
I’m trying to install asterisk , ./configure run successfully but , when i run ""make “” i’ have this errors :frowning:

make[5]: ccar: Command not found
make[5]: *** […/lib/libpj-i686-pc-linux-gnu.a] Error 127
make[4]: *** [pjlib] Error 2
make[3]: *** [all] Error 1
make[2]: *** [pjproject] Error 2
make[1]: *** [res] Error 2
make[1]: Leaving directory `/home/micro/ast/asterisk-11’
make: *** [_cleantest_all] Error 2

Would u please help mee :frowning:


I’ve been running with that problem and here is the workaround i’ve found :

The problem is located in the following file : res/pjproject/build/cc-auto.mak
The AR and RANLIB variables are prefixed with ‘cc’.
Simply remove ‘cc’ in ‘ccar’ and ‘ccranlib’ and it will compile.

I’ve not investigated yet why these variables are not set correctly but maybe some other people have the clue.



This error is for you need SDL library =)

I’m also having the same problem on Centos 6.3 x64

You seem to be claiming to get a different error on Asterisk Support. I think you need to provide the actual diagnostics you are getting, preferably on Asterisk Support, as this is the wrong forum.