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.
11 14471 KevinADC 4,059
Recognized Expert Specialist
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.
I'm sorry I didn't mention it earlier. Yes, Perl is installed on the computer. I got it from activestate.
KevinADC 4,059
Recognized Expert Specialist
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.
Thanks for your help. I've also scrapped OpenPerl.
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.
KevinADC 4,059
Recognized Expert Specialist
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.
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_ID E_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_ID E_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 )
That's all, at least now on my machine it works again...
HTH
Jogi
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.
Kelicula 176
Recognized Expert New Member
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 Sign in to post your reply or Sign up for a free account.
Similar topics |
by: marko sarunac |
last post by:
After much playing around a looking on groups i still can't find how
to fix this problem.
I have an AIX 5.1.0.0 with gcc 3.3.2 installed
The gcc is the AIX build obtained at UCLA
(http://aixpdslib.seas.ucla.edu/)
perl source obtained directly from perl ( :) )
I need to compile the perl with gcc as the modules that need compiling
try to compile with cc with any other aix distros of perl.
|
by: funtoosh |
last post by:
Hi
I am using latest PERL provided with REDHAT 9.
I use this snippet of perl in t.pl
$SIG{'TERM'}=\&doItNow ;
$anotherProgram=$ARGV;
open (AP,"$anotherProgram |") or die "$_ \n" ;
|
by: J-miami |
last post by:
I am just starting to learn Perl. I had an idea that there should be
free open-source Internet Cafe management software for Linux. I
searched around online but couldn't find anything. The program would
be appealing to anyone wanting to offer Internet access to their
customers, from Internet Cafes to hotels. Who wants to pay hundreds or
thousands of dollars for Internet Cafe management software? If running
Linux, one could put together...
|
by: John Ntow |
last post by:
I have a binary distribution of MySQL 4.0.20 installed in
/usr/local/mysql.
Therefore, the only libmysqlclient file I have is libmysqlclient.a
(static library).
And also, Perl:DBI already installed.
I'm trying to install perl-DBD-MySQL-2.9004 from source.
What should I add to 'perl Makefile.PL' as arguments to make sure it
finds the
static library?
|
by: smsabu2002 |
last post by:
Hi,
I am facing the build problem while installing the DBD-MySql perl
module (ver 2.9008) using both GCC and CC compilers in HP-UX machine.
For the Build using GCC, the compiler error is produced due to the
unknown GCC compiler option "+DAportable".
For the Build using CC, the preprocessor error is produced due to the
recursive declration of macro "PerlIO" in perlio.h file.
| |
by: Mainlander |
last post by:
An ISP I belong to uses Majordomo for their mailing list system. I'd like
to encourage them to move to a system that uses a database, preferably
psql which they already run on their server. Anything out there in Php?
|
by: jmishra |
last post by:
Hi,
I am compiling perl 5.8 on i386-linux architecture,every thing went fine
and I am able to execute normal perl scripts thorugh this newly built perl.
But when I try to execute script which has postgres database access statement it gives me following error :
"Can't locate object method "connect" via package "DBI" (perhaps you forgot to load "DBI"?)"
Note that I have DBI and DBD modules installed and I able able to access...
|
by: shankarhegde |
last post by:
Hi, Im trying to build perl and mod_perl on x86_64-linux machine and getting the following error, while compiling mod_perl
/usr/bin/ld: /usr/genie/common-1.18/perl-5.8.8/lib/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/genie/common-1.18/perl-5.8.8/lib/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a: could...
|
by: Ken Foskey |
last post by:
On Thu, 14 Aug 2008 10:09:01 -0700, raylopez99 wrote:
The facts of the case above are that the person took a whole application
and distributed it after some minor modifications, ie they did not do
much at all to the whole thing. It was outright theft. How would you
feel if someone stole your application that you were selling and then
distributed it. What is the difference?
Artistic, GPL and LGPL are licenses, Public Domain is a...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |