Opened 11 years ago

Closed 11 years ago

#43352 closed defect (invalid)

GSL 1.16 on Mavericks

Reported by: gideonsimpson Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
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

Attachments (2)

config.log (11.1 KB) - added by gideonsimpson 11 years ago.
main.log (26.2 KB) - added by gideonsimpson 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 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 11 years ago by gideonsimpson

Attachment: config.log added

Changed 11 years ago by gideonsimpson

Attachment: main.log added

comment:2 in reply to:  1 Changed 11 years ago by gideonsimpson

Replying to ryandesign@…:

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

I've posted the log files.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed

The config.log says the reason it can't compile C programs is:

fatal error: stdio.h: No such file or directory

So I suspect the problem is what it says in wiki:FAQ#missingxcode: you need to install the Xcode command line tools.

Note: See TracTickets for help on using tickets.