Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#42629 closed defect (invalid)

lftp @4.4.15 failed install on OS-X 10.9.2

Reported by: ola.fosheim.grostad@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: lftp

Description

/usr/bin/gnutar does not exist, but creating a link to gnutar is not sufficient to fix the issue:

:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables... 
:info:configure checking whether we are cross compiling... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_lftp/lftp/work/lftp-4.4.15':
:info:configure configure: error: cannot run C compiled programs.
:info:configure If you meant to cross compile, use `--host'.
: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_net_lftp/lftp/work/lftp-4.4.15" && ./configure --prefix=/opt/local --with-openssl --without-gnutls --enable-nls 
:info:configure Exit code: 1
:error:configure Failed to configure lftp, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_lftp/lftp/work/lftp-4.4.15/config.log
:error:configure org.macports.configure for port lftp returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for lftp: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port lftp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_lftp/lftp/main.log

Change History (2)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
:info:configure configure: error: cannot run C compiled programs.

You either do not have the Xcode command line tools installed, or you have not agreed to the Xcode license, or you did not follow wiki:Migration. See also wiki:MavericksProblems.

Also, remove your symlink to gnutar.

comment:2 in reply to:  description Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to ola.fosheim.grostad@…:

/usr/bin/gnutar does not exist

This specific problem only occurs when you upgrade to Mavericks without reinstalling MacPorts. Please follow the migration instructions.

Note: See TracTickets for help on using tickets.