author | A.M. Thurnherr <athurnherr@yahoo.com> |
Fri, 03 Jul 2020 10:25:08 -0400 | |
changeset 12 | 5e67754f6457 |
parent 5 | f41d45fe7ae9 |
permissions | -rw-r--r-- |
0 | 1 |
====================================================================== |
2 |
R E A D M E . M A C O S X |
|
3 |
doc: Thu Jan 19 09:43:38 2006 |
|
5 | 4 |
dlm: Fri Dec 10 15:25:26 2010 |
0 | 5 |
(c) 2006 A.M. Thurnherr |
5 | 6 |
uE-Info: 84 0 NIL 0 0 72 3 2 4 NIL ofnI |
0 | 7 |
====================================================================== |
8 |
||
9 |
This file contains MacOSX-specific notes for installing and running the |
|
10 |
LDEO LADCP operator scripts. |
|
11 |
||
12 |
====================================================================== |
|
13 |
PREREQUISITE SOFTWARE |
|
14 |
====================================================================== |
|
15 |
||
16 |
NOTE: It it necessary to have the developer tools installed (supplied |
|
17 |
on DVD with new computer). |
|
18 |
||
19 |
------- |
|
20 |
1. perl |
|
21 |
------- |
|
22 |
||
23 |
perl is part of the standard Mac installation (or perhaps of the |
|
24 |
developer tools --- I am not sure). In order to test it, run |
|
25 |
||
26 |
/usr/bin/perl -e 'use threads' |
|
27 |
||
28 |
If perl is not in /usr/bin, the 1st line of [bbabble] has to be |
|
29 |
modified. |
|
30 |
||
31 |
||
32 |
------ |
|
33 |
2. gcc |
|
34 |
------ |
|
35 |
||
36 |
gcc, a C pre-processor, is part of the developer tools. In order to |
|
37 |
test it, run |
|
38 |
||
39 |
gcc -E /usr/include/stdio.h > /dev/null |
|
40 |
||
41 |
If you don't have gcc installed you'll have to modify [bbabble]. This is |
|
42 |
for perl/system programming experts only. |
|
43 |
||
44 |
||
45 |
------ |
|
46 |
3. lrb |
|
47 |
------ |
|
48 |
||
49 |
lrb is the receiver-component of a public-domain implementation of the |
|
50 |
ymodem protocol called lrzsz. It can be downloaded from |
|
51 |
http://www.ohse.de/uwe/software/lrzsz.html. However, since the version |
|
52 |
has not changed since December 1998 (version 0.12.20) the corresponding |
|
53 |
tar file (lrzsz-0.12.20.tar.gz) is included in this directory. |
|
54 |
||
55 |
In order to test whether lrb is already installed, run |
|
56 |
||
57 |
lrb --help |
|
58 |
||
59 |
In order to install lrb, run the following commands: |
|
60 |
||
61 |
tar xfz lrzsz-0.12.20.tar.gz |
|
62 |
cd lrzsz-0.12.20 |
|
63 |
./configure |
|
64 |
make |
|
65 |
sudo make install |
|
66 |
||
67 |
||
68 |
--------- |
|
69 |
4. expect |
|
70 |
--------- |
|
71 |
||
72 |
expect is part of the standard Mac installation (or perhaps of the |
|
73 |
developer tools --- I am not sure). In order to test it, run |
|
74 |
||
75 |
/usr/bin/expect < /dev/null |
|
76 |
||
77 |
If expect does not reside in /usr/bin, you'll have to edit all the |
|
78 |
operator scripts (grep -l /usr/bin/expect *). |
|
79 |
||
5 | 80 |
------------------- |
81 |
5. mkProfile/scanbb |
|
82 |
------------------- |
|
83 |
||
84 |
mkProfile is part of the LADCP_perl-tools collection available |
|
85 |
from the LDEO LADCP repository. |
|
0 | 86 |
|
87 |
scanbb is part of Eric Firing's LADCP processing software, which is |
|
5 | 88 |
available from http://moli.soest.hawaii.edu/software/ladcp. |
89 |
||
90 |
If neither mkProfile nor scanbb are available, LADCP-data-file checking |
|
91 |
can be disabled by modifying the procedure check_data in |
|
92 |
[CRUISE_SETUP.expect]. This is not recommended, however. |
|
0 | 93 |
|
94 |
====================================================================== |
|
95 |
TTY DEVICE NAMES |
|
96 |
====================================================================== |
|
97 |
||
98 |
Since modern Apple computers do not have any RS-232 ports the ADCPs |
|
99 |
must be connected via another interface, usually USB. Every |
|
100 |
USB-to-serial adapter uses different device names, but the devices |
|
101 |
appear in /dev only only when the adapter is connected, i.e. you can |
|
102 |
find the device names by comparing the contents of /dev with and |
|
103 |
without the adapter connected. |
|
104 |
||
105 |
In case of the KeySpan adapters that we are using at Lamont, each |
|
106 |
serial line has two associated /dev entries: /dev/tty.* and /dev/cu.* |
|
107 |
--- ONLY /dev/cu.* WORKS!!! With the current driver version, the first |
|
108 |
device is called /dev/cu.KeySerial1, but the second one has a |
|
109 |
"geographical" (containing bus number, &c) name, such as |
|
110 |
/dev/cu.USA49W3b13P2.2. The name depends on where it is plugged in, |
|
4
fda11de1826e
version left on Poseidon at end of P403
A.M. Thurnherr <ant@ldeo.columbia.edu>
parents:
0
diff
changeset
|
111 |
i.e. [CRUISE_SETUP.expect] MAY HAVE TO BE MODIFIED AFTER RE-CONNECTING |
fda11de1826e
version left on Poseidon at end of P403
A.M. Thurnherr <ant@ldeo.columbia.edu>
parents:
0
diff
changeset
|
112 |
THE USB CABLE(S). |
0 | 113 |