Help using PAR, installed not able to use it

P

perl Newbie

Hello

I have installed the latest version of PAR, but I am unable to use it
to convert perl script to exe. Any help on this will be of great help.

C:\>perl -v

This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 5 registered patches, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Binary build 1004 [287188] provided by ActiveState http://www.ActiveState.com
Built Sep 3 2008 13:16:37

Perl may be copied ...

C:\Perl>ppm install --force PAR
Downloading ActiveState Package Repository packlist...not modified
Downloading PAR-0.991...done
Unpacking PAR-0.991...done
Generating HTML for PAR-0.991...done
Updating files in site area...done
7 files unchanged
7 files updated

C:\Perl>pp
'pp' is not recognized as an internal or external command,
operable program or batch file.

C:\Perl>cpan PAR
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz
Going to read C:\Perl\cpan\sources\authors\01mailrc.txt.gz
.............................................................................DONE

Fetching with LWP:
http://ppm.activestate.com/CPAN/modules/02packages.details.txt.gz
Going to read C:\Perl\cpan\sources\modules\02packages.details.txt.gz
Database was generated on Sat, 28 Mar 2009 10:26:57 GMT
................
New CPAN.pm version (v1.9304) available.
[Currently running version is v1.9205]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.


..............................................................DONE
Fetching with LWP:
http://ppm.activestate.com/CPAN/modules/03modlist.data.gz
Going to read C:\Perl\cpan\sources\modules\03modlist.data.gz
.............................................................................DONE

Going to write C:\Perl\cpan\Metadata
PAR is up to date (0.991).

C:\Test\test>pp -o test.exe test.pl
'pp' is not recognized as an internal or external command,
operable program or batch file.
 
G

genomart

Hello

I have installed the latest version of PAR, but I am unable to use it
to convert perl script to exe. Any help on this will be of great help.

C:\>perl -v

This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 5 registered patches, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Binary build 1004 [287188] provided by ActiveStatehttp://www.ActiveState.com
Built Sep  3 2008 13:16:37

Perl may be copied ...

C:\Perl>ppm install --force PAR
Downloading ActiveState Package Repository packlist...not modified
Downloading PAR-0.991...done
Unpacking PAR-0.991...done
Generating HTML for PAR-0.991...done
Updating files in site area...done
   7 files unchanged
   7 files updated

C:\Perl>pp
'pp' is not recognized as an internal or external command,
operable program or batch file.

C:\Perl>cpan PAR
Fetching with LWP:
 http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz
Going to read C:\Perl\cpan\sources\authors\01mailrc.txt.gz
.............................................................................DONE

Fetching with LWP:
 http://ppm.activestate.com/CPAN/modules/02packages.details.txt.gz
Going to read C:\Perl\cpan\sources\modules\02packages.details.txt.gz
  Database was generated on Sat, 28 Mar 2009 10:26:57 GMT
...............
  New CPAN.pm version (v1.9304) available.
  [Currently running version is v1.9205]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.

.............................................................DONE
Fetching with LWP:
 http://ppm.activestate.com/CPAN/modules/03modlist.data.gz
Going to read C:\Perl\cpan\sources\modules\03modlist.data.gz
.............................................................................DONE

Going to write C:\Perl\cpan\Metadata
PAR is up to date (0.991).

C:\Test\test>pp -o test.exe test.pl
'pp' is not recognized as an internal or external command,
operable program or batch file.

You have two choices :
1) use C:/Perl/site/bin/pp
eg : C:\Test\test>C:/Perl/site/bin/pp -o test.exe test.pl

2) Add C:/Perl/site/bin/pp in your PATH and then
C:\Test\test>pp -o test.exe test.pl
 
P

perl Newbie

You have two choices :
1) use C:/Perl/site/bin/pp
eg : C:\Test\test>C:/Perl/site/bin/pp  -o test.exe test.pl

2) Add C:/Perl/site/bin/pp in your PATH and then
C:\Test\test>pp -o test.exe test.pl- Hide quoted text -

- Show quoted text -

I checked the folder C:/Perl/site/bin/, there is empty folder.

I also checked C:\Perl\bin, there too no file as pp.
 
P

perl Newbie

Quoth perl Newbie <[email protected]>:




I have installed the latest version of PAR, but I am unable to use it
to convert perl script to exe. Any help on this will be of great help.
C:\>perl -v
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 5 registered patches, see perl -V for more detail)
Copyright 1987-2007, Larry Wall
Binary build 1004 [287188] provided by ActiveStatehttp://www.ActiveState.com
Built Sep  3 2008 13:16:37
Perl may be copied ...
C:\Perl>ppm install --force PAR
Downloading ActiveState Package Repository packlist...not modified
Downloading PAR-0.991...done
Unpacking PAR-0.991...done
Generating HTML for PAR-0.991...done
Updating files in site area...done
   7 files unchanged
   7 files updated
C:\Perl>pp
'pp' is not recognized as an internal or external command,
operable program or batch file.

'pp' has been separated out into its own PAR::packer distribution, so
install that as well.

Ben- Hide quoted text -

- Show quoted text -

How to do i install that, and what command I need to use now to make
exe file.
 
G

genomart

I checked the folder C:/Perl/site/bin/, there is empty folder.

I also checked C:\Perl\bin, there too no file as pp.

You have to install PAR::packer before.
 
P

perl Newbie

ppm install PAR::packer- Hide quoted text -

- Show quoted text -

Thanks for you help, but I am still unable to install


C:\Perl>ppm install Par
Downloading ActiveState Package Repository packlist...not modified
No missing packages to install

C:\Perl>ppm install PAR::packer
Downloading ActiveState Package Repository packlist...not modified
ppm install failed: Can't find any package that provides PAR::packer

C:\Perl>ppm install Par-Packer
Downloading ActiveState Package Repository packlist...not modified
ppm install failed: Can't find any package that provides Par-Packer
 
G

genomart

Thanks for you help, but I am still unable to install

C:\Perl>ppm install Par
Downloading ActiveState Package Repository packlist...not modified
No missing packages to install

=> normal because you have alredy install it
C:\Perl>ppm install PAR::packer
Downloading ActiveState Package Repository packlist...not modified
ppm install failed: Can't find any package that provides PAR::packer

C:\Perl>ppm install Par-Packer
Downloading ActiveState Package Repository packlist...not modified
ppm install failed: Can't find any package that provides Par-Packer

You don't seem to have repository on your computer wich have this
module.

ppm install http://www.bribes.org/perl/ppm/PAR-Packer.ppd

Nevertheless I recommand you to install 3 Perl repositories on your
computer

ppm> rep add bribes http://www.bribes.org/perl/ppm
ppm> rep add theoryx http://theoryx5.uwinnipeg.ca/ppms
ppm> rep add Trouchelle http://trouchelle.com/ppm/

NB : If you speak french, you can read this good documentation about
ppm and modules installation
http://djibril.developpez.com/tutoriels/perl/installation-modules/
 
P

perl Newbie

=> normal because you have alredy install it



You don't seem to have repository on your computer wich have this
module.

ppm installhttp://www.bribes.org/perl/ppm/PAR-Packer.ppd

Nevertheless I recommand you to install 3 Perl repositories on your
computer

ppm> rep add bribeshttp://www.bribes.org/perl/ppm
ppm> rep add theoryxhttp://theoryx5.uwinnipeg.ca/ppms
ppm> rep add Trouchellehttp://trouchelle.com/ppm/

NB : If you speak french, you can read this good documentation about
ppm and modules installationhttp://djibril.developpez.com/tutoriels/perl/installation-modules/- Hide quoted text -

- Show quoted text -

Thanks for your help, finally managed to install.

I created exe using command pp -o test.exe test.pl

but surprisingly when i run the exe it stops and in the command line
window it reads call perl. I am trying to make exe so that those who
do not have perl in their PC can use it as well.

ActivePerl-PPM
The Perl Package Manager
Version: 4.3
Released: 2008-08-29
Author: ActiveState <[email protected]>

Is there something I am missing here?
 
J

jl_post

perl said:
I have installed the latest version of PAR,
but I am unable to use it to convert perl script
to exe. Any help on this will be of great help.


I used to use ActiveState Perl, but I had my share of trouble
installing modules though the ppm interface (including PAR and
PAR::packer), so I switched to Strawberry Perl. I'm mostly pleased
with the switch.

Whereas with ActiveState Perl I installed new modules using ppm like
this:

ppm install PAR
ppm install PAR-Packer

with Strawberry Perl I install new modules like this:

cpan PAR
cpan PAR::packer

The Strawberry Perl approach is more Unix-like, and in my experience,
more successful, as it compiles its own version instead of relying on
pre-compiled binaries. (However, I'll tell you up front that modules
that depend on pre-installed libraries require more work than just one
"cpan" command.)

If you're interested in trying out Strawberry Perl for yourself, you
can download it from http://strawberryperl.com/ . (Be sure to
uninstall any previous versions of Perl before it, though.)

I hope this helps.

-- Jean-Luc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top