pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedMy rebuilded Installer is not work.
2+ messages / 2 participants
[nested] [flat]
* My rebuilded Installer is not work.
@ 2012-10-15 14:03 Копыченко Павел <t34box@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Копыченко Павел @ 2012-10-15 14:03 UTC (permalink / raw)
To: pgsql-odbc
At first week, I can `t even compile. But now I compiled it without
errors. Then I built the installer. But during installation there 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
you installer
(ftp://ftp.postgresql.org/pub/odbc/versions/msi/psqlodbc_09_01_0200-x64.zip).
I compile:
**C:\odbc\64\psqlodbc-09.01.0200>*nmake /f win64.mak CFG=Release ALL
USE_LIBPQ=yes PG_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
***C:\odbc\64\psqlodbc-09.01.0200>*nmake /f win64.mak CFG=Release ALL
USE_LIBPQ=yes ANSI_VERSION=yes PG_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 **
*
...
Then i build installer:
*cd installer**
**
**C:\odbc\64\psqlodbc-09.01.0200\installer>MakeX64.bat**
**para=""**
**LIBPQBINDIR=**
**wix_dir="C:\Program Files (x86)\WiX Toolset v3.6\bin"**
**
**Version not specified - defaulting to "09.01.0200"**
**
**Building psqlODBC merge module...**
**psqlodbcm_cpu.wxs**
**Linking psqlODBC merge module...**
**
**Building psqlODBC installer database...**
**psqlodbc_cpu.wxs**
**Linking psqlODBC installer database...**
**
**Modifying psqlODBC installer database...**
**Microsoft (R) Windows Script Host Version 5.8**
**Copyright (C) Microsoft Corporation. All rights reserved.**
**
**dyoqjjp5.dll|psqlodbc30a.dll -> psqlodbc30a.dll**
**pmlis0nk.dll|psqlodbc35w.dll -> psqlodbc35w.dll**
**
**Done**
*
and then I try Installed:
*
C:\odbc\64\psqlodbc-09.01.0200\installer>cd x64
C:\odbc\64\psqlodbc-09.01.0200\installer\x64>psqlodbc_x64.msi*
During installation I get an error. I can not understand why this error
occurs.
Error 1918. Error installing ODBC driver: PostgreSQL ANSI(x64), ODBC error
13: The setup routines for the PostgreSQL ANSI(x64) ODBC driver could
not be
loaded due to system error code 126: The specified module could not be
found. (C:\psqlODBC\0901\bin\psqlodbc30a.dll).. Verify that the file
PostgreSQL ANSI(x64) exists and that you can access it.
>>so you just need to compile the driver for Windows x64? The exact
compiler version isn't actually the concern, it's just that you need
help with >>compiling it?
Yes, if it is possible
>> Hang on, so you can compile it fine, but you're having trouble
creating an *installer* for it?
Yes
/
//PS. Sorry for my bad english/
14.10.2012 19:45, Craig Ringer пишет:
> On 10/14/2012 09:40 PM, Копыченко Павел wrote:
>> Still, thank you very much for your response. I can `t have two weeks to
>> build the driver from source for Windows 7 x64.
>
> ... so you just need to compile the driver for Windows x64? The exact
> compiler version isn't actually the concern, it's just that you need
> help with compiling it?
>
>> But this error is repeated.
>> I beg you to help me. I really need my version driver.
>
> Hang on, so you can compile it fine, but you're having trouble
> creating an *installer* for it?
>
> --
> Craig Ringer
>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: My rebuilded Installer is not work.
@ 2012-10-16 23:54 Inoue, Hiroshi <inoue@tpf.co.jp>
parent: Копыченко Павел <t34box@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Inoue, Hiroshi @ 2012-10-16 23:54 UTC (permalink / raw)
To: Копыченко Павел <t34box@gmail.com>; +Cc: pgsql-odbc
Hi,
(2012/10/15 23:03), Копыченко Павел wrote:
>
> At first week, I can `t even compile. But now I compiled it without
> errors. Then I built the installer. But during installation there 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
> you installer
> (ftp://ftp.postgresql.org/pub/odbc/versions/msi/psqlodbc_09_01_0200-x64.zip).
>
> I compile:
>
> **C:\odbc\64\psqlodbc-09.01.0200>*nmake /f win64.mak CFG=Release ALL
> USE_LIBPQ=yes PG_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
> ***C:\odbc\64\psqlodbc-09.01.0200>*nmake /f win64.mak CFG=Release ALL
> USE_LIBPQ=yes ANSI_VERSION=yes PG_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 **
> *
> ...
>
> Then i build installer:
>
> *cd installer**
> **
> **C:\odbc\64\psqlodbc-09.01.0200\installer>MakeX64.bat**
> **para=""**
> **LIBPQBINDIR=**
> **wix_dir="C:\Program Files (x86)\WiX Toolset v3.6\bin"**
> **
> **Version not specified - defaulting to "09.01.0200"**
> **
> **Building psqlODBC merge module...**
> **psqlodbcm_cpu.wxs**
> **Linking psqlODBC merge module...**
> **
> **Building psqlODBC installer database...**
> **psqlodbc_cpu.wxs**
> **Linking psqlODBC installer database...**
> **
> **Modifying psqlODBC installer database...**
> **Microsoft (R) Windows Script Host Version 5.8**
> **Copyright (C) Microsoft Corporation. All rights reserved.**
> **
> **dyoqjjp5.dll|psqlodbc30a.dll -> psqlodbc30a.dll**
> **pmlis0nk.dll|psqlodbc35w.dll -> psqlodbc35w.dll**
> **
> **Done**
> *
> and then I try Installed:
>
> *
> C:\odbc\64\psqlodbc-09.01.0200\installer>cd x64
> C:\odbc\64\psqlodbc-09.01.0200\installer\x64>psqlodbc_x64.msi*
>
> During installation I get an error. I can not understand why this error
> occurs.
>
> Error 1918. Error installing ODBC driver: PostgreSQL ANSI(x64), ODBC error
> 13: The setup routines for the PostgreSQL ANSI(x64) ODBC driver could
> not be
> loaded due to system error code 126: The specified module could not be
> found. (C:\psqlODBC\0901\bin\psqlodbc30a.dll)..
At first glance, the folder is different from the ordinary one
C:\Program files\psqlodbc\0901\bin
Do you have any clue about it?
regards,
HIroshi Inoue
> Verify that the file
> PostgreSQL ANSI(x64) exists and that you can access it.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-10-16 23:54 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-10-15 14:03 My rebuilded Installer is not work. Копыченко Павел <t34box@gmail.com>
2012-10-16 23:54 ` Inoue, Hiroshi <inoue@tpf.co.jp>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox