Downloaded and extracted ActivePerl, DB_file, DBI, and DBD-MySQL - how do you install them?? I'm confused.

PeeluckyDuckee

Diamond Member
Feb 21, 2001
4,464
0
0
Trying to setup a free forum (IKONBOARD) for fun. But so far, its anything but fun. Spent a few hours on it already and have gotten nowhere.

Several requirements of ikonboard is that I have the above installed. I've extracted them but how do I install it? How do I know they're installed or not?

I've been to ikonboard forum too, still confused. Any help is much appreciated.
 

PeeluckyDuckee

Diamond Member
Feb 21, 2001
4,464
0
0
The required files are extracted to the same folder as the ppm3-bin.exe executable is. Whenever I run the executable as such "ppm> install DBI_file.ppd" I get the "the system cannot find the path specified".

 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
load up ppm and type "search DBD", it will list a bunch of modules and then install the one that you need. You probably aren't typing in the proper module name.
 

PeeluckyDuckee

Diamond Member
Feb 21, 2001
4,464
0
0
nope, the files are there in the same folder, yet a search command yields the same result of "the path is not found" :confused:
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
Hmm, I just install the modules remotely... let my go through a module installation run instead of doing this from memory. I am probably giving you bad advice :)
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
So you don't get this :

C:\>ppm
PPM interactive shell (2.1.5) - type 'help' for available commands.
PPM> search DBD
Packages available from http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/
PPMServer:
DBD-CSV [0.2001] DBI driver for CSV files
DBD-DB2 [0.75 ] Perl driver for IBM DB2 Universal Database
DBD-JDBC [0.63 ] JDBC proxy driver for the DBI module
DBD-LDAP [0.04 ] Perl extension for DBI, providing an SQL/Perl DBI
interface to Ldap databases. LDAP stands for the
"Lightweight Directory Access Protocol". For more
information, see: http://www.ogre.com/ldap/docs.html
DBD-Mysql [1.2200] DBI driver for Mysql datasources
DBD-ODBC [0.28 ] ODBC driver for the DBI module.
DBD-Oracle [1.06 ] Oracle database driver for the DBI module
DBD-Oracle8 [1.06 ] Oracle 8 database driver for the DBI module
DBD-Ovrimos [0.12 ] DBI Driver for Ovrimos (formerly Altera SQL Server)
DBD-RAM [0.072 ] a DBI driver for files and data structures
DBD-Recall [1.8 ] Database fault tolerance through replication.
DBD-SQLrelay [0.1 ] perl DBI driver for SQL Relay
DBD-Sprite [0.13 ] Modified version of Sprite to manipulate text delimited
DBD-Sybase [0.91 ] DBI driver for Sybase datasources
DBD-XBase [0.210 ] Reads and writes XBase (dbf) files, includes DBI support
DBIx-AnyDBD [2.00 ] DBD independant class
PPM> install DBD-Mysql
Install package 'DBD-Mysql?' (y/N): y
Installing package 'DBD-Mysql'...
Bytes transferred: 173263
Installing C:\Program Files\perl\site\lib\auto\DBI\dbd_xsh.h
Installing C:\Program Files\perl\site\lib\auto\DBI\DBI.bs
Installing C:\Program Files\perl\site\lib\auto\DBI\DBI.dll
Installing C:\Program Files\perl\site\lib\auto\DBI\DBI.exp
Installing C:\Program Files\perl\site\lib\auto\DBI\DBI.lib
Installing C:\Program Files\perl\site\lib\auto\DBI\dbipport.h
Installing C:\Program Files\perl\site\lib\auto\DBI\DBIXS.h
Installing C:\Program Files\perl\site\lib\auto\DBI\dbi_sql.h
Installing C:\Program Files\perl\site\lib\auto\DBI\Driver.xst
Installing C:\Program Files\perl\site\lib\cpanrun-1232.pl
Installing C:\Program Files\perl\site\lib\DBI.pm
Installing C:\Program Files\perl\site\lib\Win32\DBIODBC.pm
Installing C:\Program Files\perl\site\lib\DBI\DBD.pm
Installing C:\Program Files\perl\site\lib\DBI\FAQ.pm
Installing C:\Program Files\perl\site\lib\DBI\Format.pm
Installing C:\Program Files\perl\site\lib\DBI\ProxyServer.pm
Installing C:\Program Files\perl\site\lib\DBI\Shell.pm
Installing C:\Program Files\perl\site\lib\DBI\W32ODBC.pm
Installing C:\Program Files\perl\site\lib\DBD\ExampleP.pm
Installing C:\Program Files\perl\site\lib\DBD\NullP.pm
Installing C:\Program Files\perl\site\lib\DBD\Proxy.pm
Installing C:\Program Files\perl\site\lib\DBD\Sponge.pm
Installing C:\Program Files\perl\site\lib\Bundle\DBI.pm
Installing C:\Program Files\perl\bin\dbiproxy
Installing C:\Program Files\perl\bin\dbiproxy.bat
Installing C:\Program Files\perl\bin\dbish
Installing C:\Program Files\perl\bin\dbish.bat
Writing C:\Program Files\perl\site\lib\auto\DBI\.packlist
Bytes transferred: 126147
Installing C:\Program Files\perl\site\lib\auto\DBD\mysql\mysql.bs
Installing C:\Program Files\perl\site\lib\auto\DBD\mysql\mysql.dll
Installing C:\Program Files\perl\site\lib\auto\DBD\mysql\mysql.exp
Installing C:\Program Files\perl\site\lib\auto\DBD\mysql\mysql.lib
Installing C:\Program Files\perl\html\site\lib\Mysql.html
Installing C:\Program Files\perl\html\site\lib\DBD\mysql.html
Installing C:\Program Files\perl\html\site\lib\Bundle\DBD\mysql.html
Installing C:\Program Files\perl\site\lib\Mysql.pm
Installing C:\Program Files\perl\site\lib\Mysql\Statement.pm
Installing C:\Program Files\perl\site\lib\DBD\mysql.pm
Installing C:\Program Files\perl\site\lib\Bundle\DBD\mysql.pm
Installing C:\Program Files\perl\bin\dbimon
Installing C:\Program Files\perl\bin\dbimon.bat
Writing C:\Program Files\perl\site\lib\auto\DBD\Mysql\.packlist
PPM>
 

PeeluckyDuckee

Diamond Member
Feb 21, 2001
4,464
0
0
When I'm at the c:\ command prompt, I can't simply type ppm and get it to show. I have to use Windows Explorer, goto the path where ppm3 is and execute it from there. I'm not sure if Perl's even installed, most likely not since I just extracted it and did nothing else.

And no, executing an install or search command comes up with noting at all.
 

Chooco

Banned
Apr 5, 2002
731
0
0
he said it had to be in same directory as the ppm thing, that means he is on Linux or some kind of Unix

the proper procedure would be:
-find the ppm program or whatever does that command
-go to folder of the perl module, let's just say it is in /pmod
-type this command in while in the folder:
[chooco@localhost /pmod]# /usr/perl/bin/ppm dbd.ppm

NOTICE!!!!!!! i have never actually done this on Linux before, i poked around my perl/bin folder in Windows XP and found a batch file called ppm so that is probably what ties the ppm command to the perl folder. the usr/perl thing was specified as the location of the ppm executable

if i haven't helped then i'm sorry
 

Chooco

Banned
Apr 5, 2002
731
0
0
LOL!!!!!!! ah man my pants are wet on that one, you can tell just by reading the manual:

from apache config file:
#Apache parses all CGI scripts for the shebang line by default.
# This comment line, the first line of the script, consists of the symbols
# pound (#) and exclamation (!) followed by the path of the program that
# can execute this specific script. For a perl script, with perl.exe in
# the C:\Program Files\Perl directory, the shebang line should be:
#!C:/program files/perl/bin/perl

now if you look at any perl file you have downloaded it will say this at the very top:
#!/usr/bin/perl -w

i don't know what the -w means but still you get the idea.

my NEW suggestion is this:
-put the module in a folder called pmod for now
-go to dos window and change to C:/pmod
-make it so the console looks like this:
C:\pmod>ppm dbi.ppm
-push enter
if it gives you an error then try making it look like this:
C:\pmod>C:/perl/bin/ppm dbi.ppm

if this doesn't work then i have no clue. are you sure that perl is installed in the first place?
just so you know, i can't get ikonboard to work either so i just use YaBB.
 

PeeluckyDuckee

Diamond Member
Feb 21, 2001
4,464
0
0
Actually, I'm using W2K Server, not any variant of Linux/Unix.

Bingo. That's the thing. All I did was extract my ActivePerl zip file. I didn't do nothing else. I'm assuming that it is NOT yet installed. So lets begin with step #1. How DO YOU install ActivePerl in W2K and get IIS to recognize that it's installed also?

Chooco, do you recommended steps work in my OS?

Thx for being patient with me fellas. Its like nothing is getting thru to my head. I'm so far out as far as knowing what the heck I'm doing. BTW, I've tried YaBB too, no go. Prolly because of the above too.

Plucky
 

Chooco

Banned
Apr 5, 2002
731
0
0
YaBB is awsome

just double click on the .exe or .msi file which is suposed to install perl. install it to C:\perl then follow the steps i put above.
i'm on XP btw, XP is a lot like 2k actually
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
ActivePERL is different then the regular PERL that is on a unix machine, isn't it?
 

Chooco

Banned
Apr 5, 2002
731
0
0
i don't know really, my website runs on the computer i'm post this with, XP Home with ActivePerl