perlmodinstall >
5.16.1
との差分
perlmodinstall 5.16.1 と 5.18.1 の差分
| 1 | 1 | |
| 2 | 2 | =encoding utf8 |
| 3 | 3 | |
| 4 | 4 | =head1 NAME |
| 5 | 5 | |
| 6 | 6 | =begin original |
| 7 | 7 | |
| 8 | 8 | perlmodinstall - Installing CPAN Modules |
| 9 | 9 | |
| 10 | 10 | =end original |
| 11 | 11 | |
| 12 | 12 | perlmodinstall - CPAN モジュールのインストール |
| 13 | 13 | |
| 14 | 14 | =head1 DESCRIPTION |
| 15 | 15 | |
| 16 | 16 | =begin original |
| 17 | 17 | |
| 18 | 18 | You can think of a module as the fundamental unit of reusable Perl |
| 19 | 19 | code; see L<perlmod> for details. Whenever anyone creates a chunk of |
| 20 | 20 | Perl code that they think will be useful to the world, they register |
| 21 | 21 | as a Perl developer at http://www.cpan.org/modules/04pause.html |
| 22 | 22 | so that they can then upload their code to the CPAN. The CPAN is the |
| 23 | 23 | Comprehensive Perl Archive Network and can be accessed at |
| 24 | 24 | http://www.cpan.org/ , and searched at http://search.cpan.org/ . |
| 25 | 25 | |
| 26 | 26 | =end original |
| 27 | 27 | |
| 28 | 28 | モジュールは、再利用可能な Perl コードの基本単位と考えることができます; |
| 29 | 29 | 詳しくは、L<perlmod> を参照してください。 |
| 30 | 30 | 誰かが世界に役立つと思う Perl コードの塊を作成したら、 |
| 31 | 31 | http://www.cpan.org/modules/04pause.html に Perl 開発者として登録し、 |
| 32 | 32 | CPAN にコードをアップロードできるようにします。 |
| 33 | 33 | CPAN は Comprehensive Perl Archive Network で、 |
| 34 | 34 | http://www.cpan.org/ でアクセスでき、http://search.cpan.org/ で検索できます。 |
| 35 | 35 | |
| 36 | 36 | =begin original |
| 37 | 37 | |
| 38 | 38 | This documentation is for people who want to download CPAN modules |
| 39 | 39 | and install them on their own computer. |
| 40 | 40 | |
| 41 | 41 | =end original |
| 42 | 42 | |
| 43 | 43 | この文書は、CPAN モジュールをダウンロードして自分のコンピュータに |
| 44 | 44 | インストールしたい人のためのものです。 |
| 45 | 45 | |
| 46 | 46 | =head2 PREAMBLE |
| 47 | 47 | |
| 48 | 48 | =begin original |
| 49 | 49 | |
| 50 | 50 | First, are you sure that the module isn't already on your system? Try |
| 51 | 51 | C<perl -MFoo -e 1>. (Replace "Foo" with the name of the module; for |
| 52 | instance, C<perl -MCGI::Carp -e 1>. | |
| 52 | instance, C<perl -MCGI::Carp -e 1>.) | |
| 53 | 53 | |
| 54 | 54 | =end original |
| 55 | 55 | |
| 56 | 56 | まず、モジュールがまだシステムにインストールされていないことを |
| 57 | 57 | 確認しましたか? |
| 58 | C<perl -MFoo -e 1> を試してみてください | |
| 58 | C<perl -MFoo -e 1> を試してみてください。 | |
| 59 | ||
| 59 | ("Foo" をモジュールの名前に置き換え、 | |
| 60 | 例えば C<perl -MCGI::Carp -e 1> のようにします。) | |
| 60 | 61 | |
| 61 | 62 | =begin original |
| 62 | 63 | |
| 63 | 64 | If you don't see an error message, you have the module. (If you do |
| 64 | 65 | see an error message, it's still possible you have the module, but |
| 65 | 66 | that it's not in your path, which you can display with C<perl -e |
| 66 | 67 | "print qq(@INC)">.) For the remainder of this document, we'll assume |
| 67 | 68 | that you really honestly truly lack an installed module, but have |
| 68 | 69 | found it on the CPAN. |
| 69 | 70 | |
| 70 | 71 | =end original |
| 71 | 72 | |
| 72 | 73 | エラーメッセージが表示されない場合は、モジュールがあります |
| 73 | 74 | (エラーメッセージが表示された場合は、モジュールはまだありますが、 |
| 74 | 75 | そのモジュールがパスにない可能性があります。 |
| 75 | 76 | パスは C<perl -e "print qq(@INC)"> で表示できます)。 |
| 76 | 77 | この文書の残りの部分では、そのモジュールは実際に本当に絶対に |
| 77 | 78 | インストールされておらず、 |
| 78 | 79 | しかし CPAN 上にはモジュールがあると仮定します。 |
| 79 | 80 | |
| 80 | 81 | =begin original |
| 81 | 82 | |
| 82 | 83 | So now you have a file ending in .tar.gz (or, less often, .zip). You |
| 83 | 84 | know there's a tasty module inside. There are four steps you must now |
| 84 | 85 | take: |
| 85 | 86 | |
| 86 | 87 | =end original |
| 87 | 88 | |
| 88 | 89 | それで、今あなたは .tar.gz (または、それほど頻繁ではありませんが .zip)で |
| 89 | 90 | 終わるファイルを持っています。 |
| 90 | 91 | 中においしいモジュールがあることは知っています。 |
| 91 | 92 | 次の四つのステップを踏む必要があります: |
| 92 | 93 | |
| 93 | 94 | =over 5 |
| 94 | 95 | |
| 95 | 96 | =item B<DECOMPRESS> the file |
| 96 | 97 | |
| 97 | 98 | (ファイルを B<伸張> する) |
| 98 | 99 | |
| 99 | 100 | =item B<UNPACK> the file into a directory |
| 100 | 101 | |
| 101 | 102 | (ファイルをディレクトリに B<展開> する) |
| 102 | 103 | |
| 103 | 104 | =item B<BUILD> the module (sometimes unnecessary) |
| 104 | 105 | |
| 105 | 106 | (モジュールを B<ビルド> する (不要の場合もあります)) |
| 106 | 107 | |
| 107 | 108 | =item B<INSTALL> the module. |
| 108 | 109 | |
| 109 | 110 | (モジュールを B<インストール> する) |
| 110 | 111 | |
| 111 | 112 | =back |
| 112 | 113 | |
| 113 | 114 | =begin original |
| 114 | 115 | |
| 115 | 116 | Here's how to perform each step for each operating system. This is |
| 116 | 117 | <not> a substitute for reading the README and INSTALL files that |
| 117 | 118 | might have come with your module! |
| 118 | 119 | |
| 119 | 120 | =end original |
| 120 | 121 | |
| 121 | 122 | ここでは、各オペレーティングシステムに対して各ステップを実行する方法を |
| 122 | 123 | 説明します。 |
| 123 | 124 | これは、モジュールに付属している README ファイルと INSTALL ファイルを |
| 124 | 125 | 読む代わりでは <ありません>! |
| 125 | 126 | |
| 126 | 127 | =begin original |
| 127 | 128 | |
| 128 | 129 | Also note that these instructions are tailored for installing the |
| 129 | 130 | module into your system's repository of Perl modules, but you can |
| 130 | 131 | install modules into any directory you wish. For instance, where I |
| 131 | 132 | say C<perl Makefile.PL>, you can substitute C<perl Makefile.PL |
| 132 | 133 | PREFIX=/my/perl_directory> to install the modules into |
| 133 | ||
| 134 | F</my/perl_directory>. Then you can use the modules from your Perl | |
| 134 | 135 | programs with C<use lib "/my/perl_directory/lib/site_perl";> or |
| 135 | 136 | sometimes just C<use "/my/perl_directory";>. If you're on a system |
| 136 | 137 | that requires superuser/root access to install modules into the |
| 137 | 138 | directories you see when you type C<perl -e "print qq(@INC)">, you'll |
| 138 | 139 | want to install them into a local directory (such as your home |
| 139 | 140 | directory) and use this approach. |
| 140 | 141 | |
| 141 | 142 | =end original |
| 142 | 143 | |
| 143 | 144 | また、これらの指示は、システムの Perl モジュールのリポジトリにモジュールを |
| 144 | 145 | インストールするように調整されていることにも注意してください; |
| 145 | 146 | ただし、モジュールは任意のディレクトリにインストールできます。 |
| 146 | 147 | 例えば、C<perl Makefile.PL> の場合、 |
| 147 | C< | |
| 148 | C</my/perl_directory> にインストールするために | |
| 148 | C</my/perl_directory> | |
| 149 | C<perl Makefile.PL PREFIX=/my/perl_directory> と | |
| 149 | ||
| 150 | 置き換えることができます。 | |
| 150 | 151 | 次に、Perl プログラムのモジュールを |
| 151 | 152 | C<use lib "/my/perl_directory/lib/site_perl";> で使用することもできますし、 |
| 152 | 153 | 場合によっては単に C<use "/my/perl_directory";> で使用することもできます。 |
| 153 | 154 | C<perl -e "print qq(@INC)"> と入力したときに表示されるディレクトリに |
| 154 | 155 | モジュールをインストールするためにスーパーユーザー /root アクセスを |
| 155 | 156 | 必要とするシステムを使用している場合は、ローカルディレクトリ |
| 156 | 157 | (ホームディレクトリなど)にモジュールをインストールし、 |
| 157 | 158 | この方法を使用します。 |
| 158 | 159 | |
| 159 | 160 | =over 4 |
| 160 | 161 | |
| 161 | 162 | =item * |
| 162 | 163 | |
| 163 | 164 | =begin original |
| 164 | 165 | |
| 165 | 166 | B<If you're on a Unix or Unix-like system,> |
| 166 | 167 | |
| 167 | 168 | =end original |
| 168 | 169 | |
| 169 | 170 | B<Unix または Unix 風のシステムの場合> |
| 170 | 171 | |
| 171 | 172 | =begin original |
| 172 | 173 | |
| 173 | 174 | You can use Andreas Koenig's CPAN module |
| 174 | 175 | ( http://www.cpan.org/modules/by-module/CPAN ) |
| 175 | 176 | to automate the following steps, from DECOMPRESS through INSTALL. |
| 176 | 177 | |
| 177 | 178 | =end original |
| 178 | 179 | |
| 179 | 180 | Andreas Koenig の CPAN モジュール |
| 180 | 181 | (http://www.cpan.org/modules/by-module/CPAN) を使えば、 |
| 181 | 182 | DECOMPRESS から INSTALL までのステップを自動化することができます。 |
| 182 | 183 | |
| 183 | 184 | =begin original |
| 184 | 185 | |
| 185 | 186 | A. DECOMPRESS |
| 186 | 187 | |
| 187 | 188 | =end original |
| 188 | 189 | |
| 189 | 190 | A. 伸張 |
| 190 | 191 | |
| 191 | 192 | =begin original |
| 192 | 193 | |
| 193 | 194 | Decompress the file with C<gzip -d yourmodule.tar.gz> |
| 194 | 195 | |
| 195 | 196 | =end original |
| 196 | 197 | |
| 197 | 198 | C<gzip -d yourmodule.tar.gz> でファイルを伸張します。 |
| 198 | 199 | |
| 199 | 200 | =begin original |
| 200 | 201 | |
| 201 | 202 | You can get gzip from ftp://prep.ai.mit.edu/pub/gnu/ |
| 202 | 203 | |
| 203 | 204 | =end original |
| 204 | 205 | |
| 205 | 206 | ftp://prep.ai.mit.edu/pub/gnu/ から gzip を入手できます。 |
| 206 | 207 | |
| 207 | 208 | =begin original |
| 208 | 209 | |
| 209 | 210 | Or, you can combine this step with the next to save disk space: |
| 210 | 211 | |
| 211 | 212 | =end original |
| 212 | 213 | |
| 213 | 214 | または、この手順と次の手順を組み合わせてディスク領域を節約することもできます: |
| 214 | 215 | |
| 215 | 216 | gzip -dc yourmodule.tar.gz | tar -xof - |
| 216 | 217 | |
| 217 | 218 | =begin original |
| 218 | 219 | |
| 219 | 220 | B. UNPACK |
| 220 | 221 | |
| 221 | 222 | =end original |
| 222 | 223 | |
| 223 | 224 | B. 展開 |
| 224 | 225 | |
| 225 | 226 | =begin original |
| 226 | 227 | |
| 227 | 228 | Unpack the result with C<tar -xof yourmodule.tar> |
| 228 | 229 | |
| 229 | 230 | =end original |
| 230 | 231 | |
| 231 | 232 | 結果 をC<tar -xof yourmodule.tar> で展開します。 |
| 232 | 233 | |
| 233 | 234 | =begin original |
| 234 | 235 | |
| 235 | 236 | C. BUILD |
| 236 | 237 | |
| 237 | 238 | =end original |
| 238 | 239 | |
| 239 | 240 | C. ビルド |
| 240 | 241 | |
| 241 | 242 | =begin original |
| 242 | 243 | |
| 243 | 244 | Go into the newly-created directory and type: |
| 244 | 245 | |
| 245 | 246 | =end original |
| 246 | 247 | |
| 247 | 248 | 新しく作成されたディレクトリに移動し、次のように入力します: |
| 248 | 249 | |
| 249 | 250 | perl Makefile.PL |
| 250 | 251 | make test |
| 251 | 252 | |
| 252 | 253 | =begin original |
| 253 | 254 | |
| 254 | 255 | or |
| 255 | 256 | |
| 256 | 257 | =end original |
| 257 | 258 | |
| 258 | 259 | または |
| 259 | 260 | |
| 260 | 261 | perl Makefile.PL PREFIX=/my/perl_directory |
| 261 | 262 | |
| 262 | 263 | =begin original |
| 263 | 264 | |
| 264 | 265 | to install it locally. (Remember that if you do this, you'll have to |
| 265 | 266 | put C<use lib "/my/perl_directory";> near the top of the program that |
| 266 | 267 | is to use this module. |
| 267 | 268 | |
| 268 | 269 | =end original |
| 269 | 270 | |
| 270 | 271 | とするとローカルにインストールします。 |
| 271 | 272 | (これを行う場合は、このモジュールを使うプログラムの先頭近くに |
| 272 | 273 | C<use lib "/my/perl_directory";> を置かなければならないことを |
| 273 | 274 | 覚えておいてください。) |
| 274 | 275 | |
| 275 | 276 | =begin original |
| 276 | 277 | |
| 277 | 278 | D. INSTALL |
| 278 | 279 | |
| 279 | 280 | =end original |
| 280 | 281 | |
| 281 | 282 | D. インストール |
| 282 | 283 | |
| 283 | 284 | =begin original |
| 284 | 285 | |
| 285 | 286 | While still in that directory, type: |
| 286 | 287 | |
| 287 | 288 | =end original |
| 288 | 289 | |
| 289 | 290 | そのディレクトリにある状態で、次のように入力します: |
| 290 | 291 | |
| 291 | 292 | make install |
| 292 | 293 | |
| 293 | 294 | =begin original |
| 294 | 295 | |
| 295 | 296 | Make sure you have the appropriate permissions to install the module |
| 296 | 297 | in your Perl 5 library directory. Often, you'll need to be root. |
| 297 | 298 | |
| 298 | 299 | =end original |
| 299 | 300 | |
| 300 | 301 | モジュールを Perl 5 ライブラリーディレクトリにインストールするための |
| 301 | 302 | 適切な許可を持っていることを確認してください。 |
| 302 | 303 | 多くの場合、root になる必要があります。 |
| 303 | 304 | |
| 304 | 305 | =begin original |
| 305 | 306 | |
| 306 | 307 | That's all you need to do on Unix systems with dynamic linking. |
| 307 | 308 | Most Unix systems have dynamic linking. If yours doesn't, or if for |
| 308 | 309 | another reason you have a statically-linked perl, B<and> the |
| 309 | 310 | module requires compilation, you'll need to build a new Perl binary |
| 310 | 311 | that includes the module. Again, you'll probably need to be root. |
| 311 | 312 | |
| 312 | 313 | =end original |
| 313 | 314 | |
| 314 | 315 | 動的リンク機能を備えた Unix システムで行う必要があるのはこれだけです。 |
| 315 | 316 | ほとんどの Unix システムには動的リンク機能があります。 |
| 316 | 317 | 動的リンク機能がない場合や、別の理由で静的にリンクされた perl を |
| 317 | 318 | 持っていて、B<かつ> モジュールをコンパイルする必要がある場合は、 |
| 318 | 319 | このモジュールを含む新しい Perl バイナリを作成する必要があります。 |
| 319 | 320 | ここでもおそらく root になる必要があります。 |
| 320 | 321 | |
| 321 | 322 | =item * |
| 322 | 323 | |
| 323 | 324 | =begin original |
| 324 | 325 | |
| 325 | B<If you're running ActivePerl (Win95/98/2K/NT/XP, Linux, Solaris)> | |
| 326 | B<If you're running ActivePerl (Win95/98/2K/NT/XP, Linux, Solaris),> | |
| 326 | 327 | |
| 327 | 328 | =end original |
| 328 | 329 | |
| 329 | 330 | B<ActivePerl (Win95/98/2K/NT/XP, Linux, Solaris) を実行している場合> |
| 330 | 331 | |
| 331 | 332 | =begin original |
| 332 | 333 | |
| 333 | 334 | First, type C<ppm> from a shell and see whether ActiveState's PPM |
| 334 | 335 | repository has your module. If so, you can install it with C<ppm> and |
| 335 | 336 | you won't have to bother with any of the other steps here. You might |
| 336 | 337 | be able to use the CPAN instructions from the "Unix or Linux" section |
| 337 | 338 | above as well; give it a try. Otherwise, you'll have to follow the |
| 338 | 339 | steps below. |
| 339 | 340 | |
| 340 | 341 | =end original |
| 341 | 342 | |
| 342 | 343 | まず、シェルから C<ppm> と入力して、ActiveState の PPM リポジトリに |
| 343 | 344 | あなたのモジュールがあるかどうかを確認します。 |
| 344 | 345 | もしあるなら、C<ppm> と一緒にインストールすることができますし、 |
| 345 | 346 | ここで他の手順に煩わされることもありません。 |
| 346 | 347 | 上の「Unix または Linux」セクションにある CPAN の指示も |
| 347 | 348 | 使えるかもしれません; 試してみてください。 |
| 348 | 349 | そうでなければ、以下の手順に従わなければなりません。 |
| 349 | 350 | |
| 350 | 351 | A. DECOMPRESS |
| 351 | 352 | |
| 352 | 353 | =begin original |
| 353 | 354 | |
| 354 | 355 | You can use the shareware Winzip ( http://www.winzip.com ) to |
| 355 | 356 | decompress and unpack modules. |
| 356 | 357 | |
| 357 | 358 | =end original |
| 358 | 359 | |
| 359 | 360 | シェアウェアの Winzip(http://www.winzip.com) を使用して、 |
| 360 | 361 | モジュールを伸張および展開できます。 |
| 361 | 362 | |
| 362 | 363 | B. UNPACK |
| 363 | 364 | |
| 364 | 365 | =begin original |
| 365 | 366 | |
| 366 | 367 | If you used WinZip, this was already done for you. |
| 367 | 368 | |
| 368 | 369 | =end original |
| 369 | 370 | |
| 370 | 371 | WinZip を使用している場合は、これは既に行われています。 |
| 371 | 372 | |
| 372 | 373 | C. BUILD |
| 373 | 374 | |
| 374 | 375 | =begin original |
| 375 | 376 | |
| 376 | 377 | You'll need the C<nmake> utility, available at |
| 377 | 378 | http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/nmake15.exe |
| 378 | 379 | or dmake, available on CPAN. |
| 379 | 380 | http://search.cpan.org/dist/dmake/ |
| 380 | 381 | |
| 381 | 382 | =end original |
| 382 | 383 | |
| 383 | 384 | C<nmake> ユーティリティ |
| 384 | 385 | (http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/nmake15.exe |
| 385 | 386 | から入手可能)または dmake (CPAN から入手可能)が必要です。 |
| 386 | 387 | http://search.cpan.org/dist/dmake/ |
| 387 | 388 | |
| 388 | 389 | =begin original |
| 389 | 390 | |
| 390 | 391 | Does the module require compilation (i.e. does it have files that end |
| 391 | 392 | in .xs, .c, .h, .y, .cc, .cxx, or .C)? If it does, life is now |
| 392 | 393 | officially tough for you, because you have to compile the module |
| 393 | 394 | yourself (no easy feat on Windows). You'll need a compiler such as |
| 394 | 395 | Visual C++. Alternatively, you can download a pre-built PPM package |
| 395 | 396 | from ActiveState. |
| 396 | 397 | http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ |
| 397 | 398 | |
| 398 | 399 | =end original |
| 399 | 400 | |
| 400 | 401 | モジュールをコンパイルする必要がありますか |
| 401 | 402 | (.xs, .c, .h, .y, .cc, .cxx, .C で終わるファイルがありますか)? |
| 402 | 403 | もしそうなら、人生は公式に厳しいものです; |
| 403 | 404 | なぜなら、自分でモジュールをコンパイルしなければなりません |
| 404 | 405 | (Windows では簡単にはできません)。 |
| 405 | 406 | Visual C++ などのコンパイラが必要になります。 |
| 406 | 407 | あるいは、ActiveState からビルド済みの PPM パッケージを |
| 407 | 408 | ダウンロードすることもできます。 |
| 408 | 409 | http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ |
| 409 | 410 | |
| 410 | 411 | =begin original |
| 411 | 412 | |
| 412 | 413 | Go into the newly-created directory and type: |
| 413 | 414 | |
| 414 | 415 | =end original |
| 415 | 416 | |
| 416 | 417 | 新しく作成されたディレクトリに移動し、次のように入力します: |
| 417 | 418 | |
| 418 | 419 | perl Makefile.PL |
| 419 | 420 | nmake test |
| 420 | 421 | |
| 421 | 422 | D. INSTALL |
| 422 | 423 | |
| 423 | 424 | =begin original |
| 424 | 425 | |
| 425 | 426 | While still in that directory, type: |
| 426 | 427 | |
| 427 | 428 | =end original |
| 428 | 429 | |
| 429 | 430 | そのディレクトリにいる状態で、次のように入力します。 |
| 430 | 431 | |
| 431 | 432 | nmake install |
| 432 | 433 | |
| 433 | 434 | =item * |
| 434 | 435 | |
| 435 | 436 | =begin original |
| 436 | 437 | |
| 437 | 438 | B<If you're using a Macintosh with "Classic" MacOS and MacPerl,> |
| 438 | 439 | |
| 439 | 440 | =end original |
| 440 | 441 | |
| 441 | 442 | B<Macintosh で "Classic" MacOS と MacPerl を使っているなら> |
| 442 | 443 | |
| 443 | 444 | =begin original |
| 444 | 445 | |
| 445 | 446 | A. DECOMPRESS |
| 446 | 447 | |
| 447 | 448 | =end original |
| 448 | 449 | |
| 449 | 450 | A. 伸張 |
| 450 | 451 | |
| 451 | 452 | =begin original |
| 452 | 453 | |
| 453 | 454 | First, make sure you have the latest B<cpan-mac> distribution ( |
| 454 | 455 | http://www.cpan.org/authors/id/CNANDOR/ ), which has utilities for |
| 455 | 456 | doing all of the steps. Read the cpan-mac directions carefully and |
| 456 | 457 | install it. If you choose not to use cpan-mac for some reason, there |
| 457 | 458 | are alternatives listed here. |
| 458 | 459 | |
| 459 | 460 | =end original |
| 460 | 461 | |
| 461 | 462 | まず、最新の B<cpan-mac> ディストリビューション |
| 462 | 463 | (http://www.cpan.org/authors/id/CNANDOR/) があることを確認してください; |
| 463 | 464 | このディストリビューションには、すべての手順を実行するための |
| 464 | 465 | ユーティリティがあります。 |
| 465 | 466 | cpan-mac の説明をよく読んでインストールしてください。 |
| 466 | 467 | 何らかの理由で cpan-mac を使わないことを選択した場合は、 |
| 467 | 468 | ここにリストされている他の方法があります。 |
| 468 | 469 | |
| 469 | 470 | =begin original |
| 470 | 471 | |
| 471 | 472 | After installing cpan-mac, drop the module archive on the |
| 472 | 473 | B<untarzipme> droplet, which will decompress and unpack for you. |
| 473 | 474 | |
| 474 | 475 | =end original |
| 475 | 476 | |
| 476 | 477 | cpan-mac をインストールしたら、モジュールアーカイブ を |
| 477 | 478 | B<untarzipme> droplet にドロップします。 |
| 478 | 479 | これで伸張と展開が行われます。 |
| 479 | 480 | |
| 480 | 481 | =begin original |
| 481 | 482 | |
| 482 | 483 | B<Or>, you can either use the shareware B<StuffIt Expander> program |
| 483 | 484 | ( http://my.smithmicro.com/mac/stuffit/ ) |
| 484 | 485 | or the freeware B<MacGzip> program ( |
| 485 | 486 | http://persephone.cps.unizar.es/general/gente/spd/gzip/gzip.html ). |
| 486 | 487 | |
| 487 | 488 | =end original |
| 488 | 489 | |
| 489 | 490 | B<あるいは>、シェアウェアの B<StuffIt Expander> プログラム |
| 490 | 491 | ( http://my.smithmicro.com/mac/stuffit/ ) を使うか、 |
| 491 | 492 | フリーウェアの B<MacGzip> プログラム |
| 492 | 493 | (http://persephone.cps.unizar.es/general/gente/spd/gzip/gzip.html) を |
| 493 | 494 | 使うことができます。 |
| 494 | 495 | |
| 495 | 496 | =begin original |
| 496 | 497 | |
| 497 | 498 | B. UNPACK |
| 498 | 499 | |
| 499 | 500 | =end original |
| 500 | 501 | |
| 501 | 502 | B. 展開 |
| 502 | 503 | |
| 503 | 504 | =begin original |
| 504 | 505 | |
| 505 | 506 | If you're using untarzipme or StuffIt, the archive should be extracted |
| 506 | 507 | now. B<Or>, you can use the freeware B<suntar> or I<Tar> ( |
| 507 | 508 | http://hyperarchive.lcs.mit.edu/HyperArchive/Archive/cmp/ ). |
| 508 | 509 | |
| 509 | 510 | =end original |
| 510 | 511 | |
| 511 | 512 | untarzipme や StuffIt を使用している場合は、ここでアーカイブを |
| 512 | 513 | 伸張する必要があります。 |
| 513 | 514 | B<あるいは>、フリーウェアの B<suntar> や |
| 514 | 515 | I<Tar>(http://hyperarchive.lcs.mit.edu/HyperArchive/Archive/cmp/) を |
| 515 | 516 | 使用できます。 |
| 516 | 517 | |
| 517 | 518 | =begin original |
| 518 | 519 | |
| 519 | 520 | C. BUILD |
| 520 | 521 | |
| 521 | 522 | =end original |
| 522 | 523 | |
| 523 | 524 | C. ビルド |
| 524 | 525 | |
| 525 | 526 | =begin original |
| 526 | 527 | |
| 527 | 528 | Check the contents of the distribution. |
| 528 | 529 | Read the module's documentation, looking for |
| 529 | 530 | reasons why you might have trouble using it with MacPerl. Look for |
| 530 | 531 | F<.xs> and F<.c> files, which normally denote that the distribution |
| 531 | 532 | must be compiled, and you cannot install it "out of the box." |
| 532 | 533 | (See L<"PORTABILITY">.) |
| 533 | 534 | |
| 534 | 535 | =end original |
| 535 | 536 | |
| 536 | 537 | 配布物の内容を確認してください。 |
| 537 | 538 | モジュールの文書を読み、MacPerl での使用に問題がある理由を探してください。 |
| 538 | 539 | F<.xs> ファイルと F<.c> ファイルを探してください; |
| 539 | 540 | これらのファイルは通常、配布物をコンパイルする必要があることを示しており、 |
| 540 | 541 | 「そのまま」インストールすることはできません (L<"PORTABILITY"> を参照)。 |
| 541 | 542 | |
| 542 | 543 | =begin original |
| 543 | 544 | |
| 544 | 545 | D. INSTALL |
| 545 | 546 | |
| 546 | 547 | =end original |
| 547 | 548 | |
| 548 | 549 | D. インストール |
| 549 | 550 | |
| 550 | 551 | =begin original |
| 551 | 552 | |
| 552 | 553 | If you are using cpan-mac, just drop the folder on the |
| 553 | 554 | B<installme> droplet, and use the module. |
| 554 | 555 | |
| 555 | 556 | =end original |
| 556 | 557 | |
| 557 | 558 | cpan-mac を使用している場合は、単に B<installme> droplet にフォルダを |
| 558 | 559 | ドロップし、モジュールを使用します。 |
| 559 | 560 | |
| 560 | 561 | =begin original |
| 561 | 562 | |
| 562 | 563 | B<Or>, if you aren't using cpan-mac, do some manual labor. |
| 563 | 564 | |
| 564 | 565 | =end original |
| 565 | 566 | |
| 566 | 567 | B<または>、もしあなたが cpan-mac を使っていないなら、手作業をしてください。 |
| 567 | 568 | |
| 568 | 569 | =begin original |
| 569 | 570 | |
| 570 | 571 | Make sure the newlines for the modules are in Mac format, not Unix format. |
| 571 | 572 | If they are not then you might have decompressed them incorrectly. Check |
| 572 | 573 | your decompression and unpacking utilities settings to make sure they are |
| 573 | 574 | translating text files properly. |
| 574 | 575 | |
| 575 | 576 | =end original |
| 576 | 577 | |
| 577 | 578 | モジュールの改行が Unix 形式ではなく Mac 形式であることを確認してください。 |
| 578 | 579 | そうでない場合は、正しく解凍されていない可能性があります。 |
| 579 | 580 | 伸張と展開のユーティリティの設定をチェックして、 |
| 580 | 581 | テキストファイルが正しく変換されていることを確認してください。 |
| 581 | 582 | |
| 582 | 583 | =begin original |
| 583 | 584 | |
| 584 | 585 | As a last resort, you can use the perl one-liner: |
| 585 | 586 | |
| 586 | 587 | =end original |
| 587 | 588 | |
| 588 | 589 | 最後の手段として、perl の一行野郎を使用することができます: |
| 589 | 590 | |
| 590 | 591 | perl -i.bak -pe 's/(?:\015)?\012/\015/g' <filenames> |
| 591 | 592 | |
| 592 | 593 | =begin original |
| 593 | 594 | |
| 594 | 595 | on the source files. |
| 595 | 596 | |
| 596 | 597 | =end original |
| 597 | 598 | |
| 598 | 599 | これをソースファイルに行います。 |
| 599 | 600 | |
| 600 | 601 | =begin original |
| 601 | 602 | |
| 602 | 603 | Then move the files (probably just the F<.pm> files, though there |
| 603 | 604 | may be some additional ones, too; check the module documentation) |
| 604 | 605 | to their final destination: This will |
| 605 | 606 | most likely be in C<$ENV{MACPERL}site_lib:> (i.e., |
| 606 | 607 | C<HD:MacPerl folder:site_lib:>). You can add new paths to |
| 607 | 608 | the default C<@INC> in the Preferences menu item in the |
| 608 | 609 | MacPerl application (C<$ENV{MACPERL}site_lib:> is added |
| 609 | 610 | automagically). Create whatever directory structures are required |
| 610 | 611 | (i.e., for C<Some::Module>, create |
| 611 | 612 | C<$ENV{MACPERL}site_lib:Some:> and put |
| 612 | 613 | C<Module.pm> in that directory). |
| 613 | 614 | |
| 614 | 615 | =end original |
| 615 | 616 | |
| 616 | 617 | 次に、ファイル(おそらく F<.pm> ファイルだけですが、追加のファイルが |
| 617 | 618 | あることもあります; モジュールの文書を確認してください) を |
| 618 | 619 | 最終的なインストール先に移動させます: |
| 619 | 620 | これはおそらく C<$ENV{MACPERL}site_lib:> (つまり |
| 620 | 621 | C<HD:MacPerl folder:site_lib:>) でしょう。 |
| 621 | 622 | MacPerl アプリケーションの環境設定メニュー項目でデフォルトの C<@INC> に |
| 622 | 623 | 新しいパスを追加できます(C<$ENV{MACPERL}site_lib:>は自動的に追加されます)。 |
| 623 | 624 | 必要なディレクトリ構造を (つまり、C<Some::Module>の場合は、 |
| 624 | 625 | C<$ENV{MACPERL}site_lib:Some:>) を作成し、そのディレクトリに |
| 625 | 626 | C<Module.pm> を配置します。 |
| 626 | 627 | |
| 627 | 628 | =begin original |
| 628 | 629 | |
| 629 | 630 | Then run the following script (or something like it): |
| 630 | 631 | |
| 631 | 632 | =end original |
| 632 | 633 | |
| 633 | 634 | 次のスクリプト (または同様のスクリプト) を実行します: |
| 634 | 635 | |
| 635 | 636 | #!perl -w |
| 636 | 637 | use AutoSplit; |
| 637 | 638 | my $dir = "${MACPERL}site_perl"; |
| 638 | 639 | autosplit("$dir:Some:Module.pm", "$dir:auto", 0, 1, 1); |
| 639 | 640 | |
| 640 | 641 | =item * |
| 641 | 642 | |
| 642 | 643 | =begin original |
| 643 | 644 | |
| 644 | 645 | B<If you're on the DJGPP port of DOS,> |
| 645 | 646 | |
| 646 | 647 | =end original |
| 647 | 648 | |
| 648 | 649 | B<DOS の DJGPP 版を使っているなら> |
| 649 | 650 | |
| 650 | 651 | A. DECOMPRESS |
| 651 | 652 | |
| 652 | 653 | =begin original |
| 653 | 654 | |
| 654 | 655 | djtarx ( ftp://ftp.delorie.com/pub/djgpp/current/v2/ ) |
| 655 | 656 | will both uncompress and unpack. |
| 656 | 657 | |
| 657 | 658 | =end original |
| 658 | 659 | |
| 659 | 660 | djtarx ( ftp://ftp.delorie.com/pub/djgpp/current/v2/ ) は |
| 660 | 661 | 伸張と展開の両方を行います。 |
| 661 | 662 | |
| 662 | 663 | B. UNPACK |
| 663 | 664 | |
| 664 | 665 | =begin original |
| 665 | 666 | |
| 666 | 667 | See above. |
| 667 | 668 | |
| 668 | 669 | =end original |
| 669 | 670 | |
| 670 | 671 | 上記を参照してください。 |
| 671 | 672 | |
| 672 | 673 | C. BUILD |
| 673 | 674 | |
| 674 | 675 | =begin original |
| 675 | 676 | |
| 676 | 677 | Go into the newly-created directory and type: |
| 677 | 678 | |
| 678 | 679 | =end original |
| 679 | 680 | |
| 680 | 681 | 新しく作成されたディレクトリに移動し、次のように入力します: |
| 681 | 682 | |
| 682 | 683 | perl Makefile.PL |
| 683 | 684 | make test |
| 684 | 685 | |
| 685 | 686 | =begin original |
| 686 | 687 | |
| 687 | 688 | You will need the packages mentioned in F<README.dos> |
| 688 | 689 | in the Perl distribution. |
| 689 | 690 | |
| 690 | 691 | =end original |
| 691 | 692 | |
| 692 | 693 | Perl ディストリビューションの F<README.dos> に記載されているパッケージが |
| 693 | 694 | 必要です。 |
| 694 | 695 | |
| 695 | 696 | D. INSTALL |
| 696 | 697 | |
| 697 | 698 | =begin original |
| 698 | 699 | |
| 699 | 700 | While still in that directory, type: |
| 700 | 701 | |
| 701 | 702 | =end original |
| 702 | 703 | |
| 703 | 704 | そのディレクトリにいる状態で、次のように入力します: |
| 704 | 705 | |
| 705 | 706 | make install |
| 706 | 707 | |
| 707 | 708 | =begin original |
| 708 | 709 | |
| 709 | 710 | You will need the packages mentioned in F<README.dos> in the Perl distribution. |
| 710 | 711 | |
| 711 | 712 | =end original |
| 712 | 713 | |
| 713 | 714 | Perl ディストリビューションの F<README.dos> に記載されているパッケージが |
| 714 | 715 | 必要です。 |
| 715 | 716 | |
| 716 | 717 | =item * |
| 717 | 718 | |
| 718 | 719 | =begin original |
| 719 | 720 | |
| 720 | 721 | B<If you're on OS/2,> |
| 721 | 722 | |
| 722 | 723 | =end original |
| 723 | 724 | |
| 724 | 725 | B<OS/2 を使用している場合> |
| 725 | 726 | |
| 726 | 727 | =begin original |
| 727 | 728 | |
| 728 | 729 | Get the EMX development suite and gzip/tar, from either Hobbes ( |
| 729 | 730 | http://hobbes.nmsu.edu ) or Leo ( http://www.leo.org ), and then follow |
| 730 | 731 | the instructions for Unix. |
| 731 | 732 | |
| 732 | 733 | =end original |
| 733 | 734 | |
| 734 | 735 | Hobbes (http://hobbes.nmsu.edu) または Leo(http://www.leo.org) から |
| 735 | 736 | EMX 開発スイートと gzip/tar を入手し、Unix 用の指示に従ってください。 |
| 736 | 737 | |
| 737 | 738 | =item * |
| 738 | 739 | |
| 739 | 740 | =begin original |
| 740 | 741 | |
| 741 | 742 | B<If you're on VMS,> |
| 742 | 743 | |
| 743 | 744 | =end original |
| 744 | 745 | |
| 745 | 746 | B<VMS を使用している場合> |
| 746 | 747 | |
| 747 | 748 | =begin original |
| 748 | 749 | |
| 749 | 750 | When downloading from CPAN, save your file with a C<.tgz> |
| 750 | 751 | extension instead of C<.tar.gz>. All other periods in the |
| 751 | 752 | filename should be replaced with underscores. For example, |
| 752 | 753 | C<Your-Module-1.33.tar.gz> should be downloaded as |
| 753 | 754 | C<Your-Module-1_33.tgz>. |
| 754 | 755 | |
| 755 | 756 | =end original |
| 756 | 757 | |
| 757 | 758 | CPAN からダウンロードする場合は、ファイルを C<.tar.gz> ではなく |
| 758 | 759 | C<.tgz> 拡張子で保存します。 |
| 759 | 760 | ファイル名の他のすべてのピリオドはアンダースコアに置き換える必要があります。 |
| 760 | 761 | たとえば、C<Your-Module-1.33.tar.gz> は C<Your-Module-1_33.tgz> として |
| 761 | 762 | ダウンロードする必要があります。 |
| 762 | 763 | |
| 763 | 764 | =begin original |
| 764 | 765 | |
| 765 | 766 | A. DECOMPRESS |
| 766 | 767 | |
| 767 | 768 | =end original |
| 768 | 769 | |
| 769 | 770 | A. 伸張 |
| 770 | 771 | |
| 771 | 772 | =begin original |
| 772 | 773 | |
| 773 | 774 | Type |
| 774 | 775 | |
| 775 | 776 | =end original |
| 776 | 777 | |
| 777 | 778 | 次のように入力します: |
| 778 | 779 | |
| 779 | 780 | gzip -d Your-Module.tgz |
| 780 | 781 | |
| 781 | 782 | =begin original |
| 782 | 783 | |
| 783 | 784 | or, for zipped modules, type |
| 784 | 785 | |
| 785 | 786 | =end original |
| 786 | 787 | |
| 787 | 788 | または、zip モジュールの場合は、次のように入力します: |
| 788 | 789 | |
| 789 | 790 | unzip Your-Module.zip |
| 790 | 791 | |
| 791 | 792 | =begin original |
| 792 | 793 | |
| 793 | 794 | Executables for gzip, zip, and VMStar: |
| 794 | 795 | |
| 795 | 796 | =end original |
| 796 | 797 | |
| 797 | 798 | gzip, zip, VMStar 用の実行可能ファイル: |
| 798 | 799 | |
| 799 | 800 | http://www.hp.com/go/openvms/freeware/ |
| 800 | 801 | |
| 801 | 802 | =begin original |
| 802 | 803 | |
| 803 | 804 | and their source code: |
| 804 | 805 | |
| 805 | 806 | =end original |
| 806 | 807 | |
| 807 | 808 | ソースコード: |
| 808 | 809 | |
| 809 | 810 | http://www.fsf.org/order/ftp.html |
| 810 | 811 | |
| 811 | 812 | =begin original |
| 812 | 813 | |
| 813 | 814 | Note that GNU's gzip/gunzip is not the same as Info-ZIP's zip/unzip |
| 814 | 815 | package. The former is a simple compression tool; the latter permits |
| 815 | 816 | creation of multi-file archives. |
| 816 | 817 | |
| 817 | 818 | =end original |
| 818 | 819 | |
| 819 | 820 | GNU の gzip/gunzip は Info-ZIP の zip/unzip パッケージと |
| 820 | 821 | 同じではないことに注意してください。 |
| 821 | 822 | 前者は単純な圧縮ツールです; 後者は複数ファイルの |
| 822 | 823 | アーカイブの作成を可能にします。 |
| 823 | 824 | |
| 824 | 825 | =begin original |
| 825 | 826 | |
| 826 | 827 | B. UNPACK |
| 827 | 828 | |
| 828 | 829 | =end original |
| 829 | 830 | |
| 830 | 831 | B. 展開 |
| 831 | 832 | |
| 832 | 833 | =begin original |
| 833 | 834 | |
| 834 | 835 | If you're using VMStar: |
| 835 | 836 | |
| 836 | 837 | =end original |
| 837 | 838 | |
| 838 | 839 | VMStar を使用する場合: |
| 839 | 840 | |
| 840 | 841 | VMStar xf Your-Module.tar |
| 841 | 842 | |
| 842 | 843 | =begin original |
| 843 | 844 | |
| 844 | 845 | Or, if you're fond of VMS command syntax: |
| 845 | 846 | |
| 846 | 847 | =end original |
| 847 | 848 | |
| 848 | 849 | あるいは、VMS コマンドの文法が好きなら: |
| 849 | 850 | |
| 850 | 851 | tar/extract/verbose Your_Module.tar |
| 851 | 852 | |
| 852 | 853 | =begin original |
| 853 | 854 | |
| 854 | 855 | C. BUILD |
| 855 | 856 | |
| 856 | 857 | =end original |
| 857 | 858 | |
| 858 | 859 | C. ビルド |
| 859 | 860 | |
| 860 | 861 | =begin original |
| 861 | 862 | |
| 862 | 863 | Make sure you have MMS (from Digital) or the freeware MMK ( available |
| 863 | 864 | from MadGoat at http://www.madgoat.com ). Then type this to create |
| 864 | 865 | the DESCRIP.MMS for the module: |
| 865 | 866 | |
| 866 | 867 | =end original |
| 867 | 868 | |
| 868 | 869 | MMS(Digital から)かフリーウェアの MMK(MadGoat http://www.madgoat.com から |
| 869 | 870 | 入手可能)があることを確認してください。 |
| 870 | 871 | 次に次のように入力してモジュール用の DESIPP.MMS を作成します: |
| 871 | 872 | |
| 872 | 873 | perl Makefile.PL |
| 873 | 874 | |
| 874 | 875 | =begin original |
| 875 | 876 | |
| 876 | 877 | Now you're ready to build: |
| 877 | 878 | |
| 878 | 879 | =end original |
| 879 | 880 | |
| 880 | 881 | これでビルドの準備ができました: |
| 881 | 882 | |
| 882 | 883 | mms test |
| 883 | 884 | |
| 884 | 885 | =begin original |
| 885 | 886 | |
| 886 | 887 | Substitute C<mmk> for C<mms> above if you're using MMK. |
| 887 | 888 | |
| 888 | 889 | =end original |
| 889 | 890 | |
| 890 | 891 | MMK を使っている場合は、上記の C<mms> を C<mmk> に置き換えてください。 |
| 891 | 892 | |
| 892 | 893 | =begin original |
| 893 | 894 | |
| 894 | 895 | D. INSTALL |
| 895 | 896 | |
| 896 | 897 | =end original |
| 897 | 898 | |
| 898 | 899 | D. インストール |
| 899 | 900 | |
| 900 | 901 | =begin original |
| 901 | 902 | |
| 902 | 903 | Type |
| 903 | 904 | |
| 904 | 905 | =end original |
| 905 | 906 | |
| 906 | 907 | 次のように入力します: |
| 907 | 908 | |
| 908 | 909 | mms install |
| 909 | 910 | |
| 910 | 911 | =begin original |
| 911 | 912 | |
| 912 | 913 | Substitute C<mmk> for C<mms> above if you're using MMK. |
| 913 | 914 | |
| 914 | 915 | =end original |
| 915 | 916 | |
| 916 | 917 | MMK を使っている場合は、上記の C<mms> を C<mmk> に置き換えてください。 |
| 917 | 918 | |
| 918 | 919 | =item * |
| 919 | 920 | |
| 920 | 921 | =begin original |
| 921 | 922 | |
| 922 | 923 | B<If you're on MVS>, |
| 923 | 924 | |
| 924 | 925 | =end original |
| 925 | 926 | |
| 926 | 927 | B<MVS を使っている場合> |
| 927 | 928 | |
| 928 | 929 | =begin original |
| 929 | 930 | |
| 930 | 931 | Introduce the F<.tar.gz> file into an HFS as binary; don't translate from |
| 931 | 932 | ASCII to EBCDIC. |
| 932 | 933 | |
| 933 | 934 | =end original |
| 934 | 935 | |
| 935 | 936 | F<.tar.gz> ファイルをバイナリとして HFS に導入します。 |
| 936 | 937 | ASCII から EBCDIC に変換しないでください。 |
| 937 | 938 | |
| 938 | 939 | =begin original |
| 939 | 940 | |
| 940 | 941 | A. DECOMPRESS |
| 941 | 942 | |
| 942 | 943 | =end original |
| 943 | 944 | |
| 944 | 945 | A. 伸張 |
| 945 | 946 | |
| 946 | 947 | =begin original |
| 947 | 948 | |
| 948 | 949 | Decompress the file with C<gzip -d yourmodule.tar.gz> |
| 949 | 950 | |
| 950 | 951 | =end original |
| 951 | 952 | |
| 952 | 953 | C<gzip -d yourmodule.tar.gz> でファイルを伸張します。 |
| 953 | 954 | |
| 954 | 955 | =begin original |
| 955 | 956 | |
| 956 | 957 | You can get gzip from |
| 957 | 958 | http://www.s390.ibm.com/products/oe/bpxqp1.html |
| 958 | 959 | |
| 959 | 960 | =end original |
| 960 | 961 | |
| 961 | 962 | gzip は http://www.s390.ibm.com/products/oe/bpxqp1.html から入手できます。 |
| 962 | 963 | |
| 963 | 964 | =begin original |
| 964 | 965 | |
| 965 | 966 | B. UNPACK |
| 966 | 967 | |
| 967 | 968 | =end original |
| 968 | 969 | |
| 969 | 970 | B. 展開 |
| 970 | 971 | |
| 971 | 972 | =begin original |
| 972 | 973 | |
| 973 | 974 | Unpack the result with |
| 974 | 975 | |
| 975 | 976 | =end original |
| 976 | 977 | |
| 977 | 978 | 結果を次のように展開します。 |
| 978 | 979 | |
| 979 | 980 | pax -o to=IBM-1047,from=ISO8859-1 -r < yourmodule.tar |
| 980 | 981 | |
| 981 | 982 | =begin original |
| 982 | 983 | |
| 983 | 984 | The BUILD and INSTALL steps are identical to those for Unix. Some |
| 984 | 985 | modules generate Makefiles that work better with GNU make, which is |
| 985 | 986 | available from http://www.mks.com/s390/gnu/ |
| 986 | 987 | |
| 987 | 988 | =end original |
| 988 | 989 | |
| 989 | 990 | BUILD と INSTALL の手順は Unix の場合と同じです。 |
| 990 | 991 | いくつかのモジュールは GNU make でより良く動作する Makefile を生成します; |
| 991 | 992 | これは http://www.mks.com/s390/gnu/ から入手できます。 |
| 992 | 993 | |
| 993 | 994 | =back |
| 994 | 995 | |
| 995 | 996 | =head1 PORTABILITY |
| 996 | 997 | |
| 997 | 998 | (移植性) |
| 998 | 999 | |
| 999 | 1000 | =begin original |
| 1000 | 1001 | |
| 1001 | 1002 | Note that not all modules will work with on all platforms. |
| 1002 | 1003 | See L<perlport> for more information on portability issues. |
| 1003 | 1004 | Read the documentation to see if the module will work on your |
| 1004 | 1005 | system. There are basically three categories |
| 1005 | 1006 | of modules that will not work "out of the box" with all |
| 1006 | 1007 | platforms (with some possibility of overlap): |
| 1007 | 1008 | |
| 1008 | 1009 | =end original |
| 1009 | 1010 | |
| 1010 | 1011 | すべてのモジュールがすべてのプラットフォームで |
| 1011 | 1012 | 動作するわけではないことに注意してください。 |
| 1012 | 1013 | 移植性の問題についての詳細は L<perlport> を参照してください。 |
| 1013 | 1014 | モジュールがお使いのシステムで動作するかどうかは、 |
| 1014 | 1015 | 文書を読んで確認してください。 |
| 1015 | 1016 | すべてのプラットフォームで「そのままで」動作しないモジュールには、 |
| 1016 | 1017 | 基本的に三つのカテゴリがあります(重複する可能性もあります): |
| 1017 | 1018 | |
| 1018 | 1019 | =over 4 |
| 1019 | 1020 | |
| 1020 | 1021 | =item * |
| 1021 | 1022 | |
| 1022 | 1023 | =begin original |
| 1023 | 1024 | |
| 1024 | 1025 | B<Those that should, but don't.> These need to be fixed; consider |
| 1025 | 1026 | contacting the author and possibly writing a patch. |
| 1026 | 1027 | |
| 1027 | 1028 | =end original |
| 1028 | 1029 | |
| 1029 | 1030 | B<動作するはずなのに動作しない。> |
| 1030 | 1031 | これらは修正する必要があります; |
| 1031 | 1032 | 作者に連絡してパッチを書くことを検討してください。 |
| 1032 | 1033 | |
| 1033 | 1034 | =item * |
| 1034 | 1035 | |
| 1035 | 1036 | =begin original |
| 1036 | 1037 | |
| 1037 | 1038 | B<Those that need to be compiled, where the target platform |
| 1038 | 1039 | doesn't have compilers readily available.> (These modules contain |
| 1039 | 1040 | F<.xs> or F<.c> files, usually.) You might be able to find |
| 1040 | 1041 | existing binaries on the CPAN or elsewhere, or you might |
| 1041 | 1042 | want to try getting compilers and building it yourself, and then |
| 1042 | 1043 | release the binary for other poor souls to use. |
| 1043 | 1044 | |
| 1044 | 1045 | =end original |
| 1045 | 1046 | |
| 1046 | 1047 | B<コンパイルする必要があるけれども、ターゲットプラットフォームに |
| 1047 | 1048 | はすぐに入手できるコンパイラがない。> |
| 1048 | 1049 | (これらのモジュールには、通常 F<.xs> または F<.c> ファイルが含まれています。) |
| 1049 | 1050 | CPAN やその他の場所で既存のバイナリを見つけることができるかもしれませんし、 |
| 1050 | 1051 | あるいはコンパイラを入手して自分でビルドしてみて、他の不運な人々が |
| 1051 | 1052 | 使えるようにバイナリをリリースすることもできます。 |
| 1052 | 1053 | |
| 1053 | 1054 | =item * |
| 1054 | 1055 | |
| 1055 | 1056 | =begin original |
| 1056 | 1057 | |
| 1057 | 1058 | B<Those that are targeted at a specific platform.> |
| 1058 | 1059 | (Such as the Win32:: modules.) If the module is targeted |
| 1059 | 1060 | specifically at a platform other than yours, you're out |
| 1060 | 1061 | of luck, most likely. |
| 1061 | 1062 | |
| 1062 | 1063 | =end original |
| 1063 | 1064 | |
| 1064 | 1065 | B<特定のプラットフォームをターゲットにしたモジュール。> |
| 1065 | 1066 | (Win32:: モジュールなど。) |
| 1066 | 1067 | モジュールがあなたのものでないプラットフォームをターゲットにしている場合は、 |
| 1067 | 1068 | おそらく運がありません。 |
| 1068 | 1069 | |
| 1069 | 1070 | =back |
| 1070 | 1071 | |
| 1071 | 1072 | =begin original |
| 1072 | 1073 | |
| 1073 | 1074 | Check the CPAN Testers if a module should work with your platform |
| 1074 | 1075 | but it doesn't behave as you'd expect, or you aren't sure whether or |
| 1075 | 1076 | not a module will work under your platform. If the module you want |
| 1076 | 1077 | isn't listed there, you can test it yourself and let CPAN Testers know, |
| 1077 | 1078 | you can join CPAN Testers, or you can request it be tested. |
| 1078 | 1079 | |
| 1079 | 1080 | =end original |
| 1080 | 1081 | |
| 1081 | 1082 | モジュールがあなたのプラットフォームで |
| 1082 | 1083 | 動作するはずなのに期待通りに動作しないか、またはモジュールが |
| 1083 | 1084 | あなたのプラットフォームで動作するかどうか分からない場合は、 |
| 1084 | 1085 | CPAN Testers をチェックしてください。 |
| 1085 | 1086 | 必要なモジュールがリストにない場合は、自分でテストして |
| 1086 | 1087 | CPAN Testers に知らせたり、CPAN Testers に参加したり、テストを |
| 1087 | 1088 | リクエストしたりできます。 |
| 1088 | 1089 | |
| 1089 | 1090 | http://testers.cpan.org/ |
| 1090 | 1091 | |
| 1091 | 1092 | =head1 HEY |
| 1092 | 1093 | |
| 1093 | 1094 | =begin original |
| 1094 | 1095 | |
| 1095 | 1096 | If you have any suggested changes for this page, let me know. Please |
| 1096 | 1097 | don't send me mail asking for help on how to install your modules. |
| 1097 | 1098 | There are too many modules, and too few Orwants, for me to be able to |
| 1098 | 1099 | answer or even acknowledge all your questions. Contact the module |
| 1099 | 1100 | author instead, or post to comp.lang.perl.modules, or ask someone |
| 1100 | 1101 | familiar with Perl on your operating system. |
| 1101 | 1102 | |
| 1102 | 1103 | =end original |
| 1103 | 1104 | |
| 1104 | 1105 | このページで提案された変更点がありましたら、お知らせください。 |
| 1105 | 1106 | モジュールのインストール方法に関するヘルプを求めるメールを私に |
| 1106 | 1107 | 送らないでください。 |
| 1107 | 1108 | モジュールは多すぎ、Orwants は少なすぎます; |
| 1108 | 1109 | 私はあなたの質問に答えることも、すべての質問に答えることもできません。 |
| 1109 | 1110 | モジュールの作成者に問い合わせるか、comp.lang.perl.modules に投稿するか、 |
| 1110 | 1111 | オペレーティングシステムの Perl に精通した人に尋ねてください。 |
| 1111 | 1112 | |
| 1112 | 1113 | =head1 AUTHOR |
| 1113 | 1114 | |
| 1114 | 1115 | Jon Orwant |
| 1115 | 1116 | |
| 1116 | 1117 | orwant@medita.mit.edu |
| 1117 | 1118 | |
| 1118 | 1119 | =begin original |
| 1119 | 1120 | |
| 1120 | 1121 | with invaluable help from Chris Nandor, and valuable help from Brandon |
| 1121 | 1122 | Allbery, Charles Bailey, Graham Barr, Dominic Dunlop, Jarkko |
| 1122 | 1123 | Hietaniemi, Ben Holzman, Tom Horsley, Nick Ing-Simmons, Tuomas |
| 1123 | 1124 | J. Lukka, Laszlo Molnar, Alan Olsen, Peter Prymmer, Gurusamy Sarathy, |
| 1124 | 1125 | Christoph Spalinger, Dan Sugalski, Larry Virden, and Ilya Zakharevich. |
| 1125 | 1126 | |
| 1126 | 1127 | =end original |
| 1127 | 1128 | |
| 1128 | 1129 | Chris Nandor からの貴重な支援、そして |
| 1129 | 1130 | Brandon |
| 1130 | 1131 | Allbery, Charles Bailey, Graham Barr, Dominic Dunlop, Jarkko |
| 1131 | 1132 | Hietaniemi, Ben Holzman, Tom Horsley, Nick Ing-Simmons, Tuomas |
| 1132 | 1133 | J. Lukka, Laszlo Molnar, Alan Olsen, Peter Prymmer, Gurusamy Sarathy, |
| 1133 | 1134 | Christoph Spalinger, Dan Sugalski, Larry Virden, Ilya Zakharevich からの |
| 1134 | 1135 | 価値ある助けと共に。 |
| 1135 | 1136 | |
| 1136 | 1137 | First version July 22, 1998; last revised November 21, 2001. |
| 1137 | 1138 | |
| 1138 | 1139 | =head1 COPYRIGHT |
| 1139 | 1140 | |
| 1140 | 1141 | Copyright (C) 1998, 2002, 2003 Jon Orwant. All Rights Reserved. |
| 1141 | 1142 | |
| 1142 | 1143 | This document may be distributed under the same terms as Perl itself. |
| 1143 | 1144 | |
| 1144 | 1145 | =begin meta |
| 1145 | 1146 | |
| 1146 | 1147 | Translate: SHIRAKATA Kentaro <argrath@ub32.org> |
| 1147 | 1148 | Status: completed |
| 1148 | 1149 | |
| 1149 | 1150 | =end meta |