Opened 12 years ago

Last modified 12 years ago

#33654 closed defect

apr 1.4.5_3 Configuration failure under Lion — at Version 1

Reported by: ktekinay (Kem Tekinay) Owned by: dluke@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: apr

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

Changed 12 years ago by ktekinay (Kem Tekinay)

Attachment: main.log added

apr error log - error during configure

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to dluke@…
Port: apr added

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.

Note: See TracTickets for help on using tickets.