Installing missing Perl Modules

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Installing missing Perl Modules

Postby jksellors » 07. August 2005 04:30

Hi,
I have to install some perl modules for a Movabletype install. How should I do this to make sure they are available to the XAMPP Perl?
Missing modules are:
DBD-mysql
DBD-Pg (don't need yet)
DBD-SQLite
Crypt-DSA
MIME-Base64
XML-Atom
jksellors
 
Posts: 7
Joined: 05. August 2005 19:05

Postby Kristian Marcroft » 09. August 2005 03:53

Hi,

try this (not tested):

Code: Select all
/Applications/xampp/xamppfiles/bin/perl -MCPAN -e shell
install DBD-mysql
install DBD-Pg
etc...


So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby jksellors » 09. August 2005 21:25

The first line returns the following:

Code: Select all
Can't locate CPAN.pm in @INC (@INC contains: /Applications/xampp/xamppfiles/lib/perl5/5.8.6/darwin-2level /Applications/xampp/xamppfiles/lib/perl5/5.8.6 /Applications/xampp/xamppfiles/lib/perl5/site_perl/5.8.6/darwin-2level /Applications/xampp/xamppfiles/lib/perl5/site_perl/5.8.6 /Applications/xampp/xamppfiles/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.

How can I install the missing file?
jksellors
 
Posts: 7
Joined: 05. August 2005 19:05

Postby Kristian Marcroft » 09. August 2005 21:39

hi,

are you doing this as user "root"??

So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby jksellors » 13. August 2005 04:16

Thanks— that was the problem—
Code: Select all
sudo su
Password
/Applications/xampp/xamppfiles/bin/perl -MCPAN -e shell
i /DBD-mysql/

_Jeremy
jksellors
 
Posts: 7
Joined: 05. August 2005 19:05


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 9 guests