[MacPorts] #41155: Preparing for new Octave release

MacPorts noreply at macports.org
Mon Nov 25 07:22:56 PST 2013


#41155: Preparing for new Octave release
----------------------------+--------------------------------
  Reporter:  kingcrimson@…  |      Owner:  macports-tickets@…
      Type:  update         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.2.1
Resolution:                 |   Keywords:
      Port:  octave         |
----------------------------+--------------------------------

Comment (by kingcrimson@…):

 Replying to [ticket:41155 kingcrimson@…]:


 > Currently I do not have access to Mavericks so testing on Mavericks is
 > particularly welcome.

 The release of Octave 3.8 is now imminent.
 Since my first post I upgraded to Mavericks, so the the new version of the
 Portfile has been created and tested on Maveicks.
 Here's some notes about the building process:

 * The qscintilla problem does not seem to affect Mavericks, but there is a
 different issue regarding fonts in QT which requires patching.

 * including headers from both gnulib and QT requires patching all headers
 in the directory $prefix/include/Qsci to remove the lines

 {{{
 #ifdef __APPLE__
 extern "C++" {
 #endif
 }}}

 and

 {{{
 #ifdef __APPLE__
 }
 #endif
 }}}


 * I need to install GraphicsMagick specifying

 {{{
 configure.compiler=macports-gcc-4.8
 }}}

 on the command line to avoid errors for "symbols not found for
 architecture x86_64"

 * Macports ghostscript will not work with this port, any attempt to print
 with ghostscript will result in error "cannot find default icc profile"
 and produce no output, this wil cause building the docs to fail as manual
 images are produced by running Octave.
 I circumvented this issue locally by adding the ghostscript version
 installed by MacTex to the path during install. In the portfile I set the
 option -doc in the default variant to work around this issue.

 * The portfile links to atlas only as I found both framework Accelerate
 and OpenBLAS to give incorrect results when running the Octave test suite.

 * I tried various compiler combinations including clang+gfortran48,
 clang+gfortran47, clang+dragonegg but only building with gcc47+gfortran47
 or gcc48+gfortran48 I managed to complete the build.

-- 
Ticket URL: <https://trac.macports.org/ticket/41155#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list