Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TNitC-0005nX-LX for pgsql-bugs@postgresql.org; Mon, 15 Oct 2012 11:31:18 +0000 Received: from mail-lb0-f174.google.com ([209.85.217.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TNit7-0000cH-V9 for pgsql-bugs@postgresql.org; Mon, 15 Oct 2012 11:31:18 +0000 Received: by mail-lb0-f174.google.com with SMTP id n3so3367677lbo.19 for ; Mon, 15 Oct 2012 04:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-forwarded-message-id:content-type; bh=ZDa3GdZOt2DIv6b6aoCzIv0I5AXeHyxlSPktM2ayHyA=; b=U69976+jI7y87HHbJZDNExwJs1bY1lJiF/aEhohNXgw7rhlxMEDFJi7PPubu9hyy8N xxABLL/rbsdcYk0KTPh7ZVjw9UZL/Hqd2LpswrhmxdVhzDkzwYXrzAydNUT3lOcdjVVy 9Ql7mAkY1Vj/9leBcd3e87vzX3M/4Jfju1QdHHoTrcf7bLq6U4lioMo4dBSD2lINtwF6 rzg9UgA62TdJs0GnOzevdZ8iVFW5IyOSujmMHuHUA3lwElQn5gt7xcoVnKy1qdhZHqRs BMMGUvIsq1FV01CBDPt4iMntMsDCn+KJfdxnHtfgYeA4rJmN1sOYbThVtH6WnciNo1iw yTLg== Received: by 10.152.105.174 with SMTP id gn14mr9668208lab.55.1350300673631; Mon, 15 Oct 2012 04:31:13 -0700 (PDT) Received: from [192.168.1.3] ([178.91.206.233]) by mx.google.com with ESMTPS id nr2sm4445223lab.5.2012.10.15.04.31.06 (version=SSLv3 cipher=OTHER); Mon, 15 Oct 2012 04:31:11 -0700 (PDT) Message-ID: <507BF3F8.1080408@gmail.com> Date: Mon, 15 Oct 2012 17:31:04 +0600 From: =?UTF-8?B?0JrQvtC/0YvRh9C10L3QutC+INCf0LDQstC10Ls=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: builded Installer is not work. References: <507BE3ED.8080205@gmail.com> In-Reply-To: <507BE3ED.8080205@gmail.com> X-Forwarded-Message-Id: <507BE3ED.8080205@gmail.com> Content-Type: multipart/alternative; boundary="------------030700040100020504030407" X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201210/136 X-Sequence-Number: 34436 This is a multi-part message in MIME format. --------------030700040100020504030407 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 > --------------030700040100020504030407 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit 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

















--------------030700040100020504030407--