-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
.pyc files are python, not perl. Maybe that's what's wrong?
Hope this helps...
Russell
On Wednesday 27 February 2002 03:15 am, you wrote:
> On Tuesday 26 February 2002 05:39 pm, you wrote:
> > On Mon, 25 Feb 2002, Bob Stia wrote:
> > > No installation required. The whole file is perl. Only problem
> > > is that I cannot start the program. I have the proper version of
> > > perl and Tcl/Tk. How does one start the script?
> >
> > There are a few issues that could raise their heads...
>
> ................<snip>........
>
> > Assuming that's all ready to go, the script itself might reference
> > its interpreter in a specific location. That is, the first line of
> > the script might read
> >
> > #!/usr/local/bin/perl
> >
> > where *your* Perl is actually located in /usr/bin/perl. The way to
> > get around this is to edit the script in question or just run the
> > script like you do with java programs:
> >
> > perl /usr/local/games/solitaire
> >
> > If you *still* can't run the script, there's a few more things you
> > can try. (More on that if these steps fail.)
>
> Paul,
>
> Thanks...My perl is in /usr/bin/perl as is also /usr/bin/perl5.6
> I ran it as suggested perl /usr/local/games/pysol and I
> received a reply: "Runtime error: Bad magic number in .pyc file"
> At least that is something.... :-(
> More guidance please ?
>
> Bob S
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8fOkoAqKGrvVshJQRAppyAKDAkpWRiBvDQ3pk9tYWlJHHfKtixwCeJAhF
57NLE9cRsSIrWsBYgszenCY=
=LyDz
-----END PGP SIGNATURE-----
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:49:28 EDT