![]() Use of Apple's accelerate framework should also be avoided for arpack and qrupdate. For example, see this Homebrew thread (Octave 3.4 fails on lion), this R-Sig-Mac thread (R 2.13.1-patched, vecLib problem on Lion), and the COIN-OR thread (Ipopt - problems on OS X 10.7 Lion). There is some commentary on this in various developers discussion forums. Octave's developers have included a fix for MacOS 10.6, but the fix does not work for MacOS 10.7. Sudo port install octave-local use of the +atlas variant is encouraged as bugs exist for Apple's accelerate framework in both MacOS 10.6 and 10.7. Once indexed the local Octave port may be installed. After adding the portfile, the local repository must be indexed for MacPorts to recognize it. This assumes the Octave portfile had been placed on the user's Desktop, and that the local portfile repository is located in the users home folder and named ports. After creating a local portfile repository an Octave portfile may be added to the local repository using the commands below.Ĭp ~/Desktop/portfile ~/ports/math/octave-local The xorg-libx11 dependency may be avoided by specifying -x11+no_x11-docs as variants and by dropping the dependence to transfig (which has xpm as a dependency and xpm depends upon several xorg-* ports.Ī prototype portfile has been prepared, which does not depend upon METIS and does depend upon epstool, and pstoedit (there is no transfig dependency since it generates an xorg-libx11 dependency). For macports 2.1.3, having the xorg-libx11 as a dependency for Octave has been found to cause the port mdmg octave-local. A third motivation for a local portfile is to provide additional flexibility in resolving problems with creating an Octave DMG using the port mdmg. The missing dependencies are epstool, pstoedit, and transfig. A second motivation to use a local portfile is that the portfiles for the 3.4.x and 3.6.x series did not include all dependencies for the print feature. In order to eliminate the Metis dependency, a local portfile may be used, and edited to remove metis. To avoid license violations do not bundle Metis with Octave and then distribute to others. MacPorts' Octave port includes the non-GPL METIS. For the remainder of this page, it is assume a local portfile is being used and that the port name is octave-local. If the current version of the octave-devel port isn't current, it will be necessary to produce a local portfile. However, there are times when the maintainers fall behind. MacPorts has historically been rather good a maintaining their Octave portfiles. The entire installation process can take a few hours. Octave has many dependencies which will be downloaded and installed prior to Octave. To install the most recent version of Octave, type sudo port install octave-devel at the Terminal's command line. A list of what MacPorts has available for Octave is here. Follow MacPorts' installation instructions.Install XCode: This is done via the MacOS X App Store.Similar in aim and function to Fink and the BSDs' ports collections.Īn itemized overview of a MacPorts install is below. It is a free/open source software project to simplify installation of other free/open source software. MacPorts, formerly called DarwinPorts, is a package management system that simplifies the installation of software on the MacOS X and Darwin operating systems. Once the dependencies are resolved, the DMG may be created by sudo port mdmg octave-devel MacPorts.While editing the Portfile for octave-devel, the references to metis should also be removed to avoid a GPL violation.This means that Xfig output is not available using Octave's print() function/command. ![]() To resolve this, the octave-devel Portfile must be modified and the Transfig run-time dependency removed. ![]() There is one dependency ( Transfig) for which x11 is not optional. Review the output of the command port rdeps octave-devel to identify the ports whose variants must be modified to avoid gcc45 and xorg-libx11.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |