Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

DataStore.pm

by Anonymous Monk
on Oct 03, 2003 at 15:45 UTC ( [id://296297]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

When I run a certain cgi script I get:

Software error
Can't locate DataStore.pm in @INC (@INC contains: ./lib /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl .) at /Library/WebServer/CGI-Executables/install.cgi line 16.

I had a few software errors and installed the necessary modules, now I'm at this one and I cant find a DataStore.pm anywhere. Where can I get hold of this? I'm running perl 5.6.0 do I need to upgrade to 5.8?

Cheers

Replies are listed 'Best First'.
Re: DataStore.pm
by jdtoronto (Prior) on Oct 03, 2003 at 17:38 UTC
    um, try looking here at info on datastore.pm http://research.pestpatrol.com/Search/FileInfoResults.asp?MD5=7143248ccf92e7a51e0998198d7f9129

    Seems a little less desirable this way.

    Updated! However that may not be the case! There is a module called NDiff 0.02 - see info here http://www.vinecorp.com/ndiff/ which is used for security work of some type.

    The same module name is used by an early version of DBIx::DB02, if you consult the changes DOC you will see it mentioned back in 1997 or 1998, but it is not in the current manifest for that package.

    You may need to do a little detective work to see what module you have installed that is requiring datastore.pm /end update

    jdtoronto

      The same module name is used by an early version of DBIx::DB02...

      Yes, but not with that capitalization. (I'm the author, and I don't think the module in question was ever written as "DataStore.pm", although it has been a few years... More recent versions of this package now use DBIx::SQLEngine instead.)

Re: DataStore.pm
by Rhys (Pilgrim) on Oct 03, 2003 at 16:23 UTC
    Do this:

    perl -e'shell;' -MCPAN

    cpan> install DataStore

    ## lots of install stuff ##

    cpan> exit

    Your CGI should then work.

    --Rhys

      Hi Rhys,
      Nice try, but you should of checked that DataStore existed before offering that advice ;)
      Warning: Cannot install DataStore, don't know what it is. Try the command i /DataStore/ to find objects with matching identifiers. cpan> i /DataStore/ No objects found of any type for argument /DataStore/
      My guess is that DataStore.pm is a hand rolled module created by someone other than the OP and that the script in question that is breaking was not originally written by the OP.
        Therefore, you should actually look for DataStore.pm in your file system:
        find / -name DataStore.pm
        @INC always looks in '.' too, so check out the directory the CGI script is in, you may see it in there.

        But your other problem may be a typo problem, the module needed may very well be in the @INC, but slightly misnamed..it doesnt seem likely since 'DataStore' IS spelt correctly, but the module may have vowels missing or summat: 'DataStr.pm etc.

        Maybe try

        find / -name \*.pm

        If all else fails, google for it, or contact previous owners of the CGI directory.

        Cheers
        Sam

Re: DataStore.pm
by simonm (Vicar) on Oct 21, 2003 at 17:38 UTC
    Ah-ha!

    Weeks later, I've happened to find something that might be what the user is looking for at Extropia.com, formerly known as the Selena Sol archive... No obvious place to download it, but if you download one of the applications, like the Project Tracker, you'll find it in the Modules directory.

Log In?
Username:
Password:

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

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

    No recent polls found