[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] build.py patch against latest snapshot
From:       Albert Chin <pykde () lists ! thewrittenword ! com>
Date:       2003-03-26 22:30:34
[Download RAW message or body]

If Python has been compiled with LFS support, it is *very* important
that Python.h is *always* included first to pick up the 64-bit file IO
equivalent functions. Without the patch below, PyQt doesn't build on
Solaris 2.6 or 7.

-- 
albert chin (china@thewrittenword.com)

-- snip snip
--- build.py.orig	Tue Mar 25 19:04:09 2003
+++ build.py	Wed Mar 26 14:29:01 2003
@@ -1031,8 +1006,8 @@
     ffstr = string.replace(featfile,"\\","\\\\")
 
     f.write(
-"""#include <stdio.h>
-#include <Python.h>
+"""#include <Python.h>
+#include <stdio.h>
 #include <qglobal.h>
 #include <qapplication.h>
 

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic