On a UNIX box, the recommended location for bsoft is in /usr/local. If you want to install Bsoft in a different location, change the environment variable BSOFT to point to the appropriate directory:
setenv BSOFT /usr/local/bsoft
OR
setenv BSOFT $OTHERPATH/bsoft
Copy the distribution file to the desired directory (e.g., /usr/local) and unpack it as follows (it will unpack into a directory named "bsoft"):
Unzip the distribution file and unpack the tar file:
gunzip bsoft1_5_0.tgz
tar -xvf bsoft1_5_0.tar
OR
Unpack the gzipped tar file directly:
tar -xzvf bsoft1_5_0.tgz
All programs are compiled with the C-shell script "bmake" in the main bsoft directory (the -w option prevents display of warnings):
bmake
To avoid compiling the Tcl/Tk interface, run bmake with the following flag:
bmake notcltk
The binary executables are installed in the $BSOFT/bin directory by default by the script. The $BBIN variable can be set in the script to any other directory desired.
Bsoft is compiled as on any other Unix platform, and under Mac OSX 10.4+, universal binaries are generated with both 32 and 64 bit versions, and both PowerPC and Intel versions. To install the Tcl/Tk programs "bshow" and "brun" as applications, run the script "macinstall" in the macosx directory.
Unpack the tar file (it will unpack into a subdirectory named [BSOFT]):
vmstar -xvf bsoft1_5_0.tar
All programs are compiled with the "BMAKE.COM" script in the main bsoft directory:
@BMAKE
The binary executables are installed in the [BSOFT.BIN] directory by default by the script. The BBIN variable can be set in the script to any other directory desired. (The Tcl/Tk is not compiled on VMS with the current version of BMAKE.COM)
Bsoft can be compiled within the Cygwin environment, including the Tcl/Tk interface. Cygwin must be installed with gcc, zlib, X-windows and Tcl/Tk 8.3 or later.
Bsoft is to a large extent 64 bit clean and should handle large image files (> 2Gb) given enough memory. The default on systems capable of both 32 and 64 bit addressing, is 64 bit addressing. To generate 32 bit versions, run the bmake script with a flag "32":
bmake 32
Both 32 and 64 bit versions of Bsoft can coexist by maintaining two separate bsoft directories. Under IRIX64, be sure to distinguish 32 and 64 bit versions clearly with the LD_LIBRARYN32_PATH and LD_LIBRARY64_PATH variables.
Under Mac OSX, both 32 and 64 bit, as well as PowerPC and Intel versions of Bsoft will be compiled into single binaries and libraries ("Universal applications").