Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Windows 2000 Server and Installing Perl

by Zo (Scribe)
on Oct 06, 2001 at 00:02 UTC ( [id://117095]=note: print w/replies, xml ) Need Help??


in reply to Re: Windows 2000 Server and Installing Perl
in thread Windows 2000 Server and Installing Perl

Here we go again...
I re-installed Perl onto the machine. It works. that's good.
I use the PPM and install DBD-Oracle8 (1.06). It installs. Good.
Run a lil' test script to connect to database and extract, (which works on my pc).. and i get an error that it doesn't recognize the 'DBI' (from my USE DBI on line 3). ok...
I go back to PPM annd upgrade to DBI (1.14).. try again, same error. so now i go and see about downloading from cpan again and i get this error:
Perl 5.004 required--this is only version 5.00307, stopped at makefile.pl line 10. BEGIN failed--compilation aborted at makefile.pl line 12.
I think cause it's a friday here and the day's ending.. and I'm kinda burnt out from the week that i could be missing a small thing and an extra pair of eyes would help me out.. being that I'm the only 'perl' coder here at work.. this is my only resource of help.
thanks in advance again for any help.
brother Zo
  • Comment on Re: Re: Windows 2000 Server and Installing Perl

Replies are listed 'Best First'.
Re: Re: Re: Windows 2000 Server and Installing Perl
by Zo (Scribe) on Oct 06, 2001 at 00:27 UTC
    here is the code and the following is the error... this works fine on other computer and server but having one issue with this specific server (win.2000, perl v5.6..)
    #!perl use DBI; my $dbh = DBI-connect "dbi:Oracle:Db01", "developer", "dev12" ); my $statement = $dbh->prepare( "SELECT * from developer.stats" ); $statement->execute(); my @row = $statement->fetchrow_array(); print @row;


    error message:
    C:\>connect.pl DBD::Oracle::db prepare failed: ORA-00942: table or view does not exis +t (DBD ERR OR: OCIStmtExecute/Describe) at C:\connect.pl line 9. Can't call method "execute" on an undefined value at C:\connect.pl lin +e 11.

    table does exist and connects and executes everywhere else..
    baffled brother Zo.
Re: Re: Re: Windows 2000 Server and Installing Perl
by Zo (Scribe) on Oct 10, 2001 at 18:15 UTC
    Hello again...
    I've been working on this for quite some time now and I still end up in the same spot, like I'm chasing my own tail.. doing a lot of work, but going in circles and accomplishing nothing.
    What it comes down to is that I get the older version of Perl when I try to download/install (5.003...) see prior posting the lastest stable version (5.6....)
    I've used PPM, ActivePerl, etc.. and I can't seem to figure out why when I try to load Perl on my Windows 2000 server it's not getting the latest version? I need the lastest version so that I could use certain DBI modules that are not supported in the latter versions.
    Please any suggestions?
    Thank you very much in advance for any help.
    brother Zo.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://117095]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-18 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found