[MacPorts] #41217: m4 @1.4.16 Configure error - build failure

MacPorts noreply at macports.org
Tue Nov 5 20:48:33 PST 2013


#41217: m4 @1.4.16 Configure error - build failure
--------------------------+--------------------------------
 Reporter:  kc5tja@…      |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.2.1
 Keywords:  m4 mavericks  |       Port:  m4
--------------------------+--------------------------------
 After installing Mavericks (MacOS 10.9) on a MacBook Air, XCode 5.0.1, the
 command-line tools, and after attempting to install rvm as instructed on
 http://get.rvm.io/,  I keep getting build errors.  It seems that one or
 more packages required by rvm simply don't install under Mavericks at all.
 One such package is m4, which gives me the following errors:

 {{{
 $ sudo port install m4
 Password:
 --->  Configuring m4
 Error: Failed to configure m4, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_m4/m4/work/m4-1.4.16/config.log
 Error: org.macports.configure for port m4 returned: configure failure:
 command execution failed
 Please see the log file for port m4 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_m4/m4/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port m4 failed
 }}}

 When looking inside the specified log file, all I see is the following:

 {{{
 ...etc...
 :info:configure checking whether the C compiler works... no
 :info:configure configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_m4/m4/work/m4-1.4.16':
 :info:configure configure: error: C compiler cannot create executables
 :info:configure See `config.log' for more details
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_m4/m4/work/m4-1.4.16"
 && ./configure --prefix=/opt/local --program-prefix=g ac_cv_libsigsegv=no
 :info:configure Exit code: 77
 ...etc...
 }}}

 It seems that m4 will not compile with CLang-based compiler toolchains.

 Does anyone know of a work-around for this problem?  Thanks for your help.

-- 
Ticket URL: <https://trac.macports.org/ticket/41217>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list