| Line 71... |
Line 71... |
| 71 |
appropriate environment variables set.
|
71 |
appropriate environment variables set.
|
| 72 |
Edit MkRules to set the appropriate paths as needed.
|
72 |
Edit MkRules to set the appropriate paths as needed.
|
| 73 |
BEWARE: MkRules contains tabs and some editors (e.g. WinEdt) silently
|
73 |
BEWARE: MkRules contains tabs and some editors (e.g. WinEdt) silently
|
| 74 |
remove them.
|
74 |
remove them.
|
| 75 |
|
75 |
|
| 76 |
Do not use paths with spaces in: you can always use the short forms.
|
76 |
Do not use filepaths with spaces in: you can always use the short forms
|
| - |
|
77 |
(found by dir /x at the Windows command line).
|
| 77 |
Do not use unnecessary quotes in your PATH variable.
|
78 |
Do not use unnecessary quotes in your PATH variable.
|
| 78 |
Do not have our toolset and any other version of cygwin1.dll in your path.
|
79 |
Do not have our toolset and any other version of cygwin1.dll in your path.
|
| 79 |
|
80 |
|
| 80 |
|
81 |
|
| 81 |
BEWARE: if you have Norton Anti-Virus you may need to disable it.
|
82 |
BEWARE: if you have Norton Anti-Virus you may need to disable it.
|
| Line 97... |
Line 98... |
| 97 |
|
98 |
|
| 98 |
At this point there are two approaches:
|
99 |
At this point there are two approaches:
|
| 99 |
|
100 |
|
| 100 |
1) Streamlined way
|
101 |
1) Streamlined way
|
| 101 |
|
102 |
|
| 102 |
Assuming that ...\rw1050\bin is in your path, use
|
103 |
Assuming that ...\rw10xx\bin is in your path, use
|
| 103 |
|
104 |
|
| 104 |
Rcmd INSTALL package
|
105 |
Rcmd INSTALL package
|
| 105 |
|
106 |
|
| 106 |
where `package' can be a directory or a .tar.gz file. See
|
107 |
where `package' can be a directory or a .tar.gz file. See
|
| 107 |
Rcmd INSTALL --help for a full list of options, which include
|
108 |
Rcmd INSTALL --help for a full list of options, which include
|
| Line 110... |
Line 111... |
| 110 |
--docs=TYPE type(s) of documentation to build and install
|
111 |
--docs=TYPE type(s) of documentation to build and install
|
| 111 |
--use-zip-data collect data files in zip archive
|
112 |
--use-zip-data collect data files in zip archive
|
| 112 |
--use-zip-help collect help and examples into zip archives
|
113 |
--use-zip-help collect help and examples into zip archives
|
| 113 |
--use-zip combine `--use-zip-data' and `--use-zip-help'
|
114 |
--use-zip combine `--use-zip-data' and `--use-zip-help'
|
| 114 |
|
115 |
|
| 115 |
TYPE can be "none" or "normal" or "chm" (the default) or "winhlp" or "all"
|
116 |
TYPE can be "none" or "normal" or "chm" (the default) or "all"
|
| 116 |
|
117 |
|
| 117 |
|
118 |
|
| 118 |
2) Manual `full-control'
|
119 |
2) Manual `full-control'
|
| 119 |
|
120 |
|
| 120 |
For each package you want to install, unpack it to a directory, say
|
121 |
For each package you want to install, unpack it to a directory, say
|
| Line 188... |
Line 189... |
| 188 |
Use `Rcmd check --help' for full details. There is an analogous call for
|
189 |
Use `Rcmd check --help' for full details. There is an analogous call for
|
| 189 |
build.
|
190 |
build.
|
| 190 |
|
191 |
|
| 191 |
You may need to set TMPDIR to (the absolute path to) a suitable
|
192 |
You may need to set TMPDIR to (the absolute path to) a suitable
|
| 192 |
temporary directory: the default is c:/TEMP. (Use forward slashes,
|
193 |
temporary directory: the default is c:/TEMP. (Use forward slashes,
|
| 193 |
although the code will try to convert backslashes as from 1.7.0.)
|
194 |
although the code will try to convert backslashes as from 1.7.0. Do
|
| - |
|
195 |
not have spaces in the filepath, although from 1.9.0 we attempt to
|
| - |
|
196 |
work around this.)
|
| 194 |
|
197 |
|
| 195 |
These have been used successfully under NT/2000/XP. We have seen
|
198 |
These have been used successfully under NT/2000/XP. We have seen
|
| 196 |
problems with some Perl versions on Win 95/98/ME, but believe these
|
199 |
problems with some Perl versions on Win 95/98/ME, but believe these
|
| 197 |
are now resolved. make pkgcheck-mypkg will perform the tests of the
|
200 |
are now resolved. make pkgcheck-mypkg will perform the tests of the
|
| 198 |
examples and tests directory, as far as we know on all versions of Windows.
|
201 |
examples and tests directory, as far as we know on all versions of Windows.
|
| Line 338... |
Line 341... |
| 338 |
|
341 |
|
| 339 |
It may well be simpler to use
|
342 |
It may well be simpler to use
|
| 340 |
|
343 |
|
| 341 |
Rcmd INSTALL -l /R/library /mysources/mypkg
|
344 |
Rcmd INSTALL -l /R/library /mysources/mypkg
|
| 342 |
|
345 |
|
| - |
|
346 |
Once again, if the paths contain spaces use the short forms, although
|
| - |
|
347 |
Rcmd INSTALL will attempt to convert the paths if needed (but they
|
| - |
|
348 |
will need to be quoted on the command line).
|
| - |
|
349 |
|
| 343 |
|
350 |
|
| 344 |
Cross-building packages on Linux
|
351 |
Cross-building packages on Linux
|
| 345 |
================================
|
352 |
================================
|
| 346 |
|
353 |
|
| 347 |
It is straightforward to build a package on a ix86-linux system,
|
354 |
It is straightforward to build a package on a ix86-linux system,
|