File: MacOSX

package info (click to toggle)
rxtx 1.5.9pre5-1
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 2,820 kB
  • ctags: 2,412
  • sloc: ansic: 9,808; sh: 7,685; java: 4,352; cpp: 2,707; makefile: 132
file content (118 lines) | stat: -rw-r--r-- 3,785 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
This is MacOSX.  Last modified: Thu Oct  4 19:34:31 MDT 2001

--------------------- Code Warrior and ProjectBuilder Builds -------------------

contributed by Dmitry Markman <dimitry.markman@verizon.net>


1.5 release of RXTX - GNU implementation of communication API for JAVA
was released today:
http://www.rxtx.org

MAC OS X specific notes:

System requirement:
OS:	MAC OS X 10.1
10.0.X users, (I didn't check it)
expand file RXTX.pkg.sit.hqx (MACOSX_IDE/ForPackageMaker folder)
try to install RXTX binaries from MACOSX_IDE/ForPackageMaker/RXTX.pkg
and read AFTER INSTALLATION notes below

ProjectBuilder 1.1 (from 10.1 tools)
or
CodeWarrior 7

1. go to MACOSX_IDE folder


  2.ProjectBuilder development
    goto folder PB
	expand file LibSerial.pbproj.sit.hqx
	open LibSerial.pbproj project
	choose libSerial.jnilib target
        build
	after build you will find RXTXcomm.jar and libSerial.jnilib files in the
build directory
	(if you can't find RXTXcomm.jar (unlikely) build RXTXcomm target manually)

3. CodeWarrior
	open libSerial.mcp project
	goto jnilib target
	build
	after build you will find RXTXcomm.jar and libSerial.jnilib files in the
project's directory
	(if you can't find RXTXcomm.jar (unlikely) build java target manually)
	

INSTALLATION:
	MANUALLY:
		copy RXTXcomm.jar -> /Library/Java/Extensions
		copy libSerial.jnilib -> /Library/Java/Extensions
		use sudo command if it's necessary
	
	PackageMaker package:
		CodeWarrior developers: before starting creating installation 
package do following step:
			copy RXTXcomm.jar into 
MACOSX_IDE/ForPackageMaker/Install/System/Library/Frameworks/JavaVM.framework/
Home/lib/ext
			copy libSerial.jnilib into 
MACOSX_IDE/ForPackageMaker/Install/usr/lib/java folder

		open file RXTX.pmsp
		fix absolute path to Install and Resources folder
		it should point to MACOSX_IDE/ForPackageMaker/Install
		and MACOSX_IDE/ForPackageMaker/Resources
		respectively
		create package - PACKAGE's NAME MUST BE RXTX.pkg
		(if you want to change Readme or Welcome messages you may edit
		files Readme.rtf or Welcome.rtf from 
MACOSX_IDE/ForPackageMaker/Resources folder)

AFTER INSTALLATION VERY IMPORTANT
	check existence of the folder /var/spool/uucp
	if you don't have it create it with command
	sudo mkdir /var/spool/uucp
	permissions should be: drwxrwxr-x
	if they are not do command
	sudo chmod 775 /var/spool/uucp

	YOU should be a member of the uucp group
	you can check it with command
		niutil -readprop / /groups/uucp users
	you should see your name in output of the niutil command
	if you don't do following:
		sudo niutil -appendprop / /groups/uucp users <yourname>
			substitute  <yourname> with your user's name
			for example if your user name is peter:
				sudo niutil -appendprop / /groups/uucp users peter

	NOTES: RXTX.pkg should create uucp folder and insert your name  in 
uucp group automatically

THAT's IT!!!!!!!!!
if you have any problem, don't hesitate, send me email 
dimitry.markman@verizon.net

Dmitry Markman, PhD

--------------------- Gnu Tool Builds -----------------------

If you are going to try building rxtx on Mac OS X, we recommend you use
rxtx 1.5.   1.4 would require substantial modification to the Makefile to
get the build to work.

Mac OS X has some issues with libtool at this time.  This makes building
rxtx much more difficult.

The current solution is to take an automatically generated Makefile and then
manually edit it.

One such Makefile is provided to help build rxtx.  The file will probably
need to be edited to match your system configuration.  If you would like to
add more information for other Mac OS X users please email

	trentjarvi@yahoo.com

We are sorry the build process is not easier.  A great deal of effort was
put into trying to automate the builds without luck.