From muman@softwaremagic.net Thu Feb 13 18:45:35 2003 X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id EC438475C8B for ; Thu, 13 Feb 2003 13:45:35 -0500 (EST) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by postgresql.org (Postfix) with ESMTP id 2516A475C45 for ; Thu, 13 Feb 2003 13:45:34 -0500 (EST) Received: from BUD ([64.164.23.50]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0HA9008E8G3W07@mta5.snfc21.pbi.net> for pgsql-interfaces@postgresql.org; Thu, 13 Feb 2003 10:45:34 -0800 (PST) Date: Thu, 13 Feb 2003 10:45:29 -0800 From: Michael Uman Subject: Help with LibPgxx and Windows! To: pgsql-interfaces@postgresql.org Message-id: <000901c2d390$14da7e10$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_cjIlok6nTBsqUO3eBs0o8Q)" Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/46 X-Sequence-Number: 3667 This is a multi-part message in MIME format. --Boundary_(ID_cjIlok6nTBsqUO3eBs0o8Q) 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_cjIlok6nTBsqUO3eBs0o8Q) 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_cjIlok6nTBsqUO3eBs0o8Q)-- From jtv@xs4all.nl Thu Feb 13 18:51:48 2003 X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5F550474E42 for ; Thu, 13 Feb 2003 13:51:48 -0500 (EST) Received: from mxzilla1.xs4all.nl (mxzilla1.xs4all.nl [194.109.6.54]) by postgresql.org (Postfix) with ESMTP id 4EFAD474E4F for ; Thu, 13 Feb 2003 13:51:47 -0500 (EST) Received: from xs1.xs4all.nl (xs1.xs4all.nl [194.109.3.11]) by mxzilla1.xs4all.nl (8.12.3/8.12.3) with ESMTP id h1DIpkl8023160; Thu, 13 Feb 2003 19:51:46 +0100 (CET) Received: (from jtv@localhost) by xs1.xs4all.nl (8.11.6/8.11.6) id h1DIpkD48902; Thu, 13 Feb 2003 19:51:46 +0100 (CET) (envelope-from jtv) Date: Thu, 13 Feb 2003 19:51:46 +0100 From: "Jeroen T. Vermeulen" To: Michael Uman Cc: pgsql-interfaces@postgresql.org Subject: Re: Help with LibPgxx and Windows! Message-ID: <20030213185145.GD77177@xs4all.nl> Mail-Followup-To: Michael Uman , pgsql-interfaces@postgresql.org References: <000901c2d390$14da7e10$3217a440@BUD> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000901c2d390$14da7e10$3217a440@BUD> User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/47 X-Sequence-Number: 3668 On Thu, Feb 13, 2003 at 10:45:29AM -0800, Michael Uman wrote: > > 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. One thing you can do is simply set up your own project file with all the .cxx files in the src directory, edit include/pqxx/config.h (as described in the README), and compile it all into a library. The Visual C++ Makefile hasn't been updated in a while, but there's nothing magical about what it does. You may also want to check out the mailing list on www.pqxx.tk and check the bug reports & feature requests lists there. Jeroen