Building for Macintosh platform: Difference between revisions

Jump to navigation Jump to search
Mark as outdated.
(Mark as outdated.)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
or, How to Minimalistically GNUify Mac OS X For Building Octave From Scratch
or, How to Minimalistically GNUify Mac OS X For Building Octave From Scratch


=Using package manager=
{{Warning|This page is outdated (October 2019).  For more recent information, see [[Octave for macOS]].}}
 
==Using package manager==
If you are looking for an already built version of Octave for Mac OS X, at the present there doesn't exist a reliable one. Instead, [[Octave for MacOS X|use a package manager]].
If you are looking for an already built version of Octave for Mac OS X, at the present there doesn't exist a reliable one. Instead, [[Octave for MacOS X|use a package manager]].


=Source-Compilation=
==Source-Compilation==
Before building Octave from scratch on a Mac OS X platform you need to install several GNU programs and libraries that are not shipped with your Mac. This description will guide you through the procedure of GNUifying your Mac OS X step by step, so that you are then be able to configure, compile, install and run the Octave program.
Before building Octave from scratch on a Mac OS X platform you need to install several GNU programs and libraries that are not shipped with your Mac. This description will guide you through the procedure of GNUifying your Mac OS X step by step, so that you are then be able to configure, compile, install and run the Octave program.


Line 13: Line 15:
The scripts used to build the octave-forge Octave.app can be found in the [http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/admin/MacOSX/ sourceforge subversion repository].
The scripts used to build the octave-forge Octave.app can be found in the [http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/admin/MacOSX/ sourceforge subversion repository].


==Step-By-Step Procedure==
===Step-By-Step Procedure===
(1) Install the Xcode-Tools (ie. the gcc-suite, the c-library and other tools) that are shipped with your computer from "Mac OS X Install Disc 1". Optionally you can get the latest version of these tools from http://developer.apple.com/tools/download. Follow the instructions from the "About Xcode Tools.pdf" file on how to install these tools. Make sure that you have installed the latest releases.
(1) Install the Xcode-Tools (ie. the gcc-suite, the c-library and other tools) that are shipped with your computer from "Mac OS X Install Disc 1". Optionally you can get the latest version of these tools from http://developer.apple.com/tools/download. Follow the instructions from the "About Xcode Tools.pdf" file on how to install these tools. Make sure that you have installed the latest releases.


Line 108: Line 110:
(12) Enjoy using Octave!
(12) Enjoy using Octave!


==Extensions==
===Extensions===


For using the full functionality of Octave some more source-packages need to be installed on your Mac.
For using the full functionality of Octave some more source-packages need to be installed on your Mac.
Line 212: Line 214:
     ranlib $INSTALL_DIR/lib/libmetis.a
     ranlib $INSTALL_DIR/lib/libmetis.a


==Troubleshooting==
===Troubleshooting===


(1) There are reports on the mailing lists of Octave, that automake also needs to be updated because the version that is shipped with Mac OS X doesn't work (especially with G5 Macs this problem may occur). So you might need to install a newer version than the one shipped with your Mac.
(1) There are reports on the mailing lists of Octave, that automake also needs to be updated because the version that is shipped with Mac OS X doesn't work (especially with G5 Macs this problem may occur). So you might need to install a newer version than the one shipped with your Mac.
Line 254: Line 256:
     export DYLD_LIBRARY_PATH=/sw/lib/fontconfig2/lib:/sw/lib/freetype219/lib
     export DYLD_LIBRARY_PATH=/sw/lib/fontconfig2/lib:/sw/lib/freetype219/lib


[[Category:Mac]]
[[Category:Outdated pages]]

Navigation menu