[asterisk-bugs] [JIRA] (ASTERISK-20681) Unable to compile Asterisk 11.0.0 & 11.0.1

Mark Michelson (JIRA) noreply at issues.asterisk.org
Tue Nov 27 14:22:45 CST 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=200146#comment-200146 ] 

Mark Michelson commented on ASTERISK-20681:
-------------------------------------------

I've seen this issue pop up a couple of times recently on new installations, and I have tracked it down a bit.

I checked out two copies of Asterisk trunk. In copy 1, I ran `./configure && make install` . Everything worked fine. In copy 2, I ran `make install` . This operation bombed out after a second and told me I needed to run the configure script. So I then ran `./configure && make install` . In this situation, I got the "ccar" error.

Apparently, the issue stems from the pjproject's configure script being run before Asterisk's. If you notice the "ccar" error occur, then just run the following from the Asterisk source directory:

{noformat}
cd res/pjproject
./configure
cd ../..
make install
{noformat}

Asterisk should then compile without issue.

Something needs to be put in place to ensure that pjproject's configure script does not get run before Asterisk's.
                
> Unable to compile Asterisk 11.0.0 & 11.0.1
> ------------------------------------------
>
>                 Key: ASTERISK-20681
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20681
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.0.0, 11.0.1
>         Environment: Centos 6.3 x86_64
>            Reporter: Dinesh Ramjuttun
>            Assignee: Dinesh Ramjuttun
>         Attachments: config.log, config.log
>
>
> Cannot compile. I am stuck with the error below. 
> FYI Asterisk 1.8.x compiles with no problem on same system/server.
> {noformat}
> ../src/pj/ssl_sock_ossl.c: In function âcreate_sslâ:
> ../src/pj/ssl_sock_ossl.c:605: warning: value computed is not used
> ../src/pj/ssl_sock_ossl.c:606: warning: value computed is not used
> ../src/pj/ssl_sock_ossl.c: In function âflush_write_bioâ:
> ../src/pj/ssl_sock_ossl.c:1148: warning: value computed is not used
> make[5]: ccar: Command not found
> make[5]: *** [../lib/libpj-x86_64-unknown-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 `/usr/src/install/asterisk-11.0.1'
> make: *** [_cleantest_all] Error 2
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list