364
edits
Line 260: | Line 260: | ||
*** Over-ride the built-in octave_configure_info and use an m-file version that replaces the original MacPorts prefix with the OCTAVE_HOME environment variable set by the bundle. | *** Over-ride the built-in octave_configure_info and use an m-file version that replaces the original MacPorts prefix with the OCTAVE_HOME environment variable set by the bundle. | ||
*** The bundled mkoctfile references the gcc4.4 libraries instead of the gcc4.5 libraries that are actually bundled. This needs to be corrected. | *** The bundled mkoctfile references the gcc4.4 libraries instead of the gcc4.5 libraries that are actually bundled. This needs to be corrected. | ||
** With the above changes [http://www.gnu.org/software/octave/doc/interpreter/Getting-Started-with-Oct_002dFiles.html {{Codeline|mkoctfile helloworld.cc}}] fails with the error below. | ** With the above changes [http://www.gnu.org/software/octave/doc/interpreter/Getting-Started-with-Oct_002dFiles.html {{Codeline|mkoctfile helloworld.cc}}] fails with the error below. This is likely due to the {{Codeline|Octave-3.7.0+.app/Contents/Resources/bin/octave}} script over-riding the build environment variables normally set by {{Codeline|mkoctfile}}. | ||
*** Rely on {{Codeline|mkoctfile}} to setup the oct-file build environment (i.e. don't set any of it up in the {{Codeline|.../Octave-3.7.0+.app/Contents/Resources/bin/octave}} script. | *** Rely on {{Codeline|mkoctfile}} to setup the oct-file build environment (i.e. don't set any of it up in the {{Codeline|.../Octave-3.7.0+.app/Contents/Resources/bin/octave}} script. | ||
*** Since {{Codeline|mkoctfile}} uses it, {{Codeline|gsed}} needs to be added as a run time dependency in the [[Prototype MacPorts PortFile|MacPorts portfile]]. Check to verify that other build time dependencies are not also need. | *** Since {{Codeline|mkoctfile}} uses it, {{Codeline|gsed}} needs to be added as a run time dependency in the [[Prototype MacPorts PortFile|MacPorts portfile]]. Check to verify that other build time dependencies are not also need. |
edits