473,396 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Converting .pl files to exe

Hi all,

I have a program which doesnot use any modules an I need to convert it to an exe.

I downloaded the following modules:
PAR-0.973-PPM56.tar
PAR-Packer-0.975-PPM56.tar

I extracted the contents in the Zip file to a folder called PAR and PARPACKER respecively and then kept in (C;\perl\lib)
I cont insatll any modules from PPM (Some problem with my PC),

Now from cmd prompt if try to give

D:/>pp sample.pl

It gives error as "pp is not recogonized as internal or external command"..

Inside PARPACKER there is a Batchfile called Tkpp so when you click this it will ask for source file and destination file(exe filename),and if I click" build" iam getting the following error..

"Can't locate PAR/Packer.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib
.) at C:/Perl/lib/pp.pm line 5.
BEGIN failed--compilation aborted at C:/Perl/lib/pp.pm line 5.
Compilation failed in require at C:/Perl/lib/PAR-PACKER/blib/script/pp.bat line
18.
BEGIN failed--compilation aborted at C:/Perl/lib/PAR-PACKER/blib/script/pp.bat l
ine 18.."

Let me know where I went wrong. How to convert a .pl to an exe file
Jun 11 '07 #1
2 4158
KevinADC
4,059 Expert 2GB
You need to chdir to where pp is before you can run it.
Jun 11 '07 #2
Kevin,

I have extracted the contents of Zip file(Modules) and kep it in C;\perl\lib and I kept my perl script also C;\perl\lib still getting the same error

C:\Perl\lib>pp sp1.pl
'pp' is not recognized as an internal or external command,
operable program or batch file.
Jun 12 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Rob McLennan - ZETLAND | last post by:
Hi, I am in the process of converting Dreamweaver library items to server side includes (SSI) on a website made up of ASP files. The pages I am modifying are Dreamweaver templates. The process I...
0
by: Thomas R. Hummel | last post by:
Hello, I am currently in the process of converting an Oracle data warehouse over to SQL Server. The warehouse is loaded through a bunch of text files all through SQL Loader, using various...
2
by: nanookfan | last post by:
Hi all, I'm having a bizarre problem converting XML files to HTML using an XSLT. The problem is only occuring in my Netscape 7.0 browser. What makes it more bizarre is that it is only...
1
by: Donald Firesmith | last post by:
We are converting the OPEN Process Framework Repository (www.donald-firesmith.com) of over 1,100 free open source reusable process components for building development methods for...
20
by: Al Moritz | last post by:
Hi all, I was always told that the conversion of Word files to HTML as done by Word itself sucks - you get a lot of unnecessary code that can influence the design on web browsers other than...
4
by: eight02645999 | last post by:
hi i need help with converting a piece of perl code to python ...... my $start = '\'; my $file = '\'; my $end = '\'; ..... while(<FILE>) #open a file {
8
by: prabha | last post by:
Hello Everybody, I have to conert the word doc to multiple html files,according to the templates in the word doc. I had converted the word to xml.Also through Exsl ,had finished the multiple...
9
by: Tim | last post by:
Since rtf files cause so many troubles, i.e., allow the users to download the files, slow loading, incompatible with other browser, and so on. Do you think I should convert them to JPEG files to...
2
by: Les Caudle | last post by:
I've inherited a .NET 1.0 app that I'm converting to 2.0. It contains a number of .xsd files (.xsd, .xsx, .cs) which get converted to (.xsd, .xsx, .xss, .xsc, .cs, .Designer.cs). The problem...
1
RRick
by: RRick | last post by:
I have a unix C++ project that needs to be converted over to windows visual studio. I'm not sure of the exact version of VS, but it's a recent version, probabIy 2003 or 2005. I would like the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.