default userpic

Installation Problems: DBD::Pg

Vote 0 Votes

I'm trying to get the latest copy of Movable Type running against a Postgresql database. Postgresql is running, the database exists. I've updated tons of Perl things, but mt-check.cgi still refuses to acknowledge the existence of the Perl module:

$ cpan -D DBD::Pg
CPAN: Storable loaded ok (v2.20)
Going to read '/Users/jpl/Library/Application Support/.cpan/Metadata'
Database was generated on Mon, 15 Jun 2009 10:27:00 GMT
DBD::Pg
-------------------------------------------------------------------------
Postgres Driver for DBI
T/TU/TURNSTEP/DBD-Pg-2.13.1.tar.gz
/Library/Perl/5.8.8/darwin-thread-multi-2level/DBD/Pg.pm
Installed: 2.13.1
CPAN: 2.13.1 up to date
DBD::Pg Developers (DBDPG)
dbd-pg@perl.org

----------------------
System Information

Movable Type configuration file was not found.

Movable Type version: 4.26
Current working directory: /Library/WebServer/Sites/kat.showpage.org/cgi-bin/mt
MT home directory: /Library/WebServer/Sites/kat.showpage.org/cgi-bin/mt/
Operating system: darwin
Perl version: 5.8.8
Perl include path:
plugins/WXRImporter/lib
plugins/WidgetManager/lib
plugins/TypePadAntiSpam/lib
plugins/Textile/lib
plugins/StyleCatcher/lib
plugins/spamlookup/lib
plugins/MultiBlog/lib
/Library/WebServer/Sites/kat.showpage.org/cgi-bin/mt/extlib
/Library/WebServer/Sites/kat.showpage.org/cgi-bin/mt/extlib
/Library/WebServer/Sites/kat.showpage.org/cgi-bin/mt/lib
/Library/Perl/Updates/5.8.8/darwin-thread-multi-2level
/Library/Perl/Updates/5.8.8
/System/Library/Perl/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/5.8.8
/Library/Perl/5.8.8/darwin-thread-multi-2level
/Library/Perl/5.8.8
/Library/Perl
/Network/Library/Perl/5.8.8/darwin-thread-multi-2level
/Network/Library/Perl/5.8.8
/Network/Library/Perl
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.8
/Library/Perl/5.8.6
/Library/Perl/5.8.1
.
Web server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7l DAV/2
(Probably) Running under cgiwrap or suexec

...

DBI (version >= 1.21)
Your server has DBI installed (version 1.609).

DBD::mysql
Your server does not have DBD::mysql installed, or DBD::mysql requires another module that is not installed. The DBD::mysql database driver is required to use MySQL Database. Please consult the installation instructions for help in installing DBD::mysql.

DBD::SQLite
Your server has DBD::SQLite installed (version 1.25).

DBD::Pg (version >= 1.32)
Either your server does not have DBD::Pg installed, the version that is installed is too old, or DBD::Pg requires another module that is not installed. The DBD::Pg database driver is required to use PostgreSQL Database. Please consult the installation instructions for help in installing DBD::Pg.

DBD::SQLite2
Your server has DBD::SQLite2 installed (version 0.33).

...

I have installed DBD::Pg. Then BUNDLE::DBD::Pg. Then Data::Storage::DBI::Postgres. Then ran cpan and did a full update. Then tried installing everything that remotely looked like DBD::Pg might require it. It took a while, but I found the Postgres

I run perl and type "use DBD::Pg" and it's happy. "use Data::Storage::DBI::Postgres" is also happy.

I'm not a Perl god. I'm not sure how to figure out what's missing.

Reported on Movable Type 4.2

2 Replies

| Add a Reply
  • You'll probably find it easier to set up the MT development stack with MacPorts.

  • So I installed MacPorts and did:

    sudo port search mt
    sudo port search movable

    Nothing in either of those was about MovableType.

    So then I went out to MacPorts itself and went browsing. Still nothing.

    Can you give me another hint?

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012