I install postgresql-9.1.5 from source code on windows successfully.
But there is not "libecpg_compat.lib" and "libpgtypes.lib" in the
installed lib directory .
If someone used functions of pgtypes or ecpg_compat library in ecpg
programs,the ecpg program build will fail.

So i modify src/tools/msvc/Install.pm to resolve this problem.
The diff file refer to the attachment "Install.pm.patch".

Jiang Guiqing

diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm
index 6036714..91e6a53 100644
--- a/src/tools/msvc/Install.pm
+++ b/src/tools/msvc/Install.pm
@@ -86,7 +86,7 @@ sub Install
                'Import libraries', $target . '/lib/',
                "$conf\\",          "postgres\\postgres.lib",
                "libpq\\libpq.lib", "libecpg\\libecpg.lib",
-               "libpgport\\libpgport.lib");
                'timezone names',
                [ glob('src\timezone\tznames\*.txt') ],
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:

Reply via email to