[MacPorts] #45111: error when installing octave
MacPorts
noreply at macports.org
Sat Sep 20 16:12:09 PDT 2014
#45111: error when installing octave
----------------------+-------------------------
Reporter: prowe@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: | Keywords:
Port: octave |
----------------------+-------------------------
Old description:
> 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!
New description:
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!
--
Comment (by larryv@…):
I would expect you’d need to specify a GCC variant for `hdf5`, `netcdf`,
`netcdf-cxx`, and `netcdf-fortran`, at the very least.
--
Ticket URL: <https://trac.macports.org/ticket/45111#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list