pypgsql Win32 build for Python 2.5
David Hughes <dfh-SSyVZMUXQxBawGkVQGIbBlpr/1R2p/[email protected]> Fri, 22 Dec 2006 08:56:52 +0000
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============0196315967== Content-Type: multipart/alternative; boundary="------------060805090402030807080403" This is a multi-part message in MIME format. --------------060805090402030807080403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit There isn't a pre-built binary for Python 2.5 so I tried building from the source tarball. It failed initially because the C compiler didn't find Python.h building 'pyPgSQL.libpq.libpq' extension C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -I -IC:\Python25\include -IC:\Python25\PC/Tclibpqmodule.c /Fobuild\temp.win32-2.5\Release\libpqmodule.obj libpqmodule.c libpqmodule.c(1) : warning C4274: #ident ignored; see documentation for #pragma comment(exestr, 'string') libpqmodule.c(78) : fatal error C1083: Cannot open include file: 'Python.h': No such file or directory error: command '"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe"' failed with exit status 2 When I remove the first "-I" parameter it continues a little further but then fails to find libpq-fe.h that is referenced in libpqmodule.h libpqmodule.c libpqmodule.h(29) : fatal error C1083: Cannot open include file: 'libpq-fe.h': No such file or directory libpq-fe.h and other indirectly referenced files are not in the source distribution. What can I do to achieve this build, which is the last step in my migration to Python 2.5? Regards, David Hughes --------------060805090402030807080403 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Arial">There isn't a pre-built binary for Python 2.5 so I tried building from the source tarball. <br> <br> It failed initially because the C compiler didn't find Python.h<br> <br> </font></font><tt>building 'pyPgSQL.libpq.libpq' extension<br> C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -I -IC:\Python25\include -IC:\Python25\PC/Tclibpqmodule.c /Fobuild\temp.win32-2.5\Release\libpqmodule.obj<br> libpqmodule.c<br> libpqmodule.c(1) : warning C4274: #ident ignored; see documentation for #pragma<br> comment(exestr, 'string')<br> libpqmodule.c(78) : fatal error C1083: Cannot open include file: 'Python.h': No such file or directory<br> error: command '"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe"' failed with exit status 2</tt><font size="-1"><font face="Arial"><br> <br> When I remove the first "-I" parameter it continues a little further but then fails to find libpq-fe.h that is referenced in libpqmodule.h<br> <br> </font></font><tt>libpqmodule.c<br> libpqmodule.h(29) : fatal error C1083: Cannot open include file: 'libpq-fe.h': No such file or directory<br> </tt><font size="-1"><font face="Arial"><br> libpq-fe.h and other indirectly referenced files are not in the source distribution.<br> <br> What can I do to achieve this build, which is the last step in my migration to Python 2.5?<br> <br> Regards,<br> David Hughes<br> </font></font> </body> </html> --------------060805090402030807080403-- --===============0196315967== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --===============0196315967== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Pypgsql-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pypgsql-users --===============0196315967==--