Author: turnstep
Date: Sun Feb 1 14:51:27 2009
New Revision: 12473
Modified:
DBD-Pg/trunk/README
DBD-Pg/trunk/README.win32
Log:
Add some recent Win32 bits from the list.
Modified: DBD-Pg/trunk/README
==============================================================================
--- DBD-Pg/trunk/README (original)
+++ DBD-Pg/trunk/README Sun Feb 1 14:51:27 2009
@@ -161,6 +161,7 @@
This can also be set for individual queries at the statement handle level: see
the documentation section on "Placeholders" for more details.
+
* PostgreSQL library issues:
DBD::Pg uses the libpq library that comes with Postgres. If the shared libpq
@@ -188,6 +189,7 @@
build-time. This should have caused 'make test' to fail; did you really
run it and look at the output?
+
* Perl issues:
Some Linux distributions have incomplete perl installations. If you have
@@ -206,6 +208,39 @@
(thanks to Peter Eisentraut <peter_e at gmx.net>)
+* Strawberry Perl issues:
+
+One file change only needed to make in DBD::Pg source is:
+
+Makefile.PL -
+add 'use DBI::DBD;'.
+comment out "unlink $output->{MAKEFILE};" at line 247
+
+set required environment:
+
+set PATH=C:\PROGRA~1\PostgreSQL\8.3\bin;%PATH%
+set DBI_DSN=dbi:Pg:dbname=testdb
+set DBI_USER=username
+set DBI_PASS=password
+set POSTGRES_HOME=C:/PROGRA~1/PostgreSQL/8.3
+set POSTGRES_INCLUDE=C:/PROGRA~1/PostgreSQL/8.3/include
+set POSTGRES_LIB=C:/PROGRA~1/PostgreSQL/8.3/lib
+
+
+perl Makefile.PL
+
+Now here's the ugly bit: edited both EXTRALIBS and LDLOADLIBS in the resulting
+Makefile to include
+C:\PROGRA~1\PostgreSQL\8.3\lib\libpq.lib
+
+then
+
+dmake
+dmake test
+
+all works fine.
+
+
* SGI issues:
If you get segmentation faults, make sure you are using the malloc
Modified: DBD-Pg/trunk/README.win32
==============================================================================
--- DBD-Pg/trunk/README.win32 (original)
+++ DBD-Pg/trunk/README.win32 Sun Feb 1 14:51:27 2009
@@ -1,8 +1,12 @@
How to get a working DBD::Pg on Windows
-Warning! This information may be outdated. Please ask on the mailing list for
help
-if you encounter any problems.
+Warning! This information is outdated. Please ask on the mailing list for help
+if you encounter any problems, or use the files here:
+
+http://pgfoundry.org/frs/?group_id=1000199
+
+Also see the notes about Strawberry Perl in the README file.
Start with:
MS VC++.Net Standard Edition