Ask a Question related to PERL Modules, Design and Development.
-
rab #1
DB_File
anyone seen this error before:
> Can't load '/usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl' for module DB_File: No such file or directory at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/XSLoader.pm line 83.
> at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DB_File.pm line 236
I'm just trying to run this script:
#!/usr/bin/perl -w
use strict;
use DB_File;
print "Hello World!\n"
all three of the files exist on the system....why is it saying this.
(there are a few scripts that I have that want to use DB_File and they
all say this.... that's why I just use this simple script above for
error diagnosis)
rab
rab Guest
-
DB_File problem
I am working on a script to base64 encode a file and then scramble the lines but also keep track of the order in which these lines were scrambled.... -
DB_File default version
Hi, If you read the doc of the DB_File module you need to install Berkeley DB. So why does this module work without installing Berkeley DB? If... -
DB_File Install Problem
Hello, I am having trouble installing DB_File on my Solaris 2.9 box. I have done the usual: perl Makefile.PL make make test fails here... -
DB_File problems (again)
Hi Rich/Dave, The deletion problem exists for me too .... There are around 90000 keys in my dbf file ... The key i found two days back doesn't... -
DB_File question
I have built perl5.8.2 with gcc 3.3.1 on solaris 8. It found the libdb in the gnu/lib and included DB_File from the ext package for me. However,... -
Bob Walton #2
Re: DB_File
rab wrote:
It would appear that either the DB_File module is not installed on your> anyone seen this error before:
>
>>>>Can't load '/usr/local/lib/perl5/5.8.0/PA-RISC2.0/auto/DB_File/DB_File.sl' for module DB_File: No such file or directory at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/XSLoader.pm line 83.
>> at /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DB_File.pm line 236
>>
>
> I'm just trying to run this script:
>
> #!/usr/bin/perl -w
> use strict;
> use DB_File;
>
> print "Hello World!\n"
>
>
> all three of the files exist on the system....why is it saying this.
> (there are a few scripts that I have that want to use DB_File and they
> all say this.... that's why I just use this simple script above for
> error diagnosis)
>
> rab
>
system, or it is not installed completely and correctly. Try installing
the DB_File module again.
--
Bob Walton
Bob Walton Guest
-
Marksfish #3
db_file
I am trying to install ikonboard on my site but my provider apparently does
not have db_file installed on the server. I have had a look at CPAN and
think this module is the one I need:
[url]http://www.cpan.org/modules/by-module/DB_File/[/url] My provider says he has put
the files into the /lib/ section (it is a Windows server) but when I run my
test script it still says it is not installed. Was this the correct module
or does anyone know which one it should have been?
Cheers
Mark
Marksfish Guest
-
Gunnar Hjalmarsson #4
Re: db_file
Marksfish wrote:
Doesn't Perl tell you that? What does the error message say?> I am trying to install ikonboard on my site but my provider
> apparently does not have db_file installed on the server. I have
> had a look at CPAN and think this module is the one I need:
> [url]http://www.cpan.org/modules/by-module/DB_File/[/url] My provider says he
> has put the files into the /lib/ section (it is a Windows server)
> but when I run my test script it still says it is not installed.
> Was this the correct module or does anyone know which one it should
> have been?
--
Gunnar Hjalmarsson
Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
Gunnar Hjalmarsson Guest
-
Gunnar Hjalmarsson #5
Re: db_file
Marksfish wrote:
That seems to be a custom Ikonboard message, not a Perl ditto. What>>> Doesn't Perl tell you that? What does the error message say?
> "You do not have the db_file perl module installed on this server.
> You will not be able to run Ikonboard."
>
> This is what is shown when the test file is run.
does it say if you type
perl -e "use DB_File"
--
Gunnar Hjalmarsson
Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
Gunnar Hjalmarsson Guest
-
Marksfish #6
Re: db_file
> perl -e "use DB_File"
Unfortunately I do not have telnet access to the server, only ftp.>
Mark
Marksfish Guest
-
Marksfish #7
Re: db_file
> Then run this test script:
Can't locate loadable object for module DB_File in @INC (@INC contains:>
> #!/usr/bin/perl
> use CGI::Carp 'fatalsToBrowser';
> use DB_File;
> print "Content-type: text/html\n\n";
> print 'Loaded ok';
>
C:/Perl/lib C:/Perl/site/lib .) at
d:\users\Cyberprog\marksfish\www\acso\test.pl line 3
Compilation failed in require at
d:\users\Cyberprog\marksfish\www\acso\test.pl line 3.
BEGIN failed--compilation aborted at
d:\users\Cyberprog\marksfish\www\acso\test.pl line 3.
Normally I would put the full path of the file in that it is looking for,
but I don't know where it would be. Should the db_file module be placed in
the Perl/site/lib directory? I think my host only put it in the /lib/
directory.Mark
Marksfish Guest
-
Gunnar Hjalmarsson #8
Re: db_file
Marksfish wrote:
<snip>> Can't locate loadable object for module DB_File in @INC
No, the above error message confirms what I suspected: The location of> Normally I would put the full path of the file in that it is
> looking for, but I don't know where it would be. Should the db_file
> module be placed in the Perl/site/lib directory? I think my host
> only put it in the /lib/ directory.
DB_File.pm is okay. However, DB_File.pm is just a Perl interface to
the C library Berkely DB, and the latter seems to be missing.
You mentioned in your first post in this thread that your provider
"says he has put the files into the /lib/ section". Installing DB_File
comprises more than placing a .pm file in a directory.
Maybe your provider doesn't know very much about Perl. Maybe you
should change provider.
--
Gunnar Hjalmarsson
Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
Gunnar Hjalmarsson Guest
-
Marksfish #9
Re: db_file
That was my thought, but unfortunately I signed up for 12 months and still> Maybe your provider doesn't know very much about Perl. Maybe you
> should change provider.
>
> --
have another 11 to go with no refunds. It is a Windows server and he is more
into asp than perl. Is there a step by step instruction for installing
modules anywhere I can let him have?
Mark
Marksfish Guest
-
Gunnar Hjalmarsson #10
Re: db_file
Marksfish wrote:
I don't know about step by step, especially for somebody who is not>>> Maybe your provider doesn't know very much about Perl. Maybe you
>> should change provider.
> That was my thought, but unfortunately I signed up for 12 months
> and still have another 11 to go with no refunds. It is a Windows
> server and he is more into asp than perl. Is there a step by step
> instruction for installing modules anywhere I can let him have?
"into" perl, but here is the applicable FAQ:
[url]http://www.perldoc.com/perl5.8.0/pod/perlfaq8.html#How-do-I-install-a-module-from-CPAN-[/url]
--
Gunnar Hjalmarsson
Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
Gunnar Hjalmarsson Guest
-
Marksfish #11
Re: db_file
Thanks for your help Gunnar, i'll pass this on.
Cheers
Mark
Marksfish Guest



Reply With Quote

