 |
|
|
| |
1 Here some unconfirmed instructions for how to setup Amd on a MAC OS-X
2 machine. Please direct all comments about this information, as well fixes,
3 updates, and corrections to the am-utils mailing list (see
4 www.am-utils.org).
5
6 Thanks,
7 Erez.
8
9 --cut--here----cut--here----cut--here----cut--here----cut--here----cut--here--
10
11
12 Date: Fri, 28 Jan 2005 06:53:50 -0800
13 From: Kevin Layer
14
15 The stock amd didn't work for us in Mac OS X 10.3.
16 Here's how we installed am-utils-6.1-20031025:
17
18 ./configure --prefix=/usr
19 make
20 make install
21
22 Create /System/Library/StartupItems/AMD with the files:
23
24 AMD
25 Resources/ -- copy from other directories in ..
26 StartupParameters.plist
27
28 Then, make sure that AMDSERVER=-YES- is added to /etc/hostconfig.
29
30 ******************* the file AMD:
31
32 #!/bin/sh
33
34 ##
35 # Start AMD
36 ##
37
38 . /etc/rc.common
39
40 if [ "${AMDSERVER:=-NO-}" = "-YES-" ]; then
41 ConsoleMessage "Starting AMD server"
42
43 if [ ! -f /etc/amd.conf -a -r /etc/amd.conf.template ]; then
44 cp /etc/amd.conf.template /etc/amd.conf
45 fi
46 if [ ! -f /etc/amd.map -a -r /etc/amd.map.template ]; then
47 cp /etc/amd.map.template /etc/amd.map
48 fi
49 /usr/sbin/amd
50 fi
51
52 ******************* the file StartupParameters.plist:
53
54 {
55 Description = "AMD server";
56 Provides = ("AMD");
57 Requires = ("Resolver");
58 OrderPreference = "None";
59 Messages =
60 {
61 start = "Starting AMD server";
62 stop = "Stopping AMD server";
63 };
64 }
65
66 *******************
67
68 With the beta's of 10.4 (64-bit) we're having issues with realpath()
69 and amd mounted directories, but hopefully this is just a bug that
70 they'll fix.
71
72 --
73 Kevin Layer http://www.franz.com/
74