in reply to Re: perl executable
in thread perl executable
i use nsperl then i get the error as following:
And if i use the perl executable then i get the same error , bacically i have not compiled the sources of perl i just followed the steps to install we mentioned in the readme file. the readme file states as => nsPerl is a binary distribution of dynamic Perl. To install it:/port0/perl/nsPerl5.005_03/bin/nsperl -I/port0/perl/nsPerl5.005_03/lib + /port0/shashank/unix//Temp/SubBuild.dat /port0/shashank/unix//Temp/ +hp RELEASE syntax error at /port0/perl/nsPerl5.005_03/lib/File/Find.pm line 103, +near "->(" syntax error at /port0/perl/nsPerl5.005_03/lib/File/Find.pm line 113, +near "->(" syntax error at /port0/perl/nsPerl5.005_03/lib/File/Find.pm line 127, +near "->(" syntax error at /port0/perl/nsPerl5.005_03/lib/File/Find.pm line 155, +near "->(" syntax error at /port0/perl/nsPerl5.005_03/lib/File/Find.pm line 166, +near "->(" syntax error at /port0/perl/nsPerl5.005_03/lib/File/Find.pm line 192, +near "->("
But if the nsPerl5.005_03 directory will have a different name (not `pwd`) from the viewpoint of other nsPerl users, you must define an alias for it that all users can share (usually an automounter name), and use the fully qualified name of that alias in the install command. For example:cd # to the directory in which you want to install it. gzip -dc nsPerl5.005_03-11-PA-RISC2.0.tar.gz | tar -xvof - cd nsPerl5.005_03 ./install
bin/nsperl is your new Perl interpreter. For example:/mount/share/nsPerl5.005_03/install
bin/perl is the standard perl program, but it won't run usefully unless certain environment variables are set correctly (as bin/nsperl does; see lib/PA-RISC2.0/nsPerl/instruct).bin/nsperl -e 'print "Hello from $^X\n";'
lib/PA-RISC2.0/nsPerl contains software that reconfigures Perl to work on your machine. Its source code is in the subdirectory src (which you can discard, without affecting other programs' behavior).
The rest of this package was built from standard Perl source code. You can get a copy from http://www.perl.com/CPAN/src/5.0/maint/ or http://www.perl.org
To make Perl occupy less disk space, you can remove its documentation; that is lib/pod/html or lib/pod. There's a copy of the documentation at http://www.perl.com/CPAN/doc/ , although it's not the same version as this copy of Perl.
If you want to automate the installation of nsPerl, the algorithm supported in all versions is to execute ./install, with the current working directory set to the only directory unpacked from the archive file. ./install creates a Perl interpreter program named nsperl, which can be moved or copied elsewhere without loss of functionality.
- Richard Megginson <richm@netscape.com>
also can u explain me
1) how to compile the perl source
2) whats the exact diff using the perl and nsperl here
thanks again
Shashank
Edit by tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: perl executable
by Jouke (Curate) on May 03, 2001 at 15:29 UTC |