Difference between revisions of "Mac OSX"
From PLplotWiki
(Initial OS-X notes) |
m |
||
Line 1: | Line 1: | ||
− | Once you have installed cmake and cvs plplot, the following commands should get you up and running: | + | Once you have installed cmake and downloaded cvs plplot, the following commands should get you up and running: |
cd plplot-cvs | cd plplot-cvs |
Revision as of 19:29, 17 September 2006
Once you have installed cmake and downloaded cvs plplot, the following commands should get you up and running:
cd plplot-cvs cmake . ccmake . (setting explained below) make make install (possibly as root)
Configuring the build with ccmake:
1. Set PLD_wxwidgets to OFF, unless you have a more recent version than that which comes standard with OS-X. 2. Set ENABLE_tcl and ENABLE_tk to off. 3. Depending on the location of swig, you may have to specify SWIG_DIR.
Things to watch out for:
1. cmake is really good at finding libraries, but not so good at using the same library when multiple options are present. For example, I found that I had no less than 4 versions of Python on my system, and cmake was trying to use all of them for different purposes (library from one, executable from another, etc...). 2. Once you have specified the location of swig (i.e. SWIG_DIR), you will need to configure again, then set ENABLE_python to ON, then configure again to get python setup properly.
What is known to work on OS-X:
1. The AquaTerm driver. 2. Fortran77 [GNU Fortran (GCC) 3.4.4] 3. Fortran95 [GNU Fortran 95 (GCC) 4.2.0 20060512 (experimental)] 4. Python2.4 [Python 2.4.2 (#1, Feb 11 2006, 21:54:49)] (I think that this version came with my OS-X box, or was part of the XCode (v2.1) developer tools.