builded Installer is not work. - Mailing list pgsql-bugs

From Копыченко Павел
Subject builded Installer is not work.
Date
Msg-id 507BF3F8.1080408@gmail.com
Whole thread Raw
List pgsql-bugs
At first week, I can `t even compile. But now I compiled it without errors. Then I built the installer. But during
installationthere is an error. Library not loaded. I want to get a full cycle from compile to install. I need my own
distribution.I need my own installer.  I tried to do it on VS6 VS2003 VS2005.  My DLL's built differ from DLL's from
youinstaller (<a class="moz-txt-link-freetext"
href="ftp://ftp.postgresql.org/pub/odbc/versions/msi/psqlodbc_09_01_0200-x64.zip"
moz-do-not-send="true">ftp://ftp.postgresql.org/pub/odbc/versions/msi/psqlodbc_09_01_0200-x64.zip</a>).<br/><div
class="moz-forward-container"><divclass="moz-forward-container"><div class="moz-forward-container"><div
class="moz-forward-container"><divclass="moz-forward-container"><div class="moz-text-html" lang="x-unicode"><div
class="moz-cite-prefix"><br/><br /> I compile: <br /><br /><b><font face="monospace"><font
face="monospace"><b>C:\odbc\64\psqlodbc-09.01.0200></b></font>nmake/f win64.mak CFG=Release ALL USE_LIBPQ=yes
PG_INC=c:\PostgreSQL\9.1_x64\includePG_LIB=c:\PostgreSQL\9.1_x64\lib SSL_INC=c:\OpenSSL-Win64\include
SSL_LIB=c:\OpenSSL-Win64\lib\VC\CPU=AMD64 <br /></font></b><b><font face="monospace"><font
face="monospace"><b>C:\odbc\64\psqlodbc-09.01.0200></b></font>nmake/f win64.mak CFG=Release ALL USE_LIBPQ=yes
ANSI_VERSION=yesPG_INC=c:\PostgreSQL\9.1_x64\include PG_LIB=c:\PostgreSQL\9.1_x64\lib SSL_INC=c:\OpenSSL-Win64\include
SSL_LIB=c:\OpenSSL-Win64\lib\VC\CPU=AMD64 </font></b><b><br /></b><br /> ...<br /><br /> Then i build installer:<br
/><fontface="monospace"><br /><b>cd installer</b><b><br /></b><b><br
/></b><b>C:\odbc\64\psqlodbc-09.01.0200\installer>MakeX64.bat</b><b><br/></b><b>para=""</b><b><br
/></b><b>LIBPQBINDIR=</b><b><br/></b><b>wix_dir="C:\Program Files (x86)\WiX Toolset v3.6\bin"</b><b><br /></b><b><br
/></b><b>Versionnot specified - defaulting to "09.01.0200"</b><b><br /></b><b><br /></b><b>Building psqlODBC merge
module...</b><b><br/></b><b>psqlodbcm_cpu.wxs</b><b><br /></b><b>Linking psqlODBC merge module...</b><b><br
/></b><b><br/></b><b>Building psqlODBC installer database...</b><b><br /></b><b>psqlodbc_cpu.wxs</b><b><br
/></b><b>LinkingpsqlODBC installer database...</b><b><br /></b><b><br /></b><b>Modifying psqlODBC installer
database...</b><b><br/></b><b>Microsoft (R) Windows Script Host Version 5.8</b><b><br /></b><b>Copyright (C) Microsoft
Corporation.All rights reserved.</b><b><br /></b><b><br /></b><b>dyoqjjp5.dll|psqlodbc30a.dll ->
psqlodbc30a.dll</b><b><br/></b><b>pmlis0nk.dll|psqlodbc35w.dll -> psqlodbc35w.dll</b><b><br /></b><b><br
/></b><b>Done</b><b><br/></b></font><br /> and then I try Installed: <br /><br /><b><font face="monospace"><br />
C:\odbc\64\psqlodbc-09.01.0200\installer>cdx64<br />
C:\odbc\64\psqlodbc-09.01.0200\installer\x64>psqlodbc_x64.msi</font></b><br/><br /> During installation I get an
error.I can not understand why this error occurs.<br /><br /><tt>Error 1918. Error installing ODBC driver: PostgreSQL
ANSI(x64),ODBC error </tt><tt><br /></tt><tt>13: The setup routines for the PostgreSQL ANSI(x64) ODBC driver could not
be</tt><tt><br /></tt><tt>loaded due to system error code 126: The specified module could not be </tt><tt><br
/></tt><tt>found.(C:\psqlODBC\0901\bin\psqlodbc30a.dll).. Verify that the file </tt><tt><br /></tt><tt>PostgreSQL
ANSI(x64)exists and that you can access it. </tt><br /><br /><span class="moz-smiley-s7"></span><br /><br /> >>so
youjust need to compile the driver for Windows x64? The exact compiler version isn't actually the concern, it's just
thatyou need help with >>compiling it? <br /><br /> Yes, if it is possible<br /><br /><br /> >> Hang on, so
youcan compile it fine, but you're having trouble creating an *installer* for it? <br /> Yes<br /><br /><i><br
/></i><i>PS.Sorry for my bad english</i><br /><br /><br /> 14.10.2012 19:45, Craig Ringer пишет:<br /></div><blockquote
cite="mid:507AC208.7080702@ringerc.id.au"type="cite">On 10/14/2012 09:40 PM, Копыченко Павел wrote: <br /><blockquote
type="cite">Still,thank you very much for your response. I can `t have two weeks to <br /> build the driver from source
forWindows 7 x64. <br /></blockquote><br /> ... so you just need to compile the driver for Windows x64? The exact
compilerversion isn't actually the concern, it's just that you need help with compiling it? <br /><br /><blockquote
type="cite">Butthis error is repeated. <br /> I beg you to help me. I really need my version driver. <br
/></blockquote><br/> Hang on, so you can compile it fine, but you're having trouble creating an *installer* for it? <br
/><br/> -- <br /> Craig Ringer <br /><br /></blockquote><br /></div><br /><br /></div><br /><br /><br /></div><br /><br
/><br/></div><br /><br /><br /></div><br /><br /><br /></div><br /> 

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #7534: walreceiver takes long time to detect n/w breakdown
Next
From: Vaclav Juza
Date:
Subject: Re: BUG #7598: Loss of view performance after dump/restore of the view definition