File: README.os2

package info (click to toggle)
perl-tk 1:804.033-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 34,724 kB
  • ctags: 37,174
  • sloc: ansic: 349,541; perl: 52,192; sh: 17,904; makefile: 5,732; asm: 3,565; ada: 1,681; pascal: 1,089; cpp: 1,006; yacc: 883; cs: 879
file content (84 lines) | stat: -rw-r--r-- 2,231 bytes parent folder | download | duplicates (7)
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
There are 3 different ways to compile Tk under OS/2: for XFree86, for Open32
(this is IBM's porting level above Win32), and for PM.

To compile for Open32 and PM you need additional files, available in
$CPAN/ports/os2/tk/.  To be safe, download all of them, and unzip the files
with patches to be ready to apply.  If you work with a release of Tk later
than 402.001, some of the patches may be already applied, so use your
best judgement.

!!! You do not need to apply patches to .../os2/* files, they are
already applied !!!  Just ignore the patches not mentioned below.  (You
may want to apply one of them in reverse (-R to gnupatch) to get a source for
tcl/Tk.  Another one need to stay, it corrects bugs.)

A lot of problems are unresolved.  Please be patient.  All the Tk-ish
problem in tcl/tk port PLUS unability to do fileevents are

Building for PM
~~~~~~~~~~~~~~~
a) Unzip both
	perltk_os2_pm.zip
	perltk_os2_common.zip
   inside the main Tk directory.
b) Apply the patches in
	diff_pTk_for_os2_402
	diff_mTk_for_os2_402
   with
	gnupatch -p1 < patch-file-name |& tee 00patch
   or
	gnupatch -p1 < patch-file-name
c) Do
	perl Makefile.PM pm
	make
	addres
	perl__ -Mblib basic_demo
	perl__ -Mblib demos/widget
	make install
d) Do not forget you need to use perl__ to run PM programs instead of
   just perl!

Building for Open32
~~~~~~~~~~~~~~~~~~~
a) Unzip
	perltk_os2_common.zip
   inside the main Tk directory.
b) Apply the patches in
	diff_pTk_for_os2_402
	diff_mTk_for_os2_402
   with
	gnupatch -p1 < patch-file-name |& tee 00patch
   or
	gnupatch -p1 < patch-file-name
c) Do
	perl Makefile.PM open32
	make
	addres
	perl__ -Mblib basic_demo
	perl__ -Mblib demos/widget
	make install
d) Do not forget you need to use perl__ to run PM programs!

Building for XFree86
~~~~~~~~~~~~~~~~~~~~
a) Apply the patches in
	diff_pTk_for_os2_402
	diff_mTk_for_os2_402
   with
	gnupatch -p1 < patch-file-name |& tee 00patch
   or
	gnupatch -p1 < patch-file-name
b) Do
	perl Makefile.PM x
	make
	perl -Mblib basic_demo
	perl -Mblib demos/widget
	make install

Authors:
~~~~~~~

PM code for tcl/Tk:
	Illya Vaes, ivaes@hr.ns.nl
Port to Open32, XFree86-OS/2, adaptation of PM code to Perl/Tk:
	Ilya Zakharevich, ilya@math.ohio-state.edu