Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download wxGTK 2.8.12 from http://wxwidgets.org.
  2. Unzip and untar the downloaded file.
  3. In a Terminal, run the following commands from the new wxGTK-2.8.12 directory (replacing /path/to/wxGTK-2.8.12 with the absolute path to your wxGTK-2.8.12 directory): 
    chmod a+x ./configure
    mkdir build-gmat
    cd build-gmat
    ../configure --prefix=/path/to/wxGTK-2.8.12/build-gmat --with-opengl
  4. Run make to compile the wxGTK libraries:
    make
  5. Run make install to install the libraries and correctly set install paths. This is necessary due to bug GMT-3021.
    make install

...

  1. Set the following environment variable:
    PLATFORM=linux
  2. Copy sf/trunk/build/macosxlinux32/BuildEnv.mk to sf/src
  3. Edit BuildEnv.mk to set the following variables:
    TOP_DIR: path to the sf directory
    WX_INSTALLED: path to the directory containing wx-config; usually this is the wxGTK-2.8.12/build-gmat directory
    WX_LIB_LOC: path to the directory containing the compiled wx libraries; usually this is the wxGTK-2.8.12/build-gmat/lib directory
    SPICE_DIR: path to the directory containing the cspice directory
    F2C_LOC: path to the directory containing the f2c32 directory
    PCRE_LIB_LOC: path to the PCRE library location; usually pcre-#.##/.libs

...