Opened 10 years ago

Last modified 10 years ago

#45111 closed defect

error when installing octave — at Version 2

Reported by: prowe@… Owned by: michaelld@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: octave

Description (last modified by larryv (Lawrence Velázquez))

I get the following error for >>sudo port install octave:

--->  Building octave
Error: org.macports.build for port octave returned: command execution failed
Please see the log file for port octave for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port octave failed

I'm on a new MacPro with Mavericks. Here are the steps I took:

  • Install Xcode
  • Open Xcode
  1. Type xcode-select --install
  2. Install Macports on Mac
    https://www.macports.org/install.php
    Click on “OS X 10.9 Mavericks” for automatic download.
  3. Type “sudo port install hdf5
  4. Type “sudo port install netcdf
  5. Type “sudo port install netcdf-cxx” for C++ interface
  6. Type “sudo port install netcdf-fortran” for Fortran interface
  7. Type “sudo port install libgcc
  8. Type “sudo port install gcc47
    Couldn’t successful load “atlas” package using either gcc49 or gcc48.
    So tried to follow this
    #40542
  9. Type “sudo port clean atlas
  10. Type “sudo port -v install atlas +gcc47
  11. Type “sudo port install octave

Thank you for any help!

Change History (3)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Port: octave added

Please attach the main.log file.

comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)

I would expect you’d need to specify a GCC variant for hdf5, netcdf, netcdf-cxx, and netcdf-fortran, at the very least.

Changed 10 years ago by prowe@…

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