From muman@softwaremagic.net Thu Feb 13 08:57:15 2003 X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4E0A1475B8A for ; Thu, 13 Feb 2003 03:57:15 -0500 (EST) Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by postgresql.org (Postfix) with ESMTP id 9B3B6475A6D for ; Thu, 13 Feb 2003 03:57:14 -0500 (EST) Received: from BUD ([64.164.23.50]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0HA800HWEOVEDL@mta6.snfc21.pbi.net> for pgsql-interfaces@postgresql.org; Thu, 13 Feb 2003 00:57:15 -0800 (PST) Date: Thu, 13 Feb 2003 00:57:12 -0800 From: Michael Uman Subject: LIBPQXX on Windows To: pgsql-interfaces@postgresql.org Message-id: <000001c2d33d$e647dbd0$3217a440@BUD> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: multipart/alternative; boundary="Boundary_(ID_v+zLQeF4cTdTphePdEMuiA)" Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/49 X-Sequence-Number: 3670 This is a multi-part message in MIME format. --Boundary_(ID_v+zLQeF4cTdTphePdEMuiA) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Hello, I need to get LibPqxx up and running on Windows. I have a pgSQL client which works fine on Linux and I need to port the baby to Windows. 1st challenge was getting a port of 'popt' library which I used to parse cmdline options. Now I need to get libpqxx up and running. Does anyone have any experience in accomplishing this. If not, what do other people do to get around this. Is there a more portable pgsql/C++ interface? I have MSVC 6.0 and can't seem to get the makefile to work. Is there a binary I can just link with? Also where can I get the pgsql.dll which is required. Any help would be appreciated. If I get no answer then I am busted on the Windows platform and I will rue the day I chose to go with libpqxx. Is there a ODBC driver for postgres on Windows? Maybe I can go that route? If so, my Linux implementation will need some major tweaking. Please help. I am hoping to have this solved by next week. I was really hoping to get the application to start building this week, but this is becoming a bit of a hinderance. Thank you, Michael Uman Sr. Software Engineer Softwaremagic.net http://www.softwaremagic.net --Boundary_(ID_v+zLQeF4cTdTphePdEMuiA) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT

Hello,

 

I need to get LibPqxx up and running on Windows. I have a pgSQL client which works fine on Linux and I need to port the baby to Windows. 1st challenge was getting a port of ‘popt’ library which I used to parse cmdline options. Now I need to get libpqxx up and running. Does anyone have any experience in accomplishing this. If not, what do other people do to get around this. Is there a more portable pgsql/C++ interface? I have MSVC 6.0 and can’t seem to get the makefile to work. Is there a binary I can just link with? Also where can I get the pgsql.dll which is required.

 

Any help would be appreciated… If I get no answer then I am busted on the Windows platform and I will rue the day I chose to go with libpqxx. Is there a ODBC driver for postgres on Windows? Maybe I can go that route? If so, my Linux implementation will need some major tweaking…

 

Please help… I am hoping to have this solved by next week. I was really hoping to get the application to start building this week, but this is becoming a bit of a hinderance…

 

Thank you,

Michael Uman

Sr. Software Engineer

Softwaremagic.net

 

http://www.softwaremagic.net

 

 

--Boundary_(ID_v+zLQeF4cTdTphePdEMuiA)-- From ries@jongert.nl Fri Feb 14 07:23:55 2003 X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6C053474E5C for ; Fri, 14 Feb 2003 02:23:55 -0500 (EST) Received: from sv003.int.jongert.nl (jongert.nl [194.109.59.87]) by postgresql.org (Postfix) with ESMTP id 20553474E4F for ; Fri, 14 Feb 2003 02:23:53 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by sv003.int.jongert.nl (Postfix) with SMTP id 5ABE411E; Fri, 14 Feb 2003 08:20:08 +0100 (CET) X-AV-Checked: Fri Feb 14 08:20:08 2003 jongert.nl Received: from IT001 (IT001.int.jongert.nl [10.0.0.241]) by sv003.int.jongert.nl (Postfix) with SMTP id AFFE111D; Fri, 14 Feb 2003 08:20:07 +0100 (CET) From: "Ries van Twisk" To: "'Michael Uman'" , Subject: Re: LIBPQXX on Windows Date: Fri, 14 Feb 2003 08:26:03 +0100 Message-ID: <002801c2d3fa$55318a70$f100000a@IT001> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0029_01C2D402.B6FC0CF0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 In-Reply-To: <000001c2d33d$e647dbd0$3217a440@BUD> Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/53 X-Sequence-Number: 3674 This is a multi-part message in MIME format. ------=_NextPart_000_0029_01C2D402.B6FC0CF0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi, I also wanted a LibPqxx on my windows system. At the time I made the decission I took the short route and used ODBC which worked fine when using Acces, Omnis Studio and the Qt libraries. I need the library because I want to write a Omnis DAM. Ries -----Oorspronkelijk bericht----- Van: pgsql-interfaces-owner@postgresql.org [mailto:pgsql-interfaces-owner@postgresql.org]Namens Michael Uman Verzonden: donderdag 13 februari 2003 9:57 Aan: pgsql-interfaces@postgresql.org Onderwerp: [INTERFACES] LIBPQXX on Windows Hello, I need to get LibPqxx up and running on Windows. I have a pgSQL client which works fine on Linux and I need to port the baby to Windows. 1st challenge was getting a port of 'popt' library which I used to parse cmdline options. Now I need to get libpqxx up and running. Does anyone have any experience in accomplishing this. If not, what do other people do to get around this. Is there a more portable pgsql/C++ interface? I have MSVC 6.0 and can't seem to get the makefile to work. Is there a binary I can just link with? Also where can I get the pgsql.dll which is required. Any help would be appreciated. If I get no answer then I am busted on the Windows platform and I will rue the day I chose to go with libpqxx. Is there a ODBC driver for postgres on Windows? Maybe I can go that route? If so, my Linux implementation will need some major tweaking. Please help. I am hoping to have this solved by next week. I was really hoping to get the application to start building this week, but this is becoming a bit of a hinderance. Thank you, Michael Uman Sr. Software Engineer Softwaremagic.net http://www.softwaremagic.net ------=_NextPart_000_0029_01C2D402.B6FC0CF0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
Hi,
 
I also=20 wanted a LibPqxx on my windows system. At the t= ime I=20 made the decission I took the short route and used ODBC which worked fine w= hen=20 using Acces, Omnis Studio and the Qt libraries.
 
I need=20 the library because I want to write a Omnis DAM.
 
Ries
-----Oorspronkelijk bericht-----
Van:=20 pgsql-interfaces-owner@postgresql.org=20 [mailto:pgsql-interfaces-owner@postgresql.org]Namens Michael=20 Uman
Verzonden: donderdag 13 februari 2003 9:57
Aan:= =20 pgsql-interfaces@postgresql.org
Onderwerp: [INTERFACES] LIBPQXX= on=20 Windows

Hello,

 

I need to get LibPqxx up and running on Windows. I have a pgSQL client which works fine on Linux and I need t= o port=20 the baby to Windows. 1st challenge was getting a port of ̵= 6;popt’ library which I used to parse cmdline options. Now I need to get libpqxx up and running. Does anyone have any experi= ence in=20 accomplishing this. If not, what do other peop= le do=20 to get around this. Is there a more portable <= SPAN=20 class=3DSpellE>pgsql/C++ interface? I have MSVC 6.0 and can’= t seem to get=20 the makefile to work. Is there a binary I can= just=20 link with? Also where can I get the pgsql.dll which is required.

 

Any help would be appreciat= ed… If=20 I get no answer then I am busted on the Windows platform and I will rue t= he=20 day I chose to go with libpqxx. Is there a ODBC driver for postgres on=20 Windows? Maybe I can go that route? If so, my Linux implementation will n= eed=20 some major tweaking…

 

Please help… I am hop= ing to have=20 this solved by next week. I was really hoping to get the application to s= tart=20 building this week, but this is becoming a bit of a hinderance…

 

Thank=20 you,

Michael=20 Uman

Sr. Software=20 Engineer

Softwaremagic.net

 

http://www.softwaremagic.net

 

 

------=_NextPart_000_0029_01C2D402.B6FC0CF0-- From jtv@xs4all.nl Fri Feb 14 19:29:38 2003 X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 629DF475AD7 for ; Fri, 14 Feb 2003 14:29:38 -0500 (EST) Received: from mxzilla3.xs4all.nl (mxzilla3.xs4all.nl [194.109.6.49]) by postgresql.org (Postfix) with ESMTP id 7B841475A9E for ; Fri, 14 Feb 2003 14:29:37 -0500 (EST) Received: from xs1.xs4all.nl (xs1.xs4all.nl [194.109.3.11]) by mxzilla3.xs4all.nl (8.12.3/8.12.3) with ESMTP id h1EJTaJQ006154; Fri, 14 Feb 2003 20:29:36 +0100 (CET) Received: (from jtv@localhost) by xs1.xs4all.nl (8.11.6/8.11.6) id h1EJTaN10191; Fri, 14 Feb 2003 20:29:36 +0100 (CET) (envelope-from jtv) Date: Fri, 14 Feb 2003 20:29:36 +0100 From: "Jeroen T. Vermeulen" To: Ries van Twisk Cc: "'Michael Uman'" , pgsql-interfaces@postgresql.org Subject: Re: LIBPQXX on Windows Message-ID: <20030214192936.GC9012@xs4all.nl> Mail-Followup-To: Ries van Twisk , 'Michael Uman' , pgsql-interfaces@postgresql.org References: <000001c2d33d$e647dbd0$3217a440@BUD> <002801c2d3fa$55318a70$f100000a@IT001> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002801c2d3fa$55318a70$f100000a@IT001> User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/54 X-Sequence-Number: 3675 On Fri, Feb 14, 2003 at 08:26:03AM +0100, Ries van Twisk wrote: > > I also wanted a LibPqxx on my windows system. At the time I made the > decission I took the short route and used ODBC which worked fine when using > Acces, Omnis Studio and the Qt libraries. Unfortunately I can't maintain the Windows/MSVC++ project setup myself, so this part is typically a little behind the times. There is now some more documentation in the README for building on a Windows system; basicallly, doing it from scratch should involve little more than: - creating a project with all source files (src/*.cxx) in it - telling the compiler where to find the postgres includes and libpq - editing include/pqxx/config.h, and if necessary, defining NO_PARTIAL_CLASS_TEMPLATE_SPECIALISATION to work around a limitation in Microsoft's compiler - clicking "build" Several people have done this already, and some have offered help on getting it into the project (especially Clinton James who produced the files in the win32 directory) but so far nobody has stepped forward with a serious commitment to maintain this side of the project. Jeroen