Opened 15 years ago

Closed 14 years ago

#23333 closed defect (fixed)

asterisk needs to use configure.cc

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: mr_bond@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: marc.blanchet@…, roederja, stefan.van.der.eijk@…
Port: asterisk

Description

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

Change History (3)

comment:1 Changed 15 years ago by roederja

Cc: jann@… stefan.van.der.eijk@… added

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: marc.blanchet@… added
Owner: changed from macports-tickets@… to mr_bond@…

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.