Diff for /wikisrc/tutorials/how_to_run_maple_on_netbsd__92__i386.mdwn between versions 1.1 and 1.2

version 1.1, 2011/11/20 20:55:21 version 1.2, 2012/02/05 07:14:36
Line 1 Line 1
 **Contents**  **Contents**
   
 [[!toc]]  [[!toc]]
   
 #  Things needed  #  Things needed 
   
 A NetBSD/i386 installation. A Maple install cd (hybrid version for Windows/Mac OS X/Linux).  A NetBSD/i386 installation. A Maple install cd (hybrid version for Windows/Mac OS X/Linux). 
   
 A linux emulation package. procfs turned on.  A linux emulation package. procfs turned on. 
   
 I use Maple 10 on NetBSD 3.1 with the suse10 package from pkgsrc.  I use Maple 10 on NetBSD 3.1 with the suse10 package from pkgsrc. 
   
 #  Install Maple  #  Install Maple 
   
 Mount the CD.  Mount the CD. 
   
 From the user that will be using the maple install: run installMapleLinuxSU from the root directory on the CD.  From the user that will be using the maple install: run installMapleLinuxSU from the root directory on the CD. 
   
 Follow through the steps. Remember to choose an install folder you have write access to. I will use my home folder.  Follow through the steps. Remember to choose an install folder you have write access to. I will use my home folder. 
   
 Upon finishing the install process you will be asked to activate Maple. I advise that you activate it now instead of trying to later.  Upon finishing the install process you will be asked to activate Maple. I advise that you activate it now instead of trying to later. 
   
 Quit the installer.  Quit the installer. 
   
 #  Tell Maple your OS  #  Tell Maple your OS 
   
 Maple uses [[basics/uname]] to detect the system type. Running Maple now will result in it telling you that your operating system is unsupported. We need to tell Maple that our system is linux so we can run it under emulation.  Maple uses [[basics/uname]] to detect the system type. Running Maple now will result in it telling you that your operating system is unsupported. We need to tell Maple that our system is linux so we can run it under emulation. 
   
   
 Using your favorite text editor open the file ~/maple##/bin/maple.system.type  Using your favorite text editor open the file ~/maple##/bin/maple.system.type 
   
 This file is a script that runs at startup. Looking at the file we see that many different system types can be detected and launched. The one we wish to use is bin.IBM_INTEL_LINUX  This file is a script that runs at startup. Looking at the file we see that many different system types can be detected and launched. The one we wish to use is bin.IBM_INTEL_LINUX 
   
 There are two ways of doing this:  There are two ways of doing this: 
   
 1: We can add a NetBSD section to the script. Just sneak it in under the Darwin entry:  1: We can add a NetBSD section to the script. Just sneak it in under the Darwin entry: 
          
          
         "Darwin")          "Darwin")
            # the OSX case             # the OSX case
            MAPLE_BIN="bin.APPLE_PPC_OSX"             MAPLE_BIN="bin.APPLE_PPC_OSX"
            ;;             ;;
                  
     # OUR ADDED SECTION      # OUR ADDED SECTION
         "NetBSD")          "NetBSD")
            MAPLE_BIN="bin.IBM_INTEL_LINUX"             MAPLE_BIN="bin.IBM_INTEL_LINUX"
            ;;             ;;
     # END OF OUR SECTION      # END OF OUR SECTION
                  
         *)          *)
          
   
 2: Add one line just above the bottom:  2: Add one line just above the bottom: 
          
          
     # OUR ADDED LINE      # OUR ADDED LINE
     $MAPLE_BIN="bin.IBM_INTEL_LINUX"      $MAPLE_BIN="bin.IBM_INTEL_LINUX"
     # END LINE      # END LINE
          
     echo $MAPLE_BIN      echo $MAPLE_BIN
     exit 0      exit 0
          
   
 #  Launch Maple  #  Launch Maple 
   
 From the ~/maple##/bin directory launch either maple or xmaple.  From the ~/maple##/bin directory launch either maple or xmaple. 
   
 Enjoy your NetBSD Maple math fun!  Enjoy your NetBSD Maple math fun! 
   

Removed from v.1.1  
changed lines
  Added in v.1.2


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb