[Numpy-svn] r5629 - trunk/numpy/core
numpy-svn at scipy.org
numpy-svn at scipy.org
Sun Aug 10 18:21:50 EDT 2008
Author: cdavid
Date: 2008-08-10 17:21:49 -0500 (Sun, 10 Aug 2008)
New Revision: 5629
Modified:
trunk/numpy/core/SConscript
Log:
Tweak error msg when python.h not compilable with scons.
Modified: trunk/numpy/core/SConscript
===================================================================
--- trunk/numpy/core/SConscript 2008-08-10 21:07:36 UTC (rev 5628)
+++ trunk/numpy/core/SConscript 2008-08-10 22:21:49 UTC (rev 5629)
@@ -45,10 +45,12 @@
if not config.CheckHeader("Python.h"):
errmsg = []
for line in config.GetLastError():
- errmsg.append("\t>> %s " % line)
- print """\ Error: Python.h header cannot be compiled (or cannot be found).
+ errmsg.append("%s " % line)
+ print """
+Error: Python.h header cannot be compiled (or cannot be found).
On linux, check that you have python-dev/python-devel packages. On windows,
-check that you have he platform SDK. You may also use unsupported cflags. Configuration error log says: \n%s""" % ''.join(errmsg)
+check that you have he platform SDK. You may also use unsupported cflags.
+Configuration error log says: \n\n%s""" % ''.join(errmsg)
Exit(-1)
def check_type(type, include = None):
More information about the Numpy-svn
mailing list