[MacPorts] #23333: asterisk needs to use configure.cc

MacPorts noreply at macports.org
Mon Jan 18 13:05:09 PST 2010


#23333: asterisk needs to use configure.cc
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  1.8.2                                
 Keywords:                           |        Port:  asterisk                             
-------------------------------------+--------------------------------------
 asterisk is not ensuring it is UsingTheRightCompiler:

 {{{
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_asterisk/work/asterisk-1.6.1.12"
 && /usr/bin/nice -n 10 /usr/bin/make -j2 all'
 CC="cc" CXX="/usr/bin/g++-4.2" LD="" AR="" RANLIB="" CFLAGS=""
 /usr/bin/make -C menuselect CONFIGURE_SILENT="--silent" makeopts
 configure: error: C compiler cannot create executables
 See `config.log' for more details.
 make[1]: *** [makeopts] Error 77
 }}}

 And from menuselect/config.log:

 {{{
 configure:1903: checking for gcc
 configure:1919: found
 /Users/rschmidt/macports/ryandesign/no_default_gcc/gcc
 configure:1930: result: gcc
 configure:2168: checking for C compiler version
 configure:2175: gcc --version >&5
 gcc --version
 gcc: Error: You should be using ${configure.cc}
 See http://trac.macports.org/wiki/UsingTheRightCompiler
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/23333>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list