By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,870 Members | 1,189 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,870 IT Pros & Developers. It's quick & easy.

Open Perl IDE Compiling Problems

P: 23
I'm using the Open Perl IDE to write perl scripts. Everytime I try to compile a script Open Perl will open another script called 'perl5db.pl' and find a compiling error in it. The result in the 'Error Output' box is:

Expand|Select|Wrap|Line Numbers
  1. Win32 does not define $Win32::VERSION--version check failed at C:\Open_Perl_IDE_1.0.11.409/perl5db.pl line 438.
  2. BEGIN failed--compilation aborted.
  3. Compilation failed in require at C:/Perl/lib/Win32.pm line 8.
  4. BEGIN failed--compilation aborted at C:/Perl/lib/Win32.pm line 80.
  5. Compilation failed in require at C:\Open_Perl_IDE_1.0.11.409/perl5db.pl line 438.
  6. BEGIN failed--compilation aborted.
  7. Compilation failed in require.
  8. BEGIN failed--compilation aborted.
I'm very new to perl and don't understand the nature of this problem. All I want to do is write a perl script and have something to check for syntax and other errors without too much trouble.

If anyone uses this IDE and knows the problem or has a suggestion for compiling perl programs in general I would appreciate any help.

Thanks.
Apr 11 '07 #1
Share this Question
Share on Google+
11 Replies


KevinADC
Expert 2.5K+
P: 4,059
Is perl installed on the computer? If not, visit the www.activestate.com website and download the appropriate version of perl for your version of windows.
Apr 12 '07 #2

P: 23
I'm sorry I didn't mention it earlier. Yes, Perl is installed on the computer. I got it from activestate.
Apr 12 '07 #3

KevinADC
Expert 2.5K+
P: 4,059
OK, well, thas about all the help I can be. I tried using perl open IDE in the past and did not care for it. IN fact it would not even work properly on my windows98 PC with activestate perl installed. The open IDE program these days is quite old and I am unsure it it will work on recent versions of windows. I use Perl Builder but it is not free.

http://www.solutionsoft.com/perl.htm

There is a foum for open perl IDE on sourceorge but it looks like the developers have pretty much stopped working on it or supporting it, like so many open source programs.
Apr 12 '07 #4

P: 23
Thanks for your help. I've also scrapped OpenPerl.
Apr 25 '07 #5

P: 1
I too am new to the Open Perl IDE and have the same problem.
I can run the scripts with and without the IDE. I like the idea of using an IDE to clearly see the code vs. comments, etc.
I now think I will try the EPIC plug in with Eclipse and ActiveState.
I already have the Java Runtime that is required and was really hoping to keep the environment space required for the IDE to a minimum.

Maybe I'll understand when I learn Peal.
Apr 29 '07 #6

KevinADC
Expert 2.5K+
P: 4,059
I too am new to the Open Perl IDE and have the same problem.
I can run the scripts with and without the IDE. I like the idea of using an IDE to clearly see the code vs. comments, etc.
I now think I will try the EPIC plug in with Eclipse and ActiveState.
I already have the Java Runtime that is required and was really hoping to keep the environment space required for the IDE to a minimum.

Maybe I'll understand when I learn Peal.

Did you have a question? If it's about EPIC and Eclipse, I've never used them and don't know anything about them.
Apr 29 '07 #7

P: 1
I'm using the Open Perl IDE to write perl scripts. Everytime I try to compile a script Open Perl will open another script called 'perl5db.pl' and find a compiling error in it. The result in the 'Error Output' box is:

Win32 does not define $Win32::VERSION--version check failed at C:\Open_Perl_IDE_1.0.11.409/perl5db.pl line 438.
BEGIN failed--compilation aborted.
Compilation failed in require at C:/Perl/lib/Win32.pm line 8.
BEGIN failed--compilation aborted at C:/Perl/lib/Win32.pm line 80.
Compilation failed in require at C:\Open_Perl_IDE_1.0.11.409/perl5db.pl line 438.
BEGIN failed--compilation aborted.
Compilation failed in require.
BEGIN failed--compilation aborted.

I'm very new to perl and don't understand the nature of this problem. All I want to do is write a perl script and have something to check for syntax and other errors without too much trouble.

If anyone uses this IDE and knows the problem or has a suggestion for compiling perl programs in general I would appreciate any help.

Thanks.
I encountered the same problems, the solution is:
1.) Install the perl 5.8-Patch for OpenPerl-IDE, which is also on sourceforge ( I assume you'v already done this, just to mention it ...)
2.) add in the provided dbTemplate.txt a line ( e.g. in Line 45 )
Expand|Select|Wrap|Line Numbers
  1. use Win32;
That's all, at least now on my machine it works again...

HTH
Jogi
May 3 '07 #8

P: 1
Hi,

The two-step solution that JogiK provided solved this issue for me. Thanks! I did want to mention one point that I didn't see called out: There is a text field in the IDE under the Edit->Preferences pull-down menu where you may need to specify the explicit path where the Perl executable is installed.

Regards.
Mar 2 '08 #9

Kelicula
Expert 100+
P: 176
I have tried the Komodo IDE from Active State, which was very powerful, but also very expensive.

As I was new to perl, and opted for a free easy to use perl IDE, KevinADC had recommended "Perl-Express", and I have to say, it has served me well!

It has a code library (often easier than "man" pages for newcomers), you can create code templates, file templates, you can organize your scripts into "projects", you can create "forms" on the fly for testing scripts, toggle between post, and get request types. It integrates with Apache, and mySQL, excellent debugger, with breakpoints "step-in, step-out", etc...

In fact I have had it for almost 6 months, and still learn something everyday.

While it does have some limitations, I'm very happy with it.
It's no Komodo, but it has allowed me to create a interactive online community.

And it's FREE!

Perl Express
Mar 3 '08 #10

P: 14
You can use Eclipse for Perl with a plug in.

it will give help when u place mouse on a keyword and lots of features are available.

but it is having some bugs but it will be so useful aspecially for Object Oriented Perl.
Mar 3 '08 #11

nithinpes
Expert 100+
P: 410
This is the link to download Eclipse IDE which npidaparthy mentioned:

Easy-Eclipse for LAMP
Mar 3 '08 #12

Post your reply

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