author | A.M. Thurnherr <ant@ldeo.columbia.edu> |
Tue, 14 Sep 2010 13:34:39 -0400 | |
changeset 4 | fda11de1826e |
parent 0 | 648bde652211 |
child 5 | f41d45fe7ae9 |
permissions | -rw-r--r-- |
0 | 1 |
====================================================================== |
2 |
R E A D M E . F R E E B S D |
|
3 |
doc: Thu Jan 19 09:43:38 2006 |
|
4
fda11de1826e
version left on Poseidon at end of P403
A.M. Thurnherr <ant@ldeo.columbia.edu>
parents:
0
diff
changeset
|
4 |
dlm: Thu Aug 26 00:18:00 2010 |
0 | 5 |
(c) 2006 A.M. Thurnherr |
4
fda11de1826e
version left on Poseidon at end of P403
A.M. Thurnherr <ant@ldeo.columbia.edu>
parents:
0
diff
changeset
|
6 |
uE-Info: 92 37 NIL 0 0 72 3 2 4 NIL ofnI |
0 | 7 |
====================================================================== |
8 |
||
9 |
This file contains FreeBSDE-specific notes for installing and running |
|
10 |
bbabble and the LDEO LADCP operator scripts. |
|
11 |
||
12 |
====================================================================== |
|
13 |
PREREQUISITE SOFTWARE |
|
14 |
====================================================================== |
|
15 |
||
16 |
------- |
|
17 |
1. perl |
|
18 |
------- |
|
19 |
||
20 |
perl is part of the standard FreeBSD installation. In order to test it, |
|
21 |
run |
|
22 |
||
23 |
/usr/bin/perl -e 'use threads' |
|
24 |
||
25 |
If there is an error, a threaded perl has to be installed (possibly by |
|
26 |
local compilation). |
|
27 |
||
28 |
If the perl executable does not reside in /usr/bin, the 1st line of |
|
29 |
[bbabble] has to be 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 NOT part of the standard FreeBSD installation and must be |
|
73 |
installed separately (e.g. from /usr/ports/lang/expect). In order to |
|
74 |
test it, run |
|
75 |
||
76 |
/usr/bin/expect < /dev/null |
|
77 |
||
78 |
If expect does not reside in /usr/bin, you'll have to edit all the |
|
79 |
operator scripts (grep -l /usr/bin/expect *). |
|
80 |
||
81 |
||
82 |
--------- |
|
83 |
5. scanbb |
|
84 |
--------- |
|
85 |
||
86 |
scanbb is part of Eric Firing's LADCP processing software, which is |
|
87 |
available from http://moli.soest.hawaii.edu/software/ladcp. While |
|
88 |
binary versions are available for a variety of systems, FreeBSD is not |
|
89 |
one of them (although the linux binary may work). Compilation is |
|
90 |
non-trivial and requires hacking of the source. If scanbb is not |
|
91 |
available, LADCP-data-file checking can be disabled by modifying the |
|
4
fda11de1826e
version left on Poseidon at end of P403
A.M. Thurnherr <ant@ldeo.columbia.edu>
parents:
0
diff
changeset
|
92 |
procedure check_data in [CRUISE_SETUP.expect]. This is not recommended, |
0 | 93 |
however. |
94 |
||
95 |
||
96 |
====================================================================== |
|
97 |
TTY DEVICE NAMES |
|
98 |
====================================================================== |
|
99 |
||
100 |
Each serial port on a FreeBSD system is associated with two separate |
|
101 |
tty special files, e.g. /dev/ttyd0 and /dev/cuad0 in case of the first |
|
102 |
built-in RS-232 port (com1 to those from underpriviledged backgrounds). |
|
103 |
ONLY THE CALLOUT VERSION (/dev/cu*) CAN BE USED. THE NON-CALLOUT VERSION |
|
104 |
(/dev/tty*) WILL CAUSE bbabble TO BLOCK ON STARTUP WITHOUT ANY ERROR |
|
105 |
MESSAGE! |
|
106 |