[Ifeffit] HELP: failed to install gcc49 on mac (v10.6.8)

Fowler, Joseph W. joe.fowler at nist.gov
Thu Jul 30 10:58:12 CDT 2015


Dear Ie-Rang,

I’m the demeter maintainer on MacPorts, but I admit I am anything but a MacPorts guru.

I notice that the error you showed is a failure to install gcc49. I don’t know if that new GCC is compatible with your old version of OS X, but that’s an issue that’s beyond my expertise. You might edit your variants file (it’s /opt/local/etc/macports/variants.conf on my installation) to insist on an earlier version by adding a line containing, e.g., “+gcc47” or whatever is your installed and preferred version of GCC.

In fact, the port demeter does not depend (directly) on gcc, which you can see by issuing the command

> port echo depof:demeter
> port echo depof:demeter-devel

So it looks to me like you have several steps to get ready for installing demeter.

I admit that I recently discovered—but have not fixed—a flaw in the demeter port description file. The code depends on ports p5.16-file-which and p5.16-math-round, but these are not made explicit. I need to figure out how to add these to the explicit dependency list. I’m just back from vacation and a conference, so I have no excuses now. If you get far enough that you can install *but not run* demeter’s executables, then a workaround for this is

> sudo port install p5.16-file-which p5.16-math-round

And for MacPorts users in general: I understand that the project as a whole is in the process of trying to move to Perl 5.22 instead of 5.16. I’ll be updating the port file to reflect that change, too.

Joe Fowler
NIST Boulder Laboratories


On Jul 29, 2015, at 4:01 PM, ifeffit-request at millenia.cars.aps.anl.gov<mailto:ifeffit-request at millenia.cars.aps.anl.gov> wrote:

Send Ifeffit mailing list submissions to
ifeffit at millenia.cars.aps.anl.gov<mailto:ifeffit at millenia.cars.aps.anl.gov>

To subscribe or unsubscribe via the World Wide Web, visit
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
or, via email, send a message with subject or body 'help' to
ifeffit-request at millenia.cars.aps.anl.gov

You can reach the person managing the list at
ifeffit-owner at millenia.cars.aps.anl.gov

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ifeffit digest..."
Today's Topics:

  1. HELP: failed to install gcc49 on mac (v10.6.8) (Ie-Rang Jeon)
  2. Re: HELP: failed to install gcc49 on mac (v10.6.8) (Bruce Ravel)
  3. Error in Running XANES on FEFF8.4 for Cobalt based cluster
     (Ganesh Subramanian)

From: Ie-Rang Jeon <jeon at northwestern.edu>
Subject: [Ifeffit] HELP: failed to install gcc49 on mac (v10.6.8)
Date: July 29, 2015 at 1:11:08 PM MDT
To: "ifeffit at millenia.cars.aps.anl.gov" <ifeffit at millenia.cars.aps.anl.gov>
Reply-To: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>


Hello,

I'm trying to install MacPorts package on my mac (v.10.6.8), and I can't do this. Below are error messages that I got.
Could you please help me to figure out what the problem is?

Thank you.
Ie-Rang


-----------------------------------

--->  Building gcc49
Error: org.macports.build for port gcc49 returned: command execution failed
Error: Failed to install gcc49
Please see the log file for port gcc49 for details:
   /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/main.log
Error: The following dependencies were not installed:
.
.
.
Error: Processing of port demeter-devel failed






From: Bruce Ravel <bravel at bnl.gov>
Subject: Re: [Ifeffit] HELP: failed to install gcc49 on mac (v10.6.8)
Date: July 29, 2015 at 1:21:06 PM MDT
To: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>
Reply-To: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>


On 07/29/2015 03:11 PM, Ie-Rang Jeon wrote:
Hello,

I'm trying to install MacPorts package on my mac (v.10.6.8), and I can't do this. Below are error messages that I got.
Could you please help me to figure out what the problem is?

Thank you.
Ie-Rang

Perhaps there's anything useful in that log file?
B




-----------------------------------

--->  Building gcc49
Error: org.macports.build for port gcc49 returned: command execution failed
Error: Failed to install gcc49
Please see the log file for port gcc49 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/main.log
Error: The following dependencies were not installed:
.
.
.
Error: Processing of port demeter-devel failed


_______________________________________________
Ifeffit mailing list
Ifeffit at millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit



--
Bruce Ravel  ------------------------------------ bravel at bnl.gov

National Institute of Standards and Technology
Synchrotron Science Group at NSLS-II
Building 535A
Upton NY, 11973

Homepage:    http://bruceravel.github.io/home/
Software:    https://github.com/bruceravel
Demeter:     http://bruceravel.github.io/demeter/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20150730/59f0010a/attachment.html>


More information about the Ifeffit mailing list