How to install DB_File Perl module ?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to install DB_File Perl module ?

Postby serpentis » 11. September 2007 04:45

I'm running Windows XP Professional and I installed XAMPP for Windows and the Perl 5.8.8-2.2.4 Add-On. I need to install Ikonboard but it says "You do not have the db_file perl module installed on this server. You will not be able to run Ikonboard."

Where do I get the DB_File Perl module and how do I install it?
serpentis
 
Posts: 2
Joined: 11. September 2007 04:29

Postby Izzy » 11. September 2007 09:38

Make sure the path to perl has been defined in your Ikonboard's configuration.
The first line (shebang) of a perl script should contain the path to perl with any command line switches.

Linux based OS:
#!/usr/bin/perl

Windows based OS:
#!"C:\xampp\perl\bin\perl.exe"
Change the path to your own perl.exe path.

To find out if your perl is working go to:
http://localhost

Select the Perl menu item under Demos heading.

You should see some test links.

Click on the link to http://localhost/perl/perlinfo.pl

which should bring up a web page containing a table with all the perl modules installed by default plus lots more info about your Perl version.

To install a perl module make sure you are connected to the Internet.
Open a command prompt in xampp\perl\bin directory
Type ppm at the prompt and hit Enter key.
Use the Perl Packet Manager when it finishes loading all the perl modules in your system that it can locate at the ActiveState Package Repository.

once you have located the full perl module name to search for and the module is not in that list, follow the DB_File example below.

Enter DB_File in the text box in ppm and wait for the list of DB_File modules to appear.
Highlight DB_File and click on the + Mark for install icon
Then click on the -> arrow icon and it should install for you.

If it does then you could answer this post in the Ikonboard's Forum

A Google search with some good results.

=================================================
Take a look at the new DeskTopXampp launch control for XAMPP and XAMPPlite (DTX.exe)
http://nat32.com/dtx/
posted by ridgewood:
http://community.apachefriends.org/f/viewtopi ... 967#103967
Also available here: http://zedfiles.com/DTX/
I highly recommend DTX.
=================================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby serpentis » 11. September 2007 19:17

Thank you very much for your prompt and detailed instructions Izzy. I've never done this before and your instructions were easy to follow. You provided the step by step instructions I needed that I could not find elsewhere.

I have another question now. The DB_File module is listed as being installed in the PPM, but it is not listed in http://localhost/perl/perlinfo.pl even after I restarted Apache. Is this a problem? Should I see it listed there?
serpentis
 
Posts: 2
Joined: 11. September 2007 04:29

Re: How to install DB_File Perl module ?

Postby hamid22 » 02. October 2014 09:32

Hi anyone
when i Type ppm at the prompt and hit Enter key. this error displayed
"this application has failed to start because libexpat-1_.dll was not found "
hamid22
 
Posts: 1
Joined: 02. October 2014 09:10
Operating System: windowsxp


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 69 guests