PDA

View Full Version : Perl script DBI::SQL is missing



etegration
03-12-2004, 08:48 AM
some users are saying "Perl script DBI::SQL is missing " when they try to install Movabletype, where to activate this?

existenz
03-12-2004, 09:14 AM
They can use Berkeley DB or you can do this as root:

perl -MCPAN -e shell
cpan>install DBD::mysql

etegration
03-13-2004, 08:37 AM
Originally posted by existenz
They can use Berkeley DB or you can do this as root:

perl -MCPAN -e shell
cpan>install DBD::mysql

should Movabletype be installed in public_html folder or the CGI-BIN folder? my users are either not using any DB or using mySQL db.

existenz
03-13-2004, 10:16 PM
I can't remember how the specifics of it is. I haven't installed MT since last July sometime. Currently DirectAdmin requires the perl/cgi stuff to be located in the cgi-bin by default. You can use a .htaccess to move that to a different folder.

etegration
03-16-2004, 07:43 AM
anyone manage to get MT working on a Redhat server with Directadmin installed???

existenz
03-16-2004, 07:45 AM
I had it running on a RH 9 box. It is wicked easy to install. They hold you hand through the install docs.

What problems are you having? You don't need MySQL to make MovableType work and it can just use a flat file to store all the data. That is the easiest install.

etegration
03-22-2004, 04:58 AM
Originally posted by existenz
I had it running on a RH 9 box. It is wicked easy to install. They hold you hand through the install docs.

What problems are you having? You don't need MySQL to make MovableType work and it can just use a flat file to store all the data. That is the easiest install.

See my mt-check.cgi


Movable Type [mt-check.cgi]

SYSTEM INFORMATION:

Current working directory: /home/berryblu/domains/berryblush.net/public_html/cgi-bin
Operating system: linux
Perl version: 5.8.0
(Probably) Running under cgiwrap or suexec

CHECKING FOR REQUIRED MODULES:

HTML::Template (version >= 2)...
Your server has HTML::Template installed (version 2.4).

Image::Size...
Your server has Image::Size installed (version 2.93).

File::Spec (version >= 0.8)...
Your server has File::Spec installed (version 0.82).

CGI::Cookie...
Your server has CGI::Cookie installed (version 1.20).


CHECKING FOR DATA STORAGE MODULES:

The following modules are used by the different data storage options in
Movable Type. In order run the system, your server needs to have at least
one of these modules installed.

DB_File...
Your server does not have DB_File installed. DB_File is
required if you want to use the Berkeley DB/DB_File backend.
Please consult the installation instructions for help in
installing DB_File.

DBD::mysql...
Your server does not have DBD::mysql installed. DBI and
DBD::mysql are required if you want to use the MySQL database
backend. Please consult the installation instructions for help
in installing DBD::mysql.

DBD::Pg...
Your server does not have DBD::Pg installed. DBI and DBD::Pg
are required if you want to use the PostgreSQL database
backend. Please consult the installation instructions for help
in installing DBD::Pg.

DBD::SQLite...
Your server does not have DBD::SQLite installed. DBI and
DBD::SQLite are required if you want to use the SQLite database
backend. Please consult the installation instructions for help
in installing DBD::SQLite.


CHECKING FOR OPTIONAL MODULES:

The following modules are optional; if your server does not have these
modules installed, you only need to install them if you require the
functionality that the module provides.

LWP::UserAgent...
Your server has LWP::UserAgent installed (version 2.001).

SOAP::Lite (version >= 0.5)...
Your server has SOAP::Lite installed (version 0.52).

File::Temp...
Your server has File::Temp installed (version 0.12).

Image::Magick...
Your server does not have Image::Magick installed.
Image::Magick is optional; it is needed if you would like to be
able to create thumbnails of uploaded images. Please consult
the installation instructions for help in installing
Image::Magick.





What should i go?

existenz
03-22-2004, 09:03 AM
Here install the modules from these instructions:

http://www.movabletype.org/docs/mtinstall.html#if%20you%20need%20to%20install%20db_file

The DB_File is the easiest way to get MT moving since it does not require MySQL. But it is just as easy to get MySQL to work with MT.

You also don't have Image::Magic, the last time I tried to get this working it was on Darwin. Because it was not exactly a large server OS by its-self or support so rather than getting Image Magic working I grabbed the binaries for NetPBM from the folks at the gallery project. I am sure their is a Image Magic rpm you could use also.

etegration
03-22-2004, 09:09 AM
Originally posted by existenz
Here install the modules from these instructions:

http://www.movabletype.org/docs/mtinstall.html#if%20you%20need%20to%20install%20db_file

The DB_File is the easiest way to get MT moving since it does not require MySQL. But it is just as easy to get MySQL to work with MT.

You also don't have Image::Magic, the last time I tried to get this working it was on Darwin. Because it was not exactly a large server OS by its-self or support so rather than getting Image Magic working I grabbed the binaries for NetPBM from the folks at the gallery project. I am sure their is a Image Magic rpm you could use also.

is it not possible to not install anything?

nobaloney
03-22-2004, 10:19 AM
Is this your server or are you a reseller or a site owner? If you're a site owner then you need to talk to whoever you purchased your webhosting from. If you're a reseller then you need to talk to whoever you purchased your reseller account from.

If you're administrator of the server running DA, then read on...

mt-check.cgi told you exactly what's missing that you need; it can't get any plainer than that.

Yes, you can get away with not installing anything, but then you won't be able to use Movable Type.

If you need a module that's not on your server then you need to install it. This is NOT a DA issue. The proper place for support would be on a support forum for Movable Type.

Neither DA nor this forum are a replacement for systems administration.

We and others both on this forum and elsewhere are happy to help you as much as we can, but at some point you either must take administration responsibility for your server or delegate it to someone else.

Jeff

etegration
03-22-2004, 10:25 AM
Originally posted by jlasman
Is this your server or are you a reseller or a site owner? If you're a site owner then you need to talk to whoever you purchased your webhosting from. If you're a reseller then you need to talk to whoever you purchased your reseller account from.

If you're administrator of the server running DA, then read on...

mt-check.cgi told you exactly what's missing that you need; it can't get any plainer than that.

Yes, you can get away with not installing anything, but then you won't be able to use Movable Type.

If you need a module that's not on your server then you need to install it. This is NOT a DA issue. The proper place for support would be on a support forum for Movable Type.

Neither DA nor this forum are a replacement for systems administration.

We and others both on this forum and elsewhere are happy to help you as much as we can, but at some point you either must take administration responsibility for your server or delegate it to someone else.

Jeff

Thanks jeff for the replies, i will try adding whatever is missing into the server.

etegration
04-11-2004, 06:42 AM
i followed the instructions @ http://www.directadmin.com/forum/showthread.php?s=&threadid=764&highlight=DBD

Got DBI-1.38.tar.gz and DBD/DBD-mysql-2.9002.tar.gz installed, restarted httpd services via SSH too but my mt-check.cgi still returns it's not installed. Anyone can kindly help me please?

mt-check.cgi
http://movabletype.ministryofhosting.com/cgi-bin/mt-check.cgi

mt-load.cgi
http://movabletype.ministryofhosting.com/cgi-bin/mt-load.cgi

Errors all there above. Thanks in advance.

existenz
04-11-2004, 07:16 AM
Do the install from CPAN as per my first post. You can install DBD::File and DBD::MySQL

hostpc.com
04-11-2004, 09:47 AM
An alternative way (other than CPAN)

(you might need to do this first:

echo export LANG=en_US >> /etc/bashrc

)


wget http://www.cpan.org/modules/by-module/DBD/DBD-mysql-2.9002.tar.gz
wget http://www.cpan.org/modules/by-module/DBD/DBI-1.38.tar.gz
tar xvzf DBI-1.38.tar.gz
tar xvzf DBD-mysql-2.9002.tar.gz
cd DBI-1.38
perl Makefile.PL
make
make install
cd ..
cd DBD-mysql-2.9002
perl Makefile.PL
make
make install