Many thanks for the reply. Am I correct that downloading and building the source is not connected to actually installing PostgreSQL itself?
Either way I am going to have to wait a couple more days until I get my copy of VS 2005. I still have V 6.0 and I understand that it is not supported. For some reason, you cannot build DLLs with VC++ 2005 Express Edition. Jonathan -----Original Message----- From: Jeroen T. Vermeulen [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 12:16 PM To: Jonathan Blitz Cc: [email protected] Subject: Re: [libpqxx-general] FW: Setup in Windows 2000 On Wed, May 3, 2006 11:04, Jonathan Blitz wrote: > I am totally new to libpqxx and am trying to set it up on Windows 2000. > > I tried to work accorfing to the setup.txt file but couldnn’t follow what > it > said. Specifically, I couldnn’t make any sense of what was meant to go in > the >  “commonn” file. Recent (2.6.x) versions have made some changes in this area, but the main thing about the "common" file is that it specify where the Makefile can find your libpq headers and libraries. Now, the best way to get these on a Windows system is to unpack the PostgreSQL source tree and build it. They're not part of the regular installation, since they're not needed for normal use. Then you copy win32/common-sample to win32/common (only needed in 2.6.5 and up though); and you edit just the PGSQLSRC variable in win32/common to point at where you have the PostgreSQL source directory. In recent versions, the setup assumes that the required files reside in their standard locations within the postgres source tree after building. If you wish, you can delete that source tree again once libpqxx is built--as long as a libpq.dll is installed wherever you link or run your program. The installed libpq.dll doesn't necessarily need to be the same version you used while building, however--as long as the libpq headers you use while building libpqxx matches the libpq binary you use while building libpqxx. I'm sorry this is all a bit more complicated than it is on most other systems... I don't have access to this particular platform myself so I'm relying mostly on other people's contributions to this part of the library. The lack of system-level package management is also complicating things here. Bart Samwel is the real expert when it comes to building libpqxx on Windows. Jeroen -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/327 - Release Date: 4/28/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/327 - Release Date: 04/28/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/327 - Release Date: 04/28/2006 _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
