[MacPorts] #42131: gnuplot: configure: error: cannot run C compiled programs (was: Gnuplot build failure)
MacPorts
noreply at macports.org
Tue Jan 14 12:13:09 PST 2014
#42131: gnuplot: configure: error: cannot run C compiled programs
-------------------------+---------------------
Reporter: netja000@… | Owner: mojca@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: gnuplot |
-------------------------+---------------------
Changes (by ryandesign@…):
* cc: mojca@…, openmaintainer@… (removed)
* owner: macports-tickets@… => mojca@…
* port: mojca at macports.org, openmaintainer at macports.org => gnuplot
* keywords: gnuplot =>
Comment:
Replying to [ticket:42131 netja000@…]:
> In the main.log, it seems none of the URLs is working:
>
> http://mse.uk.packages.macports.org/sites/packages.macports.org/gnuplot
>
> http://lil.fr.packages.macports.org/gnuplot
>
> http://packages.macports.org/gnuplot
Irrelevant. That's MacPorts trying to download pre-compiled binaries.
Since apparently none exist for this port, it then tries to compile the
source. ''That'' then fails, and ''that's'' the problem we need to
investigate.
> Please let me know what I can do to solve the problem. Thanks a lot! :-)
The log you attached says:
{{{
: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
}}}
So why can't you run C compiled programs? Have you installed the Xcode
command line tools? See wiki:FAQ#missingxcode. What does the config.log
say?
--
Ticket URL: <https://trac.macports.org/ticket/42131#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list