Can I use MacPorts to install Octave 3.6.4?

Ray Zimmerman rz10 at
Wed Dec 10 08:20:23 PST 2014

Ok, I’m a MacPorts newbie here, but it turns out I haven’t even been able to get the current version of Octave to build yet. This is a clean install of the latest MacPorts on OS X 10.10.1 with Xcode 6.1.1.

I first attempted …

   sudo port install octave

… which resulted in …

        Error: org.macports.configure for port atlas returned: Atlas could not detect any fortran compiler. If you really don’t need the fortran interface to be built, please use the +nofortran option, else install a fortran compiler (e.g. gcc4X) before building Atlas.
        Error: Failed to install atlas
        Please see the log file for port atlas for details:

So I went back and did …

   sudo port clean octave
   sudo port clean atlas
   sudo port install octave +nofortran

This time it failed to build qrupdate. 

--->  Fetching archive for qrupdate
--->  Attempting to fetch qrupdate-1.1.2_3+atlas+gcc48.darwin_14.x86_64.tbz2 from
--->  Attempting to fetch qrupdate-1.1.2_3+atlas+gcc48.darwin_14.x86_64.tbz2 from
--->  Attempting to fetch qrupdate-1.1.2_3+atlas+gcc48.darwin_14.x86_64.tbz2 from
--->  Fetching distfiles for qrupdate
--->  Attempting to fetch qrupdate-1.1.2.tar.gz from
--->  Verifying checksums for qrupdate
--->  Extracting qrupdate
--->  Applying patches to qrupdate
--->  Configuring qrupdate
--->  Building qrupdate
Error: for port qrupdate returned: command execution failed
Error: Failed to install qrupdate
Please see the log file for port qrupdate for details:
Error: The following dependencies were not installed: qrupdate texinfo transfig netpbm

The relevant part of log file (by my guess) says …

:info:build libtool -o ../libqrupdate.a caxcpy.o cch1dn.o cch1up.o cchdex.o cchinx.o cchshx.o cgqvec.o cqhqr.o cqr1up.o cqrdec.o cqrder.o cqrinc.o cqrinr.o cqrot.o cqrqh.o cqrshc.o cqrtv1.o dch1dn.o dch1up.o dchdex.o dchinx.o dchshx.o dgqvec.o dqhqr.o dqr1up.o dqrdec.o dqrder.o dqrinc.o dqrinr.o dqrot.o dqrqh.o dqrshc.o dqrtv1.o sch1dn.o sch1up.o schdex.o schinx.o schshx.o sgqvec.o sqhqr.o sqr1up.o sqrdec.o sqrder.o sqrinc.o sqrinr.o sqrot.o sqrqh.o sqrshc.o sqrtv1.o zaxcpy.o zch1dn.o zch1up.o zchdex.o zchinx.o zchshx.o zgqvec.o zqhqr.o zqr1up.o zqrdec.o zqrder.o zqrinc.o zqrinr.o zqrot.o zqrqh.o zqrshc.o zqrtv1.o clu1up.o dlu1up.o slu1up.o zlu1up.o clup1up.o dlup1up.o slup1up.o zlup1up.o
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_qrupdate/qrupdate/work/qrupdate-1.1.2/src'
:info:build Undefined symbols for architecture x86_64:
:info:build   "_caxpy_", referenced from:
:info:build       _cgqvec_ in cgqvec.o
:info:build       _cqr1up_ in cqr1up.o
:info:build       _cqrinc_ in cqrinc.o
:info:build       _clup1up_ in clup1up.o
:info:build   "_ccopy_", referenced from:
:info:build       _cchdex_ in cchdex.o
:info:build       _cchinx_ in cchinx.o
:info:build       _cchshx_ in cchshx.o
:info:build       _cqrdec_ in cqrdec.o
:info:build       _cqrder_ in cqrder.o
:info:build       _cqrinc_ in cqrinc.o
:info:build       _cqrinr_ in cqrinr.o
:info:build       …
<snip> (I think you get the point)
:info:build       ...
:info:build   "_zrot_", referenced from:
:info:build       _zqr1up_ in zqr1up.o
:info:build       _zqrot_ in zqrot.o
:info:build   "_zswap_", referenced from:
:info:build       _zlup1up_ in zlup1up.o
:info:build   "_ztrsv_", referenced from:
:info:build       _zch1dn_ in zch1dn.o
:info:build       _zchinx_ in zchinx.o
:info:build       _zlup1up_ in zlup1up.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: error: ld returned 1 exit status

Any suggestions on how to resolve this? I’m happy to wipe everything out and start over even though it takes a few hours to re-build. I’m just looking for the easiest way to get a working version of Octave 3.8.2 and Octave 3.6.4 that I can use to test some code.

By the way, it looks like at this point I do have a fortran compiler installed. Presumably by one of Octave’s other dependencies?


Ray Zimmerman
Senior Research Associate
B30 Warren Hall, Cornell University, Ithaca, NY 14853  USA
phone: (607) 255-9645

> On Dec 9, 2014, at 4:01 PM, Michael Dickens <michaelld at> wrote:
> Hi Ray - You actually want to look at the Portfile itself for the
> version info.  In this case, the one you want is <
>> .. or, revision 121949.  The next revision of this Portfile (121950)
> bumps the version to 3.8.1. Sometimes you have to do a little tweaking
> to get things to work with the current version of 'port', but generally
> the changes are small.  Good luck! - MLD
> On Tue, Dec 9, 2014, at 03:28 PM, Ray Zimmerman wrote:
>> I am new to MacPorts and was hoping to use it to install the current
>> version of GNU Octave 3.8.2 (currently building on my machine) and some
>> earlier versions, such as 3.6.4. I’m finding it difficult to figure out
>> how to do the earlier versions, if it is even possible.
>> I found this page
>> (, but I’m
>> having trouble trying to find a revision of the octave port* that clearly
>> corresponds to version 3.6.4 of Octave. Should I just pick the rev right
>> before the one that says “update to 3.8.1” (i.e. rev 121949) and hope
>> that it’s 3.6.4 or what?
>> Can somebody give me a few tips here?
>> *Looking on this page:
> _______________________________________________
> macports-users mailing list
> macports-users at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list