| |||
PhysioToolkit
|
Advanced Search |
Tour |
Mirrors How to Cite | Contributing | FAQ |
||
| |||
| To install and use the WFDB
Software Package successfully, you must know how to use the Terminal
application and the Unix shell. If you do not consider yourself comfortable
with common Unix commands, and with the distinction between running programs as
an ordinary user and as root, please find and study a good reference on the
subject, such as David Pogue's Mac OS X: The Missing Manual, or Dave
Taylor and Jerry Peek's Learning Unix for Mac OS X (both published by
O'Reilly), or get the help of a local expert.
What you need to know is not difficult to learn, but it is very different from the classic MacOS interface and may require a period of adjustment. Do not attempt to learn Unix while trying to install the WFDB Software Package. You have been warned! The WFDB Software Package has been successfully compiled under Mac OS X 10.2 (Darwin 6.0.1) and 10.3. It should also work under 10.1, but this has not been tested. Thanks to Isaac Henry for the original port of the WFDB Software Package to Mac OS X, and for documenting most of the procedure outlined below; to David T. Linker, MD, of the University of Washington, for providing instructions for compiling WAVE under Mac OS X; and to Prof. Logan Donaldson, of York University (Toronto), for the port of the XView toolkit to Mac OS X that made David's port of WAVE possible. |
export EDITOR=/usr/bin/emacsto the file named .bashrc in your home directory.
If you download the sources (recommended):
tar xfvz wfdb.tar.gzIf your web browser decompressed the archive, use this command instead:
tar xfv wfdb.tar
Unpacking the archive creates a directory with a name of the form wfdb-10.m.n.
cd wfdb-10.m.n ./configure sudo make installThe sudo command prompts for your password, needed in order to install the package in subdirectories of /usr. If you do not have sudoer permissions, you may install the package in any writable directory by running make directly, adding an appropriate option:
make install WFDBROOT=/path/to/another/directoryNote that in this case you will need to add WFDBROOT/bin to your PATH, and WFDBROOT/lib to your DYLD_LIBRARY_PATH.
make checkThis step compiles a short program that exercises the WFDB library, prints a summary of test results, and prompts you to press <Enter>. After you have done so, the WFDB applications are tested. The tests are very short (typically less than a second each), except that the last one (xform using NETFILES) may take up to a minute if you have a slow or inoperative Internet connection. If any application test fails, its output can be found in the checkpkg subdirectory of the WFDB source tree; compare this output with the files of the same names that can be found in the checkpkg/expected subdirectory.
cd wfdb-10.m.n-PowerMacintosh-Darwin
sudo cp -pr . /usr
startx &
wave -r mitdb/200 -a atr
Note that WAVE's menus (marked with a
) are opened using a right click; if you have a
one-button mouse, simulate a right click by pressing and holding the
apple key while clicking. Annotation editing requires the use of the
middle button, which can be simulated by using the option key while
clicking.
If you have not used WAVE before, you may want to follow through the tutorial
material in the beginning of the WAVE User's
Guide.
| Send feedback about this page to PhysioNet |
|
Your comments and suggestions are welcome. We encourage you to use our feedback form to comment on this page. If you would like to receive a reply, please send your comments by email to webmaster@physionet.org, or post them to: MIT Room E25-505A 77 Massachusetts Avenue Cambridge, MA 02139 USA |
![]() |
Updated Wednesday, 18-Jan-2006 10:36:38 EST