1 If you read this file _as_is_, just ignore the funny characters you
2 see. It is written in the POD format (see perlpod manpage) which is
3 specially designed to be readable as is.
7 perlamiga - Perl under Amiga OS
11 One can read this document in the following formats:
14 multiview perlamiga.guide
16 to list some (not all may be available simultaneously), or it may
17 be read I<as is>: either as F<README.amiga>, or F<pod/perlamiga.pod>.
23 perlamiga - Perl under Amiga OS
29 - Starting Perl programs under AmigaOS
31 Accessing documentation
38 - Getting the perl source
39 - Application of the patches
42 - Installing the built perl
52 =item B<Unix emulation for AmigaOS: ixemul.library>
54 You need the Unix emulation for AmigaOS, whose most important part is
55 B<ixemul.library>. For a minimum setup, get the following archives from
56 ftp://ftp.ninemoons.com/pub/ade/current or a mirror:
59 ixemul-45.1-env-bin.lha
63 Note that there might be newer versions available by the time you read
66 Note also that this is a minimum setup; you might want to add other
67 packages of B<ADE> (the I<Amiga Developers Environment>).
69 =item B<Version of Amiga OS>
71 You need at the very least AmigaOS version 2.0. Recommended is version 3.1.
75 =head2 Starting Perl programs under AmigaOS
77 Start your Perl program F<foo> with arguments C<arg1 arg2 arg3> the
78 same way as on any other platform, by
80 perl foo arg1 arg2 arg3
82 If you want to specify perl options C<-my_opts> to the perl itself (as
83 opposed to to your program), use
85 perl -my_opts foo arg1 arg2 arg3
87 Alternately, you can try to get a replacement for the system's B<Execute>
88 command that honors the #!/usr/bin/perl syntax in scripts and set the s-Bit
89 of your scripts. Then you can invoke your scripts like under UNIX with
93 (Note that having *nixish full path to perl F</usr/bin/perl> is not
94 necessary, F<perl> would be enough, but having full path would make it
95 easier to use your script under *nix.)
99 Change to the installation directory (most probably ADE:), and
100 extract the binary distribution:
102 lha -mraxe x perl-5.003-bin.lha
106 tar xvzpf perl-5.003-bin.tgz
108 (Of course you need lha or tar and gunzip for this.)
110 For installation of the Unix emulation, read the appropriate docs.
112 =head1 Accessing documentation
116 If you have C<man> installed on your system, and you installed perl
117 manpages, use something like this:
121 man ExtUtils.MakeMaker
123 to access documentation for different components of Perl. Start with
127 Note: You have to modify your man.conf file to search for manpages
128 in the /ade/lib/perl5/man/man3 directory, or the man pages for the
129 perl library will not be found.
131 Note that dot (F<.>) is used as a package separator for documentation
132 for packages, and as usual, sometimes you need to give the section - C<3>
133 above - to avoid shadowing by the I<less(1) manpage>.
138 If you have some WWW browser available, you can build B<HTML> docs.
139 Cd to directory with F<.pod> files, and do like this
141 cd /ade/lib/perl5/pod
144 After this you can direct your browser the file F<perl.html> in this
145 directory, and go ahead with reading docs.
147 Alternatively you may be able to get these docs prebuilt from C<CPAN>.
149 =head2 B<GNU> C<info> files
151 Users of C<Emacs> would appreciate it very much, especially with
152 C<CPerl> mode loaded. You need to get latest C<pod2info> from C<CPAN>,
153 or, alternately, prebuilt info pages.
157 can be constructed using C<pod2latex>.
161 Here we discuss how to build Perl under AmigaOS.
165 You need to have the latest B<ADE> (Amiga Developers Environment)
166 from ftp://ftp.ninemoons.com/pub/ade/current.
167 Also, you need a lot of free memory, probably at least 8MB.
169 =head2 Getting the perl source
171 You can either get the latest perl-for-amiga source from Ninemoons
174 tar xvzpf perl-5.004-src.tgz
176 or get the official source from CPAN:
178 http://www.perl.com/CPAN/src/5.0
182 tar xvzpf perl5.004.tar.gz
184 You will see a message about errors while extracting F<Configure>. This
185 is normal and expected. (There is a conflict with a similarly-named file
186 F<configure>, but it causes no harm.)
190 sh configure.gnu --prefix=/ade
202 Some tests will fail. Here is which, and why:
206 =item F<io/fs.t>, F<op/stat.t>, F<lib/*dbm.t>, F<lib/db-*.t>
208 Check I<file system> operations. Failures result from the inability to
209 emulate some Unixisms with the standard Amiga filesystem.
211 =item F<io/pipe.t>, F<op/fork.t>, F<lib/filehand.t>, F<lib/open2.t>,
212 F<lib/open3.t>, F<lib/io_pipe.t>, F<lib/io_sock.t>
214 These tests will be skipped because they use the fork() function, which is not
215 supported under AmigaOS.
219 The ixemul.library doesn't set the expected values for $0 and $^X.
223 =head2 Installing the built perl
231 Norbert Pueschel, pueschel@imsdd.meb.uni-bonn.de