Can I use MacPorts to install Octave 3.6.4?

Ryan Schmidt ryandesign at
Wed Dec 10 10:17:40 PST 2014

On Dec 10, 2014, at 10:20 AM, Ray Zimmerman wrote:

> 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:
>     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_qrupdate/qrupdate/main.log
> 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.

Please file a bug report in our issue tracker about this qrupdate problem. However, because there is no maintainer for qrupdate, I'm not sure who would be able to resolve the issue.

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

Well qrupdate, for one thing, has a gcc48 default variant, so gcc48 has been installed. (gcc48 provides a fortran compiler.)

More information about the macports-users mailing list