Debian Codegraph @

README.OSX

raw
1 $Id$
2
3 For uptodate information about RXTX goto http://www.rxtx.org
4
5
6 ------------------------ Installation on MacOSX -----------------------
7
8 WARNING: Please read this section until the end.
9
10 ----
11 The unsafe way of using RXTX on OS X:
12 ----
13
14 RXTX can be installed by putting the files
15 libSerial.jnilib
16 RXTXcomm.jar
17 into the folder
18 /Library/Java/Extensions
19
20 This is NOT RECOMMENDED as it creates versioning conflicts among applications.
21 However you may be forced to install it this way if an application was written
22 for Windows or Linux, requires RXTX and you are not able to change its starter.
23
24
25 ----
26 The safe way of using RXTX on OS X:
27 ----
28
29 Make sure that you have no (older) version of RXTX installed in
30 /Library/Java/Extensions
31 /System/Library/Java/Extensions
32 /usr/lib/java
33
34 Put
35 libSerial.jnilib
36 in the directory of the application (the JavaVM will find it there). Add
37 RXTXComm.jar
38 to the application classpath or include the classes in the application jar.
39 (Some applications already include the RXTX classes in their application jar,
40 in which case only the file libSerial.jnilib is required).
41
42
43
44 ----
45 History
46 ----
47
48 Up to version 2.0.7/2.1.7 RXTX used lockfiles on MacOSX. The creation of lockfiles
49 required special permissions for the user executing an application based on RXTX.
50 To simplify the setup RXTX came with an installer modifying group permissions
51 and installing RXTX in the global location /Library/Java/Extensions. However
52 this was prune to versioning conflicts and is no longer recommended.
53
54 --------------------- Build instructions for OSX XCode -------------------
55
56 contributed by Joachim Buechse <[email protected]>
57 original version by Dmitry Markman <[email protected]>
58
59 System requirements for building:
60 MacOSX 10.4
61 XCode 2.3
62
63 open MACOSX_IDE/XCode/LibSerialUniversal.xcodeproj
64 choose libSerial.jnilib target
65 build
66
67 After the build you will find RXTXcomm.jar and libSerial.jnilib files in the
68 directory build/Development.
69
70 In case you can't find RXTXcomm.jar build the RXTXcomm target manually.
71 In case of (serious) problems feel free to contact [email protected] .
72
73 --------------------- Gnu Tool Builds -----------------------
74
75 If you are going to try building rxtx on Mac OS X, we recommend you use
76 rxtx 1.5. 1.4 would require substantial modification to the Makefile to
77 get the build to work.
78
79 Mac OS X has some issues with libtool at this time. This makes building
80 rxtx much more difficult.
81
82 The current solution is to take an automatically generated Makefile and then
83 manually edit it.
84
85 One such Makefile is provided to help build rxtx. The file will probably
86 need to be edited to match your system configuration. If you would like to
87 add more information for other Mac OS X users please email
88
89 [email protected].
90
91 We are sorry the build process is not easier. A great deal of effort was
92 put into trying to automate the builds without luck.