Installation instructions for Mac OS X on POwerPC computers.

BAPS 5.2 is now available here. This version has the same functions as v5.1, but it contains some minor bug fixes, so it is recommended to replace v5.1 by v5.2. If you have used the version 5.1 previously, you DON't NEED TO RE-INSTALL MCR for BAPS 5.2. You simply replace the old files in your v5.1 folder by the files in the v5.2 archive and launch the software with the same script file as before (for details see below).

BAPS 5.1 for PPC Macs is available here. For installation, please refer to the instructions given below for the version 5.1, for which a simpler procedure can be used than for BAPS 4.

NB If you have the earlier MCR component (for BAPS 4.X) installed on your computer, that program must be removed before installation of the new MCR version for BAPS 5.X. This means that different generations of BAPS versions cannot be run on the same Mac OS X computer. However, as BAPS 5.X versions will contain all the functionality of versions 4.X, this restriction is relatively unimportant. Notice though that not all new program features are available in case you use old result files from versions 4.X.

Manual for parallel use of BAPS 5.2 software is here. A general manual for BAPS 5.2 is here. The examples of data formatting referred to in the manual are in this zipped folder: ExamplesDataFormatting.zip.

To make BAPS 5.1 functional on Mac OS X for Intel Mac computers you need to do the following:

1. BAPS requires the X11 application to be present on your computer. Notice that BAPS 5.1 requires the most recent upgrade of X11 to be installed from Apple's website!

2. Use of BAPS requires that you install first a free Matlab runtime component (MRC) of size ~94MB (download and save to disk without decompressing the archive yet!). WARNING! Do not use the Safari browser for the download, because it automatically decompresses the archive and does that job wrongly! For instance, use the Mozilla Firefox browser.

3. Note! When new upgrades of the SAME BAPS GENERATION (5.X) become available, you don't need to re-install the runtime component, only replace the software files.

4. To install the MRC to your system, launch the X11 terminal application, locate the downloaded zip-file and install it by using the unzip filename command. For basic Unix commands (these are used in the terminal) for orientating yourself among folders see e.g. here (for instance, cd folder_name changes the current folder to the existing subfolder folder_name, and cd .. puts you in the parent folder of the current folder). The unzip command extracts the MRC package and installs to your system a folder /v76 containing the files needed by BAPS. On my system the MRC root folder will by default be:
/Users/jukkacorander/v76

5. Download the BAPS package, put it to any arbitrary folder and unzip the files in the X11 terminal. Download this script file (run_baps5_imac.sh) and put it to the same folder where you extracted the BAPS 5.1 package files.

6. You can now always launch BAPS by running the script file in the X11 application (orient first to the folder containing the file) using the following command, where you replace /Users/jukkacorander/v76 by the MRC root folder in your system:

    ./run_baps5_imac.sh /Users/jukkacorander/v76

If you don't have execution rights available by default, use first this command

     chmod a+x run_baps5_imac.sh

and then the above command. NB put a space between 'sh'and 'Users' in the command!

BAPS 4 user manual is here .

To make BAPS 4 functional on Mac OS X for PowerPC computers you need to do the following:

1. BAPS requires the X11 application to be present on your computer. Unless you have the X11 application installed, install it from the Tiger installation DVD (to be preferred, because the DVD contains a newer version 1.1) or download it from this Apple site . This downloadable version (1.0) is actually for Panther (10.3) version of Mac OS X, so it is not quaranteed to work correctly in Tiger (10.4).

2. Use of BAPS requires that you install first a free Matlab runtime component (MRC) of size ~260MB ( download and save to disk without decompressing the archive yet! ). WARNING! Do not use the Safari browser for the download, because it automatically decompresses the archive and does that job wrongly! For instance, use the Mozilla Firefox browser.

3. Note! When new upgrades of the SAME BAPS GENERATION become available, you don't need to re-install the runtime component, only replace the software files.

4. To install the MRC to your system, launch the X11 terminal application, locate the downloaded zip-file and install it by using the unzip filename command. For basic Unix commands (these are used in the terminal) for orientating yourself among folders see e.g. here (for instance, cd folder_name changes the current folder to the existing subfolder folder_name, and cd .. puts you in the parent folder of the current folder). The unzip command extracts the MRC package and installs to your system a folder /v75 containing the files needed by BAPS.

5. Download the BAPS software package, put it to any arbitrary folder and unzip the files in the X11 terminal.

6. The final step of the installation procedure is to tell your system about where BAPS can find dynamic libraries. To do this you need to know the full path to the Matlab runtime component, which is in a folder /v75.

7. WARNING! Unix is case-sensitive, so folders /Users and /users are different things!!!!! In my computer the full path to the /v75 folder equals: /Users/jukkacorander/v75 so the example of setting the paths to the libraries contains this information. You need to modify this part according to the path in your own system in the system commands below. To make the software use simpler, you should create a script file (here called runbaps) that tells X11 shell where the paths are and starts BAPS. This procedure is explained in the next step.

8. In the X11 window go to the folder where you did extract the BAPS package files. Type the command pico runbaps which opens a simple text editor window. Type the following rows:

#!/bin/bash

RTL=/Users/jukkacorander/v75

export DYLD_LIBRARY_PATH=$RTL/sys/os/mac:$RTL/bin/mac:$RTL/runtime/mac

export XAPPLRESDIR=$RTL/X11/app-defaults

./baps4

Remember to replace /Users/jukkacorander/v75 with the path to /v75 folder in your system. Each of the commands must be written exactly as shown (OS X is case-sensitive) in a separate single stretch of characters, with no additional spaces (the only space should be between export and DYLD). There should not be an empty row between the commands, here it is only included for the sake of visual clarity. When you have typed everything, press Ctrl-x to quit Pico editor and choose "y"to save the changes.

Finally, to start the BAPS software you need to give execution rights to the script file by typing in the X11 terminal the command (remember that you need to be in the BAPS package folder): chmod a+x runbaps

The program can now be started with the command ./runbaps and a GUI appears. From now on, you can always access BAPS by: (1)starting the X11 terminal, (2) locating yourself to the folder where you did put BAPS files, (3) typing the command chmod a+x runbaps, and (4) typing the command ./runbaps