Re: PyPgSQL 2.3 build problems under Windows

Gerhard Häring <[email protected]>
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
Pinchart, Laurent wrote:
> Hi everybody,
> 
> I'm having problems with PyPqSQL 2.3 under Windows. I have PostgreSQL 7.3.2
> installed (in Cygwin), and I'm trying to build PyPgSQL.
> 
> I tried to run setup.py using a Windows version of Python (2.2.2) in a
> Windows command shell. After unpacking PostgreSQL in ../postgresql, it
> failed at the linker stage, complaining about a missing pq.lib.
> 
> I then tried to compile PostgreSQL 7.3.2 (in Cygwin), but no pq.lib is
> generated by the build process.
> 
> I can build PyPgSQL in Cygwin, but I then get a DLL that depends on
> cygwin1.dll. I would like to get the same result as the binary PyPgSQL
> package (libpq.pyd that doesn't depend on Cygwin).
> 
> Thanks in advance for all the help you can provide.

The information you need should be in README.win32 in the pyPgSQL source 
distribution.

If you have any further questions, just ask. I'd be glad if finally I'd 
not be the only one who actually builds on native Windows :-)

-- Gerhard



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.