in reply to Windows 2000 Server and Installing Perl
If you're using ActiveState's Perl, try using PPM (Perl Package Manager).
It's not as good as using CPAN, but admittedly it's a pain to get CPAN to work properly on Windows (though I think it may work better with SiePerl).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Windows 2000 Server and Installing Perl
by Zo (Scribe) on Oct 11, 2001 at 00:43 UTC | |
Case I: windows 2000 professional, perl 5.6..., I was able to put it on my desktop and it works with the DBI 1.20 module from cpan. no problems. Case II: windows 2000 server, perl 5.6..., I was able to load on this simple server and script runs with DBI 1.2 module from cpan. no problems. Case III: Windows 2000 server, v5.6.1 built for MSWin32-x86-multi-thread ,I have a simple "hello world" type of file (test.pl) and it shows my hello message. I get the same download DBI 1.2 and then try to run my script (code will soon follow) and I get this error here and not on the first two cases.: DBD::Oracle::db prepare failed: ORA-00942: table or view does not exist (DBD ERR OR: OCIStmtExecute/Describe) at C:\Perl\connect_2.pl line 28. Can't call method "execute" on an undefined value at C:\Perl\connect_2.pl line 2 9. here is the code:
The following is what I see when i do a perl -V: any suggestions???? and I'm sorry to keep nagging with this issue, trust me I too want it to work!!! thank you all... desperate brother Zo. | [reply] [d/l] [select] |
by rrwo (Friar) on Oct 17, 2001 at 14:25 UTC | |
Whoa a minute! You wrote: Case III: Windows 2000 server, v5.6.1 built for MSWin32-x86-multi-thread ,I have a simple "hello world" type of file (test.pl) and it shows my hello message. I get the same download DBI 1.2 and then try to run my script (code will soon follow) and I get this error here and not on the first two cases.: DBD::Oracle::db prepare failed: ORA-00942: table or view does not exist (DBD ERR OR: OCIStmtExecute/Describe) at C:\Perl\connect_2.pl line 28. Can't call method "execute" on an undefined value at C:\Perl\connect_2.pl line 2 9. Sounds like you're not connecting to the correct database, hence the invalid tables or views. So you can't create a statement handle. Do you have an updated tnsnames.ora file installed on that machine? Otherwise it won't know where the database is on the network. | [reply] |