[MacPorts] #33654: apr 1.4.5_3 Configuration failure under Lion

MacPorts noreply at macports.org
Fri Mar 16 16:03:48 PDT 2012


#33654: apr 1.4.5_3 Configuration failure under Lion
------------------------------------------+---------------------------------
 Reporter:  ktekinay@…                    |       Owner:  dluke@…           
     Type:  defect                        |      Status:  new               
 Priority:  Normal                        |   Milestone:                    
Component:  ports                         |     Version:  2.0.4             
 Keywords:                                |        Port:  apr               
------------------------------------------+---------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => dluke@…
  * port:  => apr


Old description:

> apr failed to update so I uninstalled, cleaned, and then attempted to
> install. I get an error during the "configure" stage. The log is
> attached, but the relevant part is here:
>
> :info:configure configure: error: in
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/apr/work/apr-1.4.5':
> :info:configure configure: error: C compiler cannot create executables
> :info:configure See `config.log' for more details.
> :info:configure shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/apr/work/apr-1.4.5"
> && ./configure --prefix=/opt/local --with-
> installbuilddir=/opt/local/share/apr-1/build --enable-nonportable-atomics
> ac_cv_func_setpgrp_void=no " returned error 77
> :error:configure Target org.macports.configure returned: configure
> failure: shell command failed (see log for details)
> :debug:configure Backtrace: configure failure: shell command failed (see
> log for details)
>     while executing
> "$procedure $targetname"
> :info:configure Warning: the following items did not execute (for apr):
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install

New description:

 apr failed to update so I uninstalled, cleaned, and then attempted to
 install. I get an error during the "configure" stage. The log is attached,
 but the relevant part is here:

 {{{
 :info:configure configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/apr/work/apr-1.4.5':
 :info:configure configure: error: C compiler cannot create executables
 :info:configure See `config.log' for more details.
 :info:configure shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/apr/work/apr-1.4.5"
 && ./configure --prefix=/opt/local --with-
 installbuilddir=/opt/local/share/apr-1/build --enable-nonportable-atomics
 ac_cv_func_setpgrp_void=no " returned error 77
 :error:configure Target org.macports.configure returned: configure
 failure: shell command failed (see log for details)
 :debug:configure Backtrace: configure failure: shell command failed (see
 log for details)
     while executing
 "$procedure $targetname"
 :info:configure Warning: the following items did not execute (for apr):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 }}}

--

Comment:

 The log says:

 {{{
 :info:configure configure: error: C compiler cannot create executables
 :info:configure See `config.log' for more details.
 }}}

 So you should check the config.log for more details. Also check the
 wiki:FAQ#missingxcode.

-- 
Ticket URL: <https://trac.macports.org/ticket/33654#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list