Opened 10 years ago

Last modified 10 years ago

#43352 closed defect

GSL 1.16 on Mavericks — at Version 1

Reported by: gideonsimpson Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: gsl

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

When installing gsl 1.16 against gcc 4.8 on mavericks, I am getting the following error:

Error: Failed to configure gsl, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gsl/gsl/work/gsl-1.16/config.log
Error: org.macports.configure for port gsl returned: configure failure: command execution failed
Please see the log file for port gsl for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gsl/gsl/main.log

The tail of the log file is:

: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_math_gsl/gsl/work/gsl-1.16':
: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_math_gsl/gsl/work/gsl-1.16" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/share/info 
:info:configure Exit code: 1
:error:configure Failed to configure gsl, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gsl/gsl/work/gsl-1.16/config.log
:error:configure org.macports.configure for port gsl 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 gsl: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port gsl for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gsl/gsl/main.log

Change History (3)

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

Description: modified (diff)

Why can C compiled programs not be run? Please attach the config.log so we can see why.

Changed 10 years ago by gideonsimpson

Attachment: config.log added

Changed 10 years ago by gideonsimpson

Attachment: main.log added
Note: See TracTickets for help on using tickets.